react-native-macos 0.0.0-78b696cee → 0.0.0-78fdad2f9

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 (529) hide show
  1. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +14 -1
  2. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +2 -0
  3. package/Libraries/Animated/AnimatedEvent.js +23 -4
  4. package/Libraries/Animated/AnimatedMock.js +52 -11
  5. package/Libraries/Animated/Easing.js +1 -3
  6. package/Libraries/Animated/NativeAnimatedHelper.js +2 -2
  7. package/Libraries/Animated/components/AnimatedImage.js +3 -3
  8. package/Libraries/Animated/components/AnimatedScrollView.js +3 -3
  9. package/Libraries/Animated/components/AnimatedText.js +3 -3
  10. package/Libraries/Animated/components/AnimatedView.js +1 -3
  11. package/Libraries/Animated/createAnimatedComponent.js +3 -34
  12. package/Libraries/BatchedBridge/MessageQueue.js +1 -1
  13. package/Libraries/Blob/RCTBlobManager.mm +1 -1
  14. package/Libraries/Blob/React-RCTBlob.podspec +2 -2
  15. package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +35 -1
  16. package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js +3 -0
  17. package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +2 -1
  18. package/Libraries/Components/Button.js +5 -7
  19. package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +3 -6
  20. package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +8 -9
  21. package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +10 -5
  22. package/Libraries/Components/Pressable/Pressable.js +2 -1
  23. package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +1 -1
  24. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +1 -0
  25. package/Libraries/Components/ScrollView/ScrollView.js +25 -20
  26. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +269 -252
  27. package/Libraries/Components/TextInput/InputAccessoryView.js +2 -1
  28. package/Libraries/Components/TextInput/TextInput.js +1 -6
  29. package/Libraries/Components/Touchable/Touchable.js +0 -14
  30. package/Libraries/Components/Touchable/TouchableBounce.js +2 -1
  31. package/Libraries/Components/Touchable/TouchableHighlight.js +2 -1
  32. package/Libraries/Components/Touchable/TouchableOpacity.js +2 -1
  33. package/Libraries/Components/View/ReactNativeViewViewConfig.js +0 -1
  34. package/Libraries/Components/View/View.js +1 -1
  35. package/Libraries/Components/View/ViewAccessibility.js +1 -1
  36. package/Libraries/Core/ExceptionsManager.js +45 -80
  37. package/Libraries/Core/ExtendedError.js +0 -1
  38. package/Libraries/Core/ReactNativeVersion.js +1 -1
  39. package/Libraries/Core/setUpBatchedBridge.js +1 -1
  40. package/Libraries/Core/setUpGlobals.js +2 -4
  41. package/Libraries/Core/setUpTimers.js +2 -2
  42. package/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js +0 -1
  43. package/Libraries/Image/Image.android.js +5 -6
  44. package/Libraries/Image/Image.ios.js +11 -8
  45. package/Libraries/Image/ImageBackground.js +12 -9
  46. package/Libraries/Image/ImageProps.js +28 -0
  47. package/Libraries/Image/RCTAnimatedImage.m +1 -1
  48. package/Libraries/Image/RCTImageCache.m +2 -2
  49. package/Libraries/Image/RCTImageView.mm +5 -1
  50. package/Libraries/Image/RCTUIImageViewAnimated.m +1 -1
  51. package/Libraries/Image/React-RCTImage.podspec +2 -2
  52. package/Libraries/Inspector/ElementProperties.js +4 -2
  53. package/Libraries/Inspector/InspectorOverlay.js +2 -1
  54. package/Libraries/Inspector/InspectorPanel.js +2 -1
  55. package/Libraries/Inspector/NetworkOverlay.js +6 -3
  56. package/Libraries/LinkingIOS/React-RCTLinking.podspec +2 -2
  57. package/Libraries/Lists/FillRateHelper.js +4 -1
  58. package/Libraries/Lists/VirtualizedList.js +12 -7
  59. package/Libraries/Lists/VirtualizedListContext.js +2 -1
  60. package/Libraries/LogBox/Data/LogBoxData.js +0 -1
  61. package/Libraries/LogBox/UI/LogBoxButton.js +4 -2
  62. package/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png +0 -0
  63. package/Libraries/LogBox/UI/LogBoxImages/chevron-left.png +0 -0
  64. package/Libraries/LogBox/UI/LogBoxImages/chevron-right.png +0 -0
  65. package/Libraries/LogBox/UI/LogBoxImages/close.png +0 -0
  66. package/Libraries/LogBox/UI/LogBoxImages/loader.png +0 -0
  67. package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +4 -2
  68. package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +2 -1
  69. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +2 -1
  70. package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +6 -3
  71. package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +2 -1
  72. package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +4 -2
  73. package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +4 -2
  74. package/Libraries/LogBox/UI/LogBoxNotification.js +4 -2
  75. package/Libraries/Modal/Modal.js +4 -2
  76. package/Libraries/NativeAnimation/Nodes/RCTPropsAnimatedNode.m +0 -3
  77. package/Libraries/NativeAnimation/RCTNativeAnimatedModule.mm +6 -3
  78. package/Libraries/NativeAnimation/RCTNativeAnimatedTurboModule.h +1 -2
  79. package/Libraries/NativeAnimation/RCTNativeAnimatedTurboModule.mm +6 -1
  80. package/Libraries/NativeAnimation/React-RCTAnimation.podspec +2 -2
  81. package/Libraries/NativeComponent/NativeComponentRegistry.js +30 -10
  82. package/Libraries/NativeComponent/StaticViewConfigValidator.js +110 -0
  83. package/Libraries/Network/React-RCTNetwork.podspec +2 -2
  84. package/Libraries/Network/XMLHttpRequest.js +43 -6
  85. package/Libraries/NewAppScreen/components/Header.js +4 -2
  86. package/Libraries/NewAppScreen/components/HermesBadge.js +2 -1
  87. package/Libraries/NewAppScreen/components/LearnMoreLinks.js +4 -2
  88. package/Libraries/NewAppScreen/components/logo.png +0 -0
  89. package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +7 -1
  90. package/Libraries/PermissionsAndroid/PermissionsAndroid.js +12 -0
  91. package/Libraries/Pressability/Pressability.js +13 -13
  92. package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +1 -1
  93. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +1 -2
  94. package/Libraries/PushNotificationIOS/React-RCTPushNotification.podspec +2 -2
  95. package/Libraries/RCTTest/RNTester-macOSUITests/RNTester_macOSUITests.m +1 -1
  96. package/Libraries/ReactNative/AppContainer.js +4 -2
  97. package/Libraries/ReactNative/AppRegistry.js +4 -2
  98. package/Libraries/ReactNative/getNativeComponentAttributes.js +11 -1
  99. package/Libraries/ReactNative/renderApplication.js +2 -1
  100. package/Libraries/Renderer/REVISION +1 -1
  101. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +1569 -875
  102. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +529 -319
  103. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +570 -362
  104. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +1592 -891
  105. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +521 -311
  106. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +562 -354
  107. package/Libraries/Settings/React-RCTSettings.podspec +2 -2
  108. package/Libraries/Share/Share.js +1 -1
  109. package/Libraries/Storage/AsyncStorage.js +0 -1
  110. package/Libraries/StyleSheet/normalizeColor.js +2 -2
  111. package/Libraries/Text/Text.js +6 -9
  112. package/Libraries/Text/TextInput/Multiline/RCTUITextView.m +8 -6
  113. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +4 -14
  114. package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.m +11 -15
  115. package/Libraries/Text/TextNativeComponent.js +0 -2
  116. package/Libraries/Text/TextProps.js +1 -7
  117. package/Libraries/TurboModule/TurboModuleRegistry.js +1 -1
  118. package/Libraries/Utilities/HMRClient.js +1 -1
  119. package/Libraries/Utilities/ReactNativeTestTools.js +1 -4
  120. package/Libraries/Utilities/SceneTracker.js +4 -1
  121. package/Libraries/Vibration/React-RCTVibration.podspec +2 -2
  122. package/Libraries/WebSocket/RCTSRWebSocket.m +23 -0
  123. package/React/Base/RCTBridge+Private.h +8 -0
  124. package/React/Base/RCTBridge.h +4 -0
  125. package/React/Base/RCTBridge.m +19 -7
  126. package/React/Base/RCTBridgeModule.h +2 -11
  127. package/React/Base/RCTBundleURLProvider.h +1 -1
  128. package/React/Base/RCTBundleURLProvider.mm +5 -3
  129. package/React/Base/RCTConstants.h +0 -6
  130. package/React/Base/RCTConstants.m +0 -15
  131. package/React/Base/RCTConvert.h +1 -1
  132. package/React/Base/RCTConvert.m +2 -2
  133. package/React/Base/RCTDefines.h +12 -3
  134. package/React/Base/RCTEventDispatcherProtocol.h +2 -0
  135. package/React/Base/RCTJSThread.h +29 -0
  136. package/React/Base/RCTJSThread.m +19 -0
  137. package/React/Base/RCTRootView.h +15 -0
  138. package/React/Base/RCTRootView.m +15 -0
  139. package/React/Base/RCTTouchHandler.m +1 -8
  140. package/React/Base/RCTUtils.h +3 -0
  141. package/React/Base/RCTUtils.m +14 -7
  142. package/React/Base/RCTVersion.m +1 -1
  143. package/React/Base/Surface/RCTSurface.mm +2 -4
  144. package/React/Base/Surface/RCTSurfaceProtocol.h +2 -3
  145. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.h +11 -0
  146. package/React/Base/Surface/SurfaceHostingView/RCTSurfaceHostingProxyRootView.mm +35 -1
  147. package/React/Base/macOS/RCTPlatformDisplayLink.m +1 -1
  148. package/React/CoreModules/RCTAccessibilityManager+Internal.h +24 -0
  149. package/React/CoreModules/RCTAccessibilityManager.mm +18 -3
  150. package/React/CoreModules/RCTActionSheetManager.mm +14 -5
  151. package/React/CoreModules/RCTAlertManager.mm +1 -1
  152. package/React/CoreModules/RCTAppearance.mm +6 -7
  153. package/React/CoreModules/RCTDevLoadingView.mm +5 -10
  154. package/React/CoreModules/RCTDevMenu.mm +9 -9
  155. package/React/CoreModules/RCTDevSettings.mm +6 -6
  156. package/React/CoreModules/RCTDevSplitBundleLoader.mm +1 -1
  157. package/React/CoreModules/RCTDeviceInfo.mm +4 -4
  158. package/React/CoreModules/RCTEventDispatcher.mm +5 -0
  159. package/React/CoreModules/RCTExceptionsManager.mm +11 -24
  160. package/React/CoreModules/RCTLogBox.mm +1 -3
  161. package/React/CoreModules/RCTLogBoxView.h +2 -0
  162. package/React/CoreModules/RCTLogBoxView.mm +5 -0
  163. package/React/CoreModules/RCTPerfMonitor.mm +9 -4
  164. package/React/CoreModules/RCTRedBox.mm +1 -5
  165. package/React/CoreModules/React-CoreModules.podspec +2 -2
  166. package/React/CxxBridge/RCTCxxBridge.mm +18 -1
  167. package/React/DevSupport/RCTPackagerConnection.h +3 -0
  168. package/React/DevSupport/RCTPackagerConnection.mm +9 -5
  169. package/React/FBReactNativeSpec/FBReactNativeSpec.podspec +11 -4
  170. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryContentView.mm +6 -15
  171. package/React/Fabric/Mounting/ComponentViews/Modal/RCTModalHostViewComponentView.mm +0 -3
  172. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTEnhancedScrollView.mm +4 -6
  173. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTPullToRefreshViewComponentView.mm +1 -1
  174. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +27 -13
  175. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +3 -4
  176. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm +2 -5
  177. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.h +6 -0
  178. package/React/Fabric/Mounting/ComponentViews/View/RCTViewComponentView.mm +4 -6
  179. package/React/Fabric/Mounting/RCTComponentViewFactory.mm +2 -2
  180. package/React/Fabric/Mounting/RCTMountingManager.mm +16 -2
  181. package/React/Fabric/RCTScheduler.mm +12 -5
  182. package/React/Fabric/RCTSurfacePresenter.mm +2 -6
  183. package/React/Fabric/RCTSurfaceTouchHandler.mm +6 -20
  184. package/React/Fabric/Surface/RCTFabricSurface.h +9 -24
  185. package/React/Fabric/Surface/RCTFabricSurface.mm +6 -10
  186. package/React/Modules/RCTUIManager.m +19 -10
  187. package/React/React-RCTFabric.podspec +1 -2
  188. package/React/Tests/Text/RCTParagraphComponentViewTests.mm +7 -7
  189. package/React/Views/RCTFont.mm +58 -47
  190. package/React/Views/RCTView.m +4 -9
  191. package/React/Views/RCTViewManager.m +4 -3
  192. package/React/Views/SafeAreaView/RCTSafeAreaView.m +1 -5
  193. package/React/Views/ScrollView/RCTScrollView.m +11 -26
  194. package/React/Views/ScrollView/RCTScrollViewManager.m +2 -7
  195. package/React/Views/UIView+React.m +7 -10
  196. package/React-Core.podspec +0 -1
  197. package/ReactAndroid/Android-prebuilt.mk +9 -0
  198. package/ReactAndroid/build.gradle +79 -231
  199. package/ReactAndroid/gradle.properties +1 -1
  200. package/ReactAndroid/src/androidTest/java/com/facebook/react/testing/rule/ReactNativeTestRule.java +2 -1
  201. package/ReactAndroid/src/androidTest/java/com/facebook/react/tests/BUCK +0 -1
  202. package/ReactAndroid/src/androidTest/js/AnimatedTransformTestModule.js +2 -1
  203. package/ReactAndroid/src/androidTest/js/JSResponderTestApp.js +2 -1
  204. package/ReactAndroid/src/androidTest/js/LayoutEventsTestApp.js +2 -1
  205. package/ReactAndroid/src/androidTest/js/ScrollViewTestModule.js +2 -1
  206. package/ReactAndroid/src/androidTest/js/SubviewsClippingTestModule.js +14 -7
  207. package/ReactAndroid/src/androidTest/js/SwipeRefreshLayoutTestModule.js +2 -1
  208. package/ReactAndroid/src/androidTest/js/TestBundle.js +0 -7
  209. package/ReactAndroid/src/androidTest/js/TextInputTestModule.js +2 -1
  210. package/ReactAndroid/src/androidTest/js/TouchBubblingTestAppModule.js +6 -3
  211. package/ReactAndroid/src/androidTest/js/UIManagerTestModule.js +6 -3
  212. package/ReactAndroid/src/main/java/com/facebook/hermes/instrumentation/BUCK +2 -1
  213. package/ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/HermesExecutor.java +14 -8
  214. package/ReactAndroid/src/main/java/com/facebook/react/BUCK +0 -1
  215. package/ReactAndroid/src/main/java/com/facebook/react/HeadlessJsTaskService.java +1 -1
  216. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceEventListener.java +23 -0
  217. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java +59 -28
  218. package/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManagerBuilder.java +38 -3
  219. package/ReactAndroid/src/main/java/com/facebook/react/ReactNativeHost.java +25 -0
  220. package/ReactAndroid/src/main/java/com/facebook/react/ReactRootView.java +24 -3
  221. package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstance.java +2 -0
  222. package/ReactAndroid/src/main/java/com/facebook/react/bridge/CatalystInstanceImpl.java +13 -2
  223. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactContext.java +1 -0
  224. package/ReactAndroid/src/main/java/com/facebook/react/bridge/ReactCxxErrorHandler.java +39 -0
  225. package/ReactAndroid/src/main/java/com/facebook/react/bridge/RuntimeScheduler.java +21 -0
  226. package/ReactAndroid/src/main/java/com/facebook/react/common/BUCK +2 -2
  227. package/ReactAndroid/src/main/java/com/facebook/react/common/SurfaceDelegate.java +40 -0
  228. package/ReactAndroid/src/main/java/com/facebook/react/common/SurfaceDelegateFactory.java +24 -0
  229. package/ReactAndroid/src/main/java/com/facebook/react/common/mapbuffer/jni/BUCK +0 -6
  230. package/ReactAndroid/src/main/java/com/facebook/react/config/ReactFeatureFlags.java +19 -0
  231. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/BUCK +1 -0
  232. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/BridgeDevSupportManager.java +5 -2
  233. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DefaultDevSupportManagerFactory.java +102 -0
  234. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerBase.java +35 -11
  235. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DevSupportManagerFactory.java +5 -72
  236. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/DisabledDevSupportManager.java +12 -0
  237. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxDialogSurfaceDelegate.java +92 -0
  238. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/LogBoxModule.java +28 -42
  239. package/ReactAndroid/src/main/java/com/facebook/react/devsupport/interfaces/DevSupportManager.java +14 -0
  240. package/ReactAndroid/src/main/java/com/facebook/react/fabric/Binding.java +5 -4
  241. package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricJSIModuleProvider.java +3 -7
  242. package/ReactAndroid/src/main/java/com/facebook/react/fabric/FabricUIManager.java +54 -14
  243. package/ReactAndroid/src/main/java/com/facebook/react/fabric/events/EventEmitterWrapper.java +8 -3
  244. package/ReactAndroid/src/main/java/com/facebook/react/fabric/events/FabricEventEmitter.java +43 -9
  245. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Android.mk +2 -1
  246. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/AsyncEventBeatV2.cpp +69 -0
  247. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/AsyncEventBeatV2.h +40 -0
  248. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/BUCK +2 -6
  249. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Binding.cpp +84 -32
  250. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/Binding.h +4 -2
  251. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/EventEmitterWrapper.cpp +20 -2
  252. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/EventEmitterWrapper.h +2 -1
  253. package/ReactAndroid/src/main/java/com/facebook/react/fabric/jni/SurfaceHandlerBinding.cpp +3 -1
  254. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountItemDispatcher.java +9 -1
  255. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/MountingManager.java +11 -12
  256. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.java +22 -5
  257. package/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/mountitems/IntBufferBatchMountItem.java +6 -2
  258. package/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/BUCK +2 -1
  259. package/ReactAndroid/src/main/java/com/facebook/react/jscexecutor/JSCExecutor.java +6 -1
  260. package/ReactAndroid/src/main/java/com/facebook/react/modules/accessibilityinfo/AccessibilityInfoModule.java +41 -0
  261. package/ReactAndroid/src/main/java/com/facebook/react/modules/blob/jni/BUCK +0 -6
  262. package/ReactAndroid/src/main/java/com/facebook/react/modules/clipboard/BUCK +4 -1
  263. package/ReactAndroid/src/main/java/com/facebook/react/modules/clipboard/ClipboardModule.java +9 -8
  264. package/ReactAndroid/src/main/java/com/facebook/react/modules/core/ExceptionsManagerModule.java +7 -19
  265. package/ReactAndroid/src/main/java/com/facebook/react/modules/core/{JavaScriptTimerManager.java → JavaScriptTimerExecutor.java} +1 -1
  266. package/ReactAndroid/src/main/java/com/facebook/react/modules/core/JavaTimerManager.java +7 -7
  267. package/ReactAndroid/src/main/java/com/facebook/react/modules/core/TimingModule.java +2 -2
  268. package/ReactAndroid/src/main/java/com/facebook/react/modules/i18nmanager/I18nManagerModule.java +7 -1
  269. package/ReactAndroid/src/main/java/com/facebook/react/modules/intent/IntentModule.java +23 -19
  270. package/ReactAndroid/src/main/java/com/facebook/react/modules/network/ForwardingCookieHandler.java +1 -4
  271. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  272. package/ReactAndroid/src/main/java/com/facebook/react/packagerconnection/ReconnectingWebSocket.java +8 -8
  273. package/ReactAndroid/src/main/java/com/facebook/react/processing/ReactPropertyProcessor.java +1 -1
  274. package/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/jni/BUCK +0 -6
  275. package/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK +0 -1
  276. package/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java +0 -5
  277. package/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni/BUCK +0 -12
  278. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/JSTouchDispatcher.java +8 -27
  279. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/RootView.java +5 -1
  280. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/TouchTargetHelper.java +90 -10
  281. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/Event.java +38 -21
  282. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventCategoryDef.java +42 -0
  283. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/EventDispatcherImpl.java +7 -1
  284. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/LockFreeEventDispatcherImpl.java +2 -2
  285. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/NativeGestureUtil.java +1 -1
  286. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/RCTEventEmitter.java +7 -0
  287. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/RCTModernEventEmitter.java +2 -1
  288. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/ReactEventEmitter.java +17 -9
  289. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/TouchEvent.java +56 -16
  290. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/TouchEventType.java +15 -16
  291. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/events/TouchesHelper.java +109 -19
  292. package/ReactAndroid/src/main/java/com/facebook/react/uimanager/jni/BUCK +0 -6
  293. package/ReactAndroid/src/main/java/com/facebook/react/views/modal/ReactModalHostView.java +7 -2
  294. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollView.java +79 -4
  295. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactHorizontalScrollViewManager.java +5 -0
  296. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollView.java +97 -6
  297. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewHelper.java +21 -1
  298. package/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactScrollViewManager.java +5 -0
  299. package/ReactAndroid/src/main/java/com/facebook/react/views/switchview/ReactSwitch.java +22 -8
  300. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java +0 -4
  301. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextShadowNode.java +16 -0
  302. package/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextView.java +21 -1
  303. package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextAttributeProps.java +22 -6
  304. package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManager.java +25 -6
  305. package/ReactAndroid/src/main/java/com/facebook/react/views/text/TextLayoutManagerMapBuffer.java +25 -5
  306. package/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditTextInputConnectionWrapper.java +3 -0
  307. package/ReactAndroid/src/main/java/com/facebook/react/views/view/CanvasUtil.java +92 -0
  308. package/ReactAndroid/src/main/java/com/facebook/react/views/view/ReactViewGroup.java +19 -0
  309. package/ReactAndroid/src/main/jni/react/jni/Android.mk +4 -3
  310. package/ReactAndroid/src/main/jni/react/jni/BUCK +4 -5
  311. package/ReactAndroid/src/main/jni/react/jni/CatalystInstanceImpl.cpp +49 -7
  312. package/ReactAndroid/src/main/jni/react/jni/CatalystInstanceImpl.h +15 -2
  313. package/ReactAndroid/src/main/jni/react/jni/JReactCxxErrorHandler.cpp +18 -0
  314. package/ReactAndroid/src/main/jni/react/jni/JReactCxxErrorHandler.h +25 -0
  315. package/{ReactCommon/react/renderer/core/Constants.cpp → ReactAndroid/src/main/jni/react/jni/JRuntimeScheduler.cpp} +6 -8
  316. package/ReactAndroid/src/main/jni/react/jni/JRuntimeScheduler.h +30 -0
  317. package/ReactAndroid/src/main/jni/react/perftests/BUCK +0 -4
  318. package/ReactAndroid/src/main/third-party/android/androidx/BUCK +6 -6
  319. package/ReactAndroid/src/test/java/com/facebook/react/RootViewTest.java +43 -0
  320. package/ReactAndroid/src/test/java/com/facebook/react/modules/clipboard/ClipboardModuleTest.java +3 -1
  321. package/ReactCommon/React-Fabric.podspec +2 -10
  322. package/ReactCommon/React-rncore.podspec +41 -0
  323. package/ReactCommon/better/BUCK +0 -6
  324. package/ReactCommon/callinvoker/BUCK +2 -8
  325. package/ReactCommon/cxxreact/BUCK +1 -16
  326. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  327. package/ReactCommon/hermes/inspector/tools/msggen/package.json +7 -4
  328. package/ReactCommon/hermes/inspector/tools/msggen/yarn.lock +13 -10
  329. package/ReactCommon/jsi/BUCK +0 -9
  330. package/ReactCommon/jsinspector/BUCK +0 -5
  331. package/ReactCommon/logger/BUCK +0 -5
  332. package/ReactCommon/react/config/BUCK +2 -6
  333. package/ReactCommon/react/debug/BUCK +0 -6
  334. package/ReactCommon/react/nativemodule/core/BUCK +0 -5
  335. package/ReactCommon/react/nativemodule/core/platform/ios/RCTTurboModuleManager.mm +14 -31
  336. package/ReactCommon/react/nativemodule/samples/BUCK +0 -7
  337. package/ReactCommon/react/renderer/animations/BUCK +1 -4
  338. package/ReactCommon/react/renderer/animations/LayoutAnimationCallbackWrapper.h +34 -0
  339. package/ReactCommon/react/renderer/animations/LayoutAnimationDriver.cpp +5 -26
  340. package/ReactCommon/react/renderer/animations/LayoutAnimationDriver.h +8 -14
  341. package/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.cpp +912 -1147
  342. package/ReactCommon/react/renderer/animations/LayoutAnimationKeyFrameManager.h +80 -245
  343. package/ReactCommon/react/renderer/animations/conversions.h +212 -0
  344. package/ReactCommon/react/renderer/animations/primitives.h +104 -0
  345. package/ReactCommon/react/renderer/animations/tests/LayoutAnimationTest.cpp +3 -3
  346. package/ReactCommon/react/renderer/animations/utils.cpp +71 -0
  347. package/ReactCommon/react/renderer/animations/utils.h +80 -0
  348. package/ReactCommon/react/renderer/attributedstring/AttributedString.h +0 -1
  349. package/ReactCommon/react/renderer/attributedstring/BUCK +0 -6
  350. package/ReactCommon/react/renderer/attributedstring/ParagraphAttributes.cpp +7 -3
  351. package/ReactCommon/react/renderer/attributedstring/ParagraphAttributes.h +12 -2
  352. package/ReactCommon/react/renderer/attributedstring/TextAttributes.cpp +6 -15
  353. package/ReactCommon/react/renderer/attributedstring/TextAttributes.h +3 -5
  354. package/ReactCommon/react/renderer/attributedstring/conversions.h +87 -92
  355. package/ReactCommon/react/renderer/attributedstring/primitives.h +21 -19
  356. package/ReactCommon/react/renderer/componentregistry/BUCK +0 -6
  357. package/ReactCommon/react/renderer/componentregistry/native/BUCK +0 -6
  358. package/ReactCommon/react/renderer/components/image/BUCK +0 -6
  359. package/ReactCommon/react/renderer/components/image/ImageComponentDescriptor.h +0 -2
  360. package/ReactCommon/react/renderer/components/inputaccessory/BUCK +0 -6
  361. package/ReactCommon/react/renderer/components/inputaccessory/InputAccessoryComponentDescriptor.h +0 -4
  362. package/ReactCommon/react/renderer/components/legacyviewmanagerinterop/BUCK +0 -6
  363. package/ReactCommon/react/renderer/components/modal/BUCK +0 -6
  364. package/ReactCommon/react/renderer/components/modal/ModalHostViewComponentDescriptor.h +0 -5
  365. package/ReactCommon/react/renderer/components/progressbar/BUCK +0 -6
  366. package/ReactCommon/react/renderer/components/progressbar/android/react/renderer/components/progressbar/AndroidProgressBarComponentDescriptor.h +0 -3
  367. package/ReactCommon/react/renderer/components/root/BUCK +0 -6
  368. package/ReactCommon/react/renderer/components/safeareaview/BUCK +0 -6
  369. package/ReactCommon/react/renderer/components/scrollview/BUCK +0 -6
  370. package/ReactCommon/react/renderer/components/slider/BUCK +0 -6
  371. package/ReactCommon/react/renderer/components/slider/SliderComponentDescriptor.h +0 -3
  372. package/ReactCommon/react/renderer/components/switch/BUCK +0 -6
  373. package/ReactCommon/react/renderer/components/switch/androidswitch/react/renderer/components/androidswitch/AndroidSwitchComponentDescriptor.h +0 -3
  374. package/ReactCommon/react/renderer/components/text/BUCK +0 -6
  375. package/ReactCommon/react/renderer/components/text/BaseTextProps.cpp +4 -10
  376. package/ReactCommon/react/renderer/components/text/ParagraphComponentDescriptor.h +1 -20
  377. package/ReactCommon/react/renderer/components/textinput/BUCK +0 -6
  378. package/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputComponentDescriptor.h +0 -3
  379. package/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/AndroidTextInputProps.h +2 -0
  380. package/ReactCommon/react/renderer/components/textinput/iostextinput/BUCK +0 -6
  381. package/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputComponentDescriptor.h +0 -3
  382. package/ReactCommon/react/renderer/components/unimplementedview/BUCK +0 -6
  383. package/ReactCommon/react/renderer/components/unimplementedview/UnimplementedViewComponentDescriptor.cpp +0 -4
  384. package/ReactCommon/react/renderer/components/view/Android.mk +1 -1
  385. package/ReactCommon/react/renderer/components/view/BUCK +2 -6
  386. package/ReactCommon/react/renderer/components/view/Touch.h +1 -32
  387. package/ReactCommon/react/renderer/components/view/ViewComponentDescriptor.h +0 -23
  388. package/ReactCommon/react/renderer/components/view/ViewPropsInterpolation.h +2 -3
  389. package/ReactCommon/react/renderer/components/view/ViewShadowNode.cpp +3 -3
  390. package/ReactCommon/react/renderer/components/view/ViewShadowNode.h +1 -1
  391. package/ReactCommon/react/renderer/components/view/accessibilityPropsConversions.h +4 -0
  392. package/ReactCommon/react/renderer/core/BUCK +2 -6
  393. package/ReactCommon/react/renderer/core/ConcreteComponentDescriptor.h +14 -9
  394. package/ReactCommon/react/renderer/core/ConcreteShadowNode.h +1 -10
  395. package/ReactCommon/react/renderer/core/EventEmitter.cpp +9 -4
  396. package/ReactCommon/react/renderer/core/EventEmitter.h +2 -1
  397. package/ReactCommon/react/renderer/core/LayoutableShadowNode.cpp +13 -23
  398. package/ReactCommon/react/renderer/core/LayoutableShadowNode.h +2 -2
  399. package/ReactCommon/react/renderer/core/Props.h +1 -0
  400. package/ReactCommon/react/renderer/core/PropsParserContext.h +3 -2
  401. package/ReactCommon/react/renderer/core/RawEvent.h +7 -5
  402. package/ReactCommon/react/renderer/core/RawPropsKey.cpp +10 -2
  403. package/ReactCommon/react/renderer/core/ReactPrimitives.h +0 -2
  404. package/ReactCommon/react/renderer/core/ShadowNode.cpp +7 -10
  405. package/ReactCommon/react/renderer/core/ShadowNodeFamily.h +1 -0
  406. package/ReactCommon/react/renderer/debug/BUCK +2 -6
  407. package/ReactCommon/react/renderer/element/BUCK +0 -6
  408. package/ReactCommon/react/renderer/graphics/Android.mk +1 -1
  409. package/ReactCommon/react/renderer/graphics/BUCK +0 -6
  410. package/ReactCommon/react/renderer/graphics/React-graphics.podspec +0 -1
  411. package/ReactCommon/react/renderer/graphics/Transform.cpp +1 -1
  412. package/ReactCommon/react/renderer/graphics/Transform.h +1 -1
  413. package/ReactCommon/react/renderer/graphics/platform/ios/RCTPlatformColorUtils.mm +8 -10
  414. package/ReactCommon/react/renderer/imagemanager/BUCK +0 -6
  415. package/ReactCommon/react/renderer/leakchecker/BUCK +0 -6
  416. package/ReactCommon/react/renderer/mapbuffer/BUCK +0 -6
  417. package/ReactCommon/react/renderer/mounting/Android.mk +2 -1
  418. package/ReactCommon/react/renderer/mounting/BUCK +0 -6
  419. package/ReactCommon/react/renderer/mounting/MountingOverrideDelegate.h +1 -1
  420. package/ReactCommon/react/renderer/mounting/ShadowViewMutation.cpp +12 -0
  421. package/ReactCommon/react/renderer/mounting/ShadowViewMutation.h +10 -1
  422. package/ReactCommon/react/renderer/runtimescheduler/Android.mk +2 -1
  423. package/ReactCommon/react/renderer/runtimescheduler/BUCK +1 -7
  424. package/ReactCommon/react/renderer/runtimescheduler/ErrorUtils.h +36 -0
  425. package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.cpp +28 -20
  426. package/ReactCommon/react/renderer/runtimescheduler/RuntimeScheduler.h +4 -2
  427. package/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerBinding.cpp +4 -3
  428. package/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerBinding.h +4 -2
  429. package/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerCallInvoker.cpp +32 -0
  430. package/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerCallInvoker.h +36 -0
  431. package/ReactCommon/react/renderer/runtimescheduler/RuntimeSchedulerClock.h +4 -2
  432. package/ReactCommon/react/renderer/runtimescheduler/SchedulerPriority.h +4 -3
  433. package/ReactCommon/react/renderer/runtimescheduler/Task.cpp +4 -2
  434. package/ReactCommon/react/renderer/runtimescheduler/Task.h +4 -2
  435. package/ReactCommon/react/renderer/runtimescheduler/primitives.h +4 -2
  436. package/ReactCommon/react/renderer/runtimescheduler/tests/RuntimeSchedulerTest.cpp +26 -1
  437. package/ReactCommon/react/renderer/runtimescheduler/tests/StubErrorUtils.h +72 -0
  438. package/ReactCommon/react/renderer/scheduler/BUCK +0 -6
  439. package/ReactCommon/react/renderer/scheduler/Scheduler.cpp +1 -4
  440. package/ReactCommon/react/renderer/scheduler/Scheduler.h +1 -1
  441. package/ReactCommon/react/renderer/scheduler/SurfaceHandler.h +4 -4
  442. package/ReactCommon/react/renderer/telemetry/BUCK +0 -6
  443. package/ReactCommon/react/renderer/templateprocessor/BUCK +0 -6
  444. package/ReactCommon/react/renderer/textlayoutmanager/BUCK +0 -6
  445. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTAttributedTextUtils.h +2 -0
  446. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTAttributedTextUtils.mm +23 -5
  447. package/ReactCommon/react/renderer/textlayoutmanager/platform/ios/RCTTextPrimitivesConversions.h +10 -35
  448. package/ReactCommon/react/renderer/timeline/BUCK +6 -12
  449. package/ReactCommon/react/renderer/uimanager/BUCK +0 -6
  450. package/ReactCommon/react/renderer/uimanager/UIManagerAnimationDelegate.h +1 -1
  451. package/ReactCommon/react/renderer/uimanager/UIManagerBinding.cpp +2 -2
  452. package/ReactCommon/react/renderer/uimanager/UIManagerBinding.h +1 -1
  453. package/ReactCommon/react/test_utils/BUCK +3 -6
  454. package/ReactCommon/react/{renderer/core/Constants.h → test_utils/MockSurfaceHandler.h} +9 -7
  455. package/ReactCommon/react/utils/BUCK +0 -6
  456. package/ReactCommon/react/utils/ContextContainer.h +0 -27
  457. package/ReactCommon/reactperflogger/BUCK +0 -4
  458. package/ReactCommon/runtimeexecutor/BUCK +0 -6
  459. package/ReactCommon/yoga/BUCK +1 -5
  460. package/flow/global.js +41 -0
  461. package/flow-typed/npm/glob_v7.x.x.js +79 -0
  462. package/index.js +41 -26
  463. package/jest/mockModal.js +31 -0
  464. package/jest/setup.js +6 -3
  465. package/package.json +32 -10
  466. package/react.gradle +72 -25
  467. package/scripts/compose-source-maps.js +14 -10
  468. package/scripts/find-node.sh +13 -0
  469. package/scripts/generate-specs-cli.js +62 -10
  470. package/scripts/ios-configure-glog.sh +4 -0
  471. package/scripts/react-native-xcode.sh +6 -6
  472. package/scripts/react_native_pods.rb +297 -56
  473. package/scripts/update-ruby.sh +69 -0
  474. package/template/App.js +8 -4
  475. package/template/Gemfile +6 -0
  476. package/template/Gemfile.lock +100 -0
  477. package/template/_bundle/config +2 -0
  478. package/template/_flowconfig +1 -1
  479. package/template/_prettierrc.js +2 -2
  480. package/template/_ruby-version +1 -0
  481. package/template/android/app/build.gradle +11 -10
  482. package/template/android/app/src/debug/java/com/helloworld/ReactNativeFlipper.java +2 -1
  483. package/template/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -0
  484. package/template/android/app/src/main/res/values/styles.xml +1 -0
  485. package/template/android/build.gradle +7 -3
  486. package/template/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  487. package/template/android/gradle.properties +1 -1
  488. package/template/ios/HelloWorld.xcodeproj/project.pbxproj +0 -4
  489. package/template/package.json +1 -1
  490. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  491. package/third-party-podspecs/glog.podspec +0 -1
  492. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +0 -87
  493. package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +0 -30
  494. package/Libraries/Components/DatePickerAndroid/DatePickerAndroidTypes.js +0 -30
  495. package/Libraries/Components/StaticContainer.react.js +0 -51
  496. package/Libraries/Components/Touchable/__mocks__/ensureComponentIsNative.js +0 -12
  497. package/Libraries/Components/Touchable/ensurePositiveDelayProps.js +0 -25
  498. package/Libraries/Interaction/InteractionMixin.js +0 -54
  499. package/Libraries/ReactNative/queryLayoutByID.js +0 -58
  500. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec-generated.mm +0 -2126
  501. package/React/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +0 -2682
  502. package/ReactAndroid/src/androidTest/java/com/facebook/react/tests/DatePickerDialogTestCase.java +0 -172
  503. package/ReactAndroid/src/androidTest/js/DatePickerDialogTestModule.js +0 -45
  504. package/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/BUCK +0 -27
  505. package/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DatePickerDialogFragment.java +0 -137
  506. package/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DatePickerDialogModule.java +0 -153
  507. package/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DatePickerMode.java +0 -15
  508. package/ReactAndroid/src/main/java/com/facebook/react/modules/datepicker/DismissableDatePickerDialog.java +0 -117
  509. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/BUCK +0 -20
  510. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/RuntimeSchedulerManager.java +0 -39
  511. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/jni/Android.mk +0 -34
  512. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/jni/BUCK +0 -35
  513. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/jni/OnLoad.cpp +0 -15
  514. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/jni/RuntimeSchedulerManager.cpp +0 -46
  515. package/ReactAndroid/src/main/java/com/facebook/react/runtimescheduler/jni/RuntimeSchedulerManager.h +0 -40
  516. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/AndroidViewPagerManagerDelegate.java +0 -57
  517. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/AndroidViewPagerManagerInterface.java +0 -23
  518. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/BUCK +0 -19
  519. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/DatePickerManagerDelegate.java +0 -62
  520. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/DatePickerManagerInterface.java +0 -25
  521. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/InputAccessoryViewManagerDelegate.java +0 -33
  522. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/InputAccessoryViewManagerInterface.java +0 -17
  523. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/PullToRefreshViewManagerDelegate.java +0 -51
  524. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/PullToRefreshViewManagerInterface.java +0 -21
  525. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/SwitchManagerDelegate.java +0 -63
  526. package/ReactAndroid/src/main/java/com/facebook/react/viewmanagers/SwitchManagerInterface.java +0 -24
  527. package/scripts/generate-specs.sh +0 -99
  528. package/template/_editorconfig +0 -3
  529. package/template/_gitattributes +0 -3
@@ -1,2126 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @generated by codegen project: GenerateModuleObjCpp
8
- *
9
- * We create an umbrella header (and corresponding implementation) here since
10
- * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
11
- * must have a single output. More files => more genrule()s => slower builds.
12
- */
13
-
14
- #import "FBReactNativeSpec.h"
15
-
16
-
17
- namespace facebook {
18
- namespace react {
19
-
20
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_isReduceMotionEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
21
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "isReduceMotionEnabled", @selector(isReduceMotionEnabled:), args, count);
22
- }
23
-
24
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_isTouchExplorationEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
25
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "isTouchExplorationEnabled", @selector(isTouchExplorationEnabled:), args, count);
26
- }
27
-
28
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_setAccessibilityFocus(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
29
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityFocus", @selector(setAccessibilityFocus:), args, count);
30
- }
31
-
32
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_announceForAccessibility(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
33
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "announceForAccessibility", @selector(announceForAccessibility:), args, count);
34
- }
35
-
36
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_getRecommendedTimeoutMillis(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
37
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getRecommendedTimeoutMillis", @selector(getRecommendedTimeoutMillis:onSuccess:), args, count);
38
- }
39
-
40
- NativeAccessibilityInfoSpecJSI::NativeAccessibilityInfoSpecJSI(const ObjCTurboModule::InitParams &params)
41
- : ObjCTurboModule(params) {
42
-
43
- methodMap_["isReduceMotionEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_isReduceMotionEnabled};
44
-
45
-
46
- methodMap_["isTouchExplorationEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_isTouchExplorationEnabled};
47
-
48
-
49
- methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_setAccessibilityFocus};
50
-
51
-
52
- methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_announceForAccessibility};
53
-
54
-
55
- methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoSpecJSI_getRecommendedTimeoutMillis};
56
-
57
- }
58
- } // namespace react
59
- } // namespace facebook
60
- @implementation RCTCxxConvert (NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers)
61
- + (RCTManagedPointer *)JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:(id)json
62
- {
63
- return facebook::react::managedPointer<JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers>(json);
64
- }
65
- @end
66
- namespace facebook {
67
- namespace react {
68
-
69
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentBoldTextState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
70
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentBoldTextState", @selector(getCurrentBoldTextState:onError:), args, count);
71
- }
72
-
73
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentGrayscaleState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
74
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentGrayscaleState", @selector(getCurrentGrayscaleState:onError:), args, count);
75
- }
76
-
77
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentHighContrastState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
78
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentHighContrastState", @selector(getCurrentHighContrastState:onError:), args, count);
79
- }
80
-
81
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentInvertColorsState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
82
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentInvertColorsState", @selector(getCurrentInvertColorsState:onError:), args, count);
83
- }
84
-
85
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceMotionState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
86
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentReduceMotionState", @selector(getCurrentReduceMotionState:onError:), args, count);
87
- }
88
-
89
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceTransparencyState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
90
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentReduceTransparencyState", @selector(getCurrentReduceTransparencyState:onError:), args, count);
91
- }
92
-
93
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentVoiceOverState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
94
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentVoiceOverState", @selector(getCurrentVoiceOverState:onError:), args, count);
95
- }
96
-
97
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityContentSizeMultipliers(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
98
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityContentSizeMultipliers", @selector(setAccessibilityContentSizeMultipliers:), args, count);
99
- }
100
-
101
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityFocus(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
102
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityFocus", @selector(setAccessibilityFocus:), args, count);
103
- }
104
-
105
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibility(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
106
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "announceForAccessibility", @selector(announceForAccessibility:), args, count);
107
- }
108
-
109
- NativeAccessibilityManagerSpecJSI::NativeAccessibilityManagerSpecJSI(const ObjCTurboModule::InitParams &params)
110
- : ObjCTurboModule(params) {
111
-
112
- methodMap_["getCurrentBoldTextState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentBoldTextState};
113
-
114
-
115
- methodMap_["getCurrentGrayscaleState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentGrayscaleState};
116
-
117
-
118
- methodMap_["getCurrentHighContrastState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentHighContrastState};
119
-
120
-
121
- methodMap_["getCurrentInvertColorsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentInvertColorsState};
122
-
123
-
124
- methodMap_["getCurrentReduceMotionState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceMotionState};
125
-
126
-
127
- methodMap_["getCurrentReduceTransparencyState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceTransparencyState};
128
-
129
-
130
- methodMap_["getCurrentVoiceOverState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentVoiceOverState};
131
-
132
-
133
- methodMap_["setAccessibilityContentSizeMultipliers"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityContentSizeMultipliers};
134
- setMethodArgConversionSelector(@"setAccessibilityContentSizeMultipliers", 0, @"JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:");
135
-
136
- methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityFocus};
137
-
138
-
139
- methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibility};
140
-
141
- }
142
- } // namespace react
143
- } // namespace facebook
144
- @implementation RCTCxxConvert (NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions)
145
- + (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:(id)json
146
- {
147
- return facebook::react::managedPointer<JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions>(json);
148
- }
149
- @end
150
- @implementation RCTCxxConvert (NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions)
151
- + (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:(id)json
152
- {
153
- return facebook::react::managedPointer<JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions>(json);
154
- }
155
- @end
156
- namespace facebook {
157
- namespace react {
158
-
159
- static facebook::jsi::Value __hostFunction_NativeActionSheetManagerSpecJSI_showActionSheetWithOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
160
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "showActionSheetWithOptions", @selector(showActionSheetWithOptions:callback:), args, count);
161
- }
162
-
163
- static facebook::jsi::Value __hostFunction_NativeActionSheetManagerSpecJSI_showShareActionSheetWithOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
164
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "showShareActionSheetWithOptions", @selector(showShareActionSheetWithOptions:failureCallback:successCallback:), args, count);
165
- }
166
-
167
- NativeActionSheetManagerSpecJSI::NativeActionSheetManagerSpecJSI(const ObjCTurboModule::InitParams &params)
168
- : ObjCTurboModule(params) {
169
-
170
- methodMap_["showActionSheetWithOptions"] = MethodMetadata {2, __hostFunction_NativeActionSheetManagerSpecJSI_showActionSheetWithOptions};
171
- setMethodArgConversionSelector(@"showActionSheetWithOptions", 0, @"JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:");
172
-
173
- methodMap_["showShareActionSheetWithOptions"] = MethodMetadata {3, __hostFunction_NativeActionSheetManagerSpecJSI_showShareActionSheetWithOptions};
174
- setMethodArgConversionSelector(@"showShareActionSheetWithOptions", 0, @"JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:");
175
- }
176
- } // namespace react
177
- } // namespace facebook
178
- @implementation RCTCxxConvert (NativeAlertManager_NativeArgs)
179
- + (RCTManagedPointer *)JS_NativeAlertManager_NativeArgs:(id)json
180
- {
181
- return facebook::react::managedPointer<JS::NativeAlertManager::NativeArgs>(json);
182
- }
183
- @end
184
- namespace facebook {
185
- namespace react {
186
-
187
- static facebook::jsi::Value __hostFunction_NativeAlertManagerSpecJSI_alertWithArgs(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
188
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "alertWithArgs", @selector(alertWithArgs:callback:), args, count);
189
- }
190
-
191
- NativeAlertManagerSpecJSI::NativeAlertManagerSpecJSI(const ObjCTurboModule::InitParams &params)
192
- : ObjCTurboModule(params) {
193
-
194
- methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerSpecJSI_alertWithArgs};
195
- setMethodArgConversionSelector(@"alertWithArgs", 0, @"JS_NativeAlertManager_NativeArgs:");
196
- }
197
- } // namespace react
198
- } // namespace facebook
199
- @implementation RCTCxxConvert (NativeAnimatedModule_EventMapping)
200
- + (RCTManagedPointer *)JS_NativeAnimatedModule_EventMapping:(id)json
201
- {
202
- return facebook::react::managedPointer<JS::NativeAnimatedModule::EventMapping>(json);
203
- }
204
- @end
205
- namespace facebook {
206
- namespace react {
207
-
208
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
209
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startOperationBatch", @selector(startOperationBatch), args, count);
210
- }
211
-
212
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_finishOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
213
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "finishOperationBatch", @selector(finishOperationBatch), args, count);
214
- }
215
-
216
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_createAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
217
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "createAnimatedNode", @selector(createAnimatedNode:config:), args, count);
218
- }
219
-
220
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_getValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
221
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getValue", @selector(getValue:saveValueCallback:), args, count);
222
- }
223
-
224
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
225
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startListeningToAnimatedNodeValue", @selector(startListeningToAnimatedNodeValue:), args, count);
226
- }
227
-
228
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_stopListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
229
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "stopListeningToAnimatedNodeValue", @selector(stopListeningToAnimatedNodeValue:), args, count);
230
- }
231
-
232
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
233
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodes", @selector(connectAnimatedNodes:childTag:), args, count);
234
- }
235
-
236
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
237
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodes", @selector(disconnectAnimatedNodes:childTag:), args, count);
238
- }
239
-
240
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startAnimatingNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
241
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startAnimatingNode", @selector(startAnimatingNode:nodeTag:config:endCallback:), args, count);
242
- }
243
-
244
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_stopAnimation(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
245
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "stopAnimation", @selector(stopAnimation:), args, count);
246
- }
247
-
248
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
249
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeValue", @selector(setAnimatedNodeValue:value:), args, count);
250
- }
251
-
252
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
253
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeOffset", @selector(setAnimatedNodeOffset:offset:), args, count);
254
- }
255
-
256
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_flattenAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
257
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "flattenAnimatedNodeOffset", @selector(flattenAnimatedNodeOffset:), args, count);
258
- }
259
-
260
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_extractAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
261
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "extractAnimatedNodeOffset", @selector(extractAnimatedNodeOffset:), args, count);
262
- }
263
-
264
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodeToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
265
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodeToView", @selector(connectAnimatedNodeToView:viewTag:), args, count);
266
- }
267
-
268
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodeFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
269
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodeFromView", @selector(disconnectAnimatedNodeFromView:viewTag:), args, count);
270
- }
271
-
272
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_restoreDefaultValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
273
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "restoreDefaultValues", @selector(restoreDefaultValues:), args, count);
274
- }
275
-
276
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_dropAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
277
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "dropAnimatedNode", @selector(dropAnimatedNode:), args, count);
278
- }
279
-
280
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_addAnimatedEventToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
281
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addAnimatedEventToView", @selector(addAnimatedEventToView:eventName:eventMapping:), args, count);
282
- }
283
-
284
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_removeAnimatedEventFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
285
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeAnimatedEventFromView", @selector(removeAnimatedEventFromView:eventName:animatedNodeTag:), args, count);
286
- }
287
-
288
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
289
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
290
- }
291
-
292
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
293
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
294
- }
295
-
296
- NativeAnimatedModuleSpecJSI::NativeAnimatedModuleSpecJSI(const ObjCTurboModule::InitParams &params)
297
- : ObjCTurboModule(params) {
298
-
299
- methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleSpecJSI_startOperationBatch};
300
-
301
-
302
- methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleSpecJSI_finishOperationBatch};
303
-
304
-
305
- methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_createAnimatedNode};
306
-
307
-
308
- methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_getValue};
309
-
310
-
311
- methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_startListeningToAnimatedNodeValue};
312
-
313
-
314
- methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_stopListeningToAnimatedNodeValue};
315
-
316
-
317
- methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodes};
318
-
319
-
320
- methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodes};
321
-
322
-
323
- methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedModuleSpecJSI_startAnimatingNode};
324
-
325
-
326
- methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_stopAnimation};
327
-
328
-
329
- methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeValue};
330
-
331
-
332
- methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeOffset};
333
-
334
-
335
- methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_flattenAnimatedNodeOffset};
336
-
337
-
338
- methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_extractAnimatedNodeOffset};
339
-
340
-
341
- methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodeToView};
342
-
343
-
344
- methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodeFromView};
345
-
346
-
347
- methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_restoreDefaultValues};
348
-
349
-
350
- methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_dropAnimatedNode};
351
-
352
-
353
- methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleSpecJSI_addAnimatedEventToView};
354
- setMethodArgConversionSelector(@"addAnimatedEventToView", 2, @"JS_NativeAnimatedModule_EventMapping:");
355
-
356
- methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleSpecJSI_removeAnimatedEventFromView};
357
-
358
-
359
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_addListener};
360
-
361
-
362
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_removeListeners};
363
-
364
- }
365
- } // namespace react
366
- } // namespace facebook
367
- @implementation RCTCxxConvert (NativeAnimatedTurboModule_EventMapping)
368
- + (RCTManagedPointer *)JS_NativeAnimatedTurboModule_EventMapping:(id)json
369
- {
370
- return facebook::react::managedPointer<JS::NativeAnimatedTurboModule::EventMapping>(json);
371
- }
372
- @end
373
- namespace facebook {
374
- namespace react {
375
-
376
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
377
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startOperationBatch", @selector(startOperationBatch), args, count);
378
- }
379
-
380
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_finishOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
381
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "finishOperationBatch", @selector(finishOperationBatch), args, count);
382
- }
383
-
384
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_createAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
385
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "createAnimatedNode", @selector(createAnimatedNode:config:), args, count);
386
- }
387
-
388
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_getValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
389
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getValue", @selector(getValue:saveValueCallback:), args, count);
390
- }
391
-
392
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
393
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startListeningToAnimatedNodeValue", @selector(startListeningToAnimatedNodeValue:), args, count);
394
- }
395
-
396
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
397
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "stopListeningToAnimatedNodeValue", @selector(stopListeningToAnimatedNodeValue:), args, count);
398
- }
399
-
400
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
401
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodes", @selector(connectAnimatedNodes:childTag:), args, count);
402
- }
403
-
404
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
405
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodes", @selector(disconnectAnimatedNodes:childTag:), args, count);
406
- }
407
-
408
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startAnimatingNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
409
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startAnimatingNode", @selector(startAnimatingNode:nodeTag:config:endCallback:), args, count);
410
- }
411
-
412
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopAnimation(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
413
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "stopAnimation", @selector(stopAnimation:), args, count);
414
- }
415
-
416
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
417
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeValue", @selector(setAnimatedNodeValue:value:), args, count);
418
- }
419
-
420
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
421
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeOffset", @selector(setAnimatedNodeOffset:offset:), args, count);
422
- }
423
-
424
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_flattenAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
425
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "flattenAnimatedNodeOffset", @selector(flattenAnimatedNodeOffset:), args, count);
426
- }
427
-
428
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_extractAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
429
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "extractAnimatedNodeOffset", @selector(extractAnimatedNodeOffset:), args, count);
430
- }
431
-
432
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodeToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
433
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodeToView", @selector(connectAnimatedNodeToView:viewTag:), args, count);
434
- }
435
-
436
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodeFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
437
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodeFromView", @selector(disconnectAnimatedNodeFromView:viewTag:), args, count);
438
- }
439
-
440
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_restoreDefaultValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
441
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "restoreDefaultValues", @selector(restoreDefaultValues:), args, count);
442
- }
443
-
444
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_dropAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
445
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "dropAnimatedNode", @selector(dropAnimatedNode:), args, count);
446
- }
447
-
448
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_addAnimatedEventToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
449
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addAnimatedEventToView", @selector(addAnimatedEventToView:eventName:eventMapping:), args, count);
450
- }
451
-
452
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeAnimatedEventFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
453
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeAnimatedEventFromView", @selector(removeAnimatedEventFromView:eventName:animatedNodeTag:), args, count);
454
- }
455
-
456
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
457
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
458
- }
459
-
460
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
461
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
462
- }
463
-
464
- NativeAnimatedTurboModuleSpecJSI::NativeAnimatedTurboModuleSpecJSI(const ObjCTurboModule::InitParams &params)
465
- : ObjCTurboModule(params) {
466
-
467
- methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startOperationBatch};
468
-
469
-
470
- methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleSpecJSI_finishOperationBatch};
471
-
472
-
473
- methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_createAnimatedNode};
474
-
475
-
476
- methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_getValue};
477
-
478
-
479
- methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startListeningToAnimatedNodeValue};
480
-
481
-
482
- methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopListeningToAnimatedNodeValue};
483
-
484
-
485
- methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodes};
486
-
487
-
488
- methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodes};
489
-
490
-
491
- methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startAnimatingNode};
492
-
493
-
494
- methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopAnimation};
495
-
496
-
497
- methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeValue};
498
-
499
-
500
- methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeOffset};
501
-
502
-
503
- methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_flattenAnimatedNodeOffset};
504
-
505
-
506
- methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_extractAnimatedNodeOffset};
507
-
508
-
509
- methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodeToView};
510
-
511
-
512
- methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodeFromView};
513
-
514
-
515
- methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_restoreDefaultValues};
516
-
517
-
518
- methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_dropAnimatedNode};
519
-
520
-
521
- methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleSpecJSI_addAnimatedEventToView};
522
- setMethodArgConversionSelector(@"addAnimatedEventToView", 2, @"JS_NativeAnimatedTurboModule_EventMapping:");
523
-
524
- methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeAnimatedEventFromView};
525
-
526
-
527
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_addListener};
528
-
529
-
530
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeListeners};
531
-
532
- }
533
- } // namespace react
534
- } // namespace facebook
535
-
536
- namespace facebook {
537
- namespace react {
538
-
539
- static facebook::jsi::Value __hostFunction_NativeAnimationsDebugModuleSpecJSI_startRecordingFps(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
540
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startRecordingFps", @selector(startRecordingFps), args, count);
541
- }
542
-
543
- static facebook::jsi::Value __hostFunction_NativeAnimationsDebugModuleSpecJSI_stopRecordingFps(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
544
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "stopRecordingFps", @selector(stopRecordingFps:), args, count);
545
- }
546
-
547
- NativeAnimationsDebugModuleSpecJSI::NativeAnimationsDebugModuleSpecJSI(const ObjCTurboModule::InitParams &params)
548
- : ObjCTurboModule(params) {
549
-
550
- methodMap_["startRecordingFps"] = MethodMetadata {0, __hostFunction_NativeAnimationsDebugModuleSpecJSI_startRecordingFps};
551
-
552
-
553
- methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleSpecJSI_stopRecordingFps};
554
-
555
- }
556
- } // namespace react
557
- } // namespace facebook
558
-
559
- namespace facebook {
560
- namespace react {
561
-
562
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_getCurrentAppState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
563
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentAppState", @selector(getCurrentAppState:error:), args, count);
564
- }
565
-
566
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
567
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
568
- }
569
-
570
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
571
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
572
- }
573
-
574
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
575
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
576
- }
577
-
578
- NativeAppStateSpecJSI::NativeAppStateSpecJSI(const ObjCTurboModule::InitParams &params)
579
- : ObjCTurboModule(params) {
580
-
581
- methodMap_["getCurrentAppState"] = MethodMetadata {2, __hostFunction_NativeAppStateSpecJSI_getCurrentAppState};
582
-
583
-
584
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppStateSpecJSI_addListener};
585
-
586
-
587
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateSpecJSI_removeListeners};
588
-
589
-
590
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppStateSpecJSI_getConstants};
591
-
592
- }
593
- } // namespace react
594
- } // namespace facebook
595
-
596
- namespace facebook {
597
- namespace react {
598
-
599
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_getColorScheme(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
600
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, StringKind, "getColorScheme", @selector(getColorScheme), args, count);
601
- }
602
-
603
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
604
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
605
- }
606
-
607
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
608
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
609
- }
610
-
611
- NativeAppearanceSpecJSI::NativeAppearanceSpecJSI(const ObjCTurboModule::InitParams &params)
612
- : ObjCTurboModule(params) {
613
-
614
- methodMap_["getColorScheme"] = MethodMetadata {0, __hostFunction_NativeAppearanceSpecJSI_getColorScheme};
615
-
616
-
617
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppearanceSpecJSI_addListener};
618
-
619
-
620
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceSpecJSI_removeListeners};
621
-
622
- }
623
- } // namespace react
624
- } // namespace facebook
625
-
626
- namespace facebook {
627
- namespace react {
628
-
629
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_multiGet(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
630
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiGet", @selector(multiGet:callback:), args, count);
631
- }
632
-
633
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_multiSet(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
634
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiSet", @selector(multiSet:callback:), args, count);
635
- }
636
-
637
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_multiMerge(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
638
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiMerge", @selector(multiMerge:callback:), args, count);
639
- }
640
-
641
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_multiRemove(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
642
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiRemove", @selector(multiRemove:callback:), args, count);
643
- }
644
-
645
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_clear(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
646
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "clear", @selector(clear:), args, count);
647
- }
648
-
649
- static facebook::jsi::Value __hostFunction_NativeAsyncLocalStorageSpecJSI_getAllKeys(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
650
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getAllKeys", @selector(getAllKeys:), args, count);
651
- }
652
-
653
- NativeAsyncLocalStorageSpecJSI::NativeAsyncLocalStorageSpecJSI(const ObjCTurboModule::InitParams &params)
654
- : ObjCTurboModule(params) {
655
-
656
- methodMap_["multiGet"] = MethodMetadata {2, __hostFunction_NativeAsyncLocalStorageSpecJSI_multiGet};
657
-
658
-
659
- methodMap_["multiSet"] = MethodMetadata {2, __hostFunction_NativeAsyncLocalStorageSpecJSI_multiSet};
660
-
661
-
662
- methodMap_["multiMerge"] = MethodMetadata {2, __hostFunction_NativeAsyncLocalStorageSpecJSI_multiMerge};
663
-
664
-
665
- methodMap_["multiRemove"] = MethodMetadata {2, __hostFunction_NativeAsyncLocalStorageSpecJSI_multiRemove};
666
-
667
-
668
- methodMap_["clear"] = MethodMetadata {1, __hostFunction_NativeAsyncLocalStorageSpecJSI_clear};
669
-
670
-
671
- methodMap_["getAllKeys"] = MethodMetadata {1, __hostFunction_NativeAsyncLocalStorageSpecJSI_getAllKeys};
672
-
673
- }
674
- } // namespace react
675
- } // namespace facebook
676
-
677
- namespace facebook {
678
- namespace react {
679
-
680
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiGet(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
681
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiGet", @selector(multiGet:callback:), args, count);
682
- }
683
-
684
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiSet(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
685
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiSet", @selector(multiSet:callback:), args, count);
686
- }
687
-
688
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiMerge(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
689
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiMerge", @selector(multiMerge:callback:), args, count);
690
- }
691
-
692
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiRemove(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
693
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "multiRemove", @selector(multiRemove:callback:), args, count);
694
- }
695
-
696
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_clear(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
697
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "clear", @selector(clear:), args, count);
698
- }
699
-
700
- static facebook::jsi::Value __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_getAllKeys(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
701
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getAllKeys", @selector(getAllKeys:), args, count);
702
- }
703
-
704
- NativeAsyncSQLiteDBStorageSpecJSI::NativeAsyncSQLiteDBStorageSpecJSI(const ObjCTurboModule::InitParams &params)
705
- : ObjCTurboModule(params) {
706
-
707
- methodMap_["multiGet"] = MethodMetadata {2, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiGet};
708
-
709
-
710
- methodMap_["multiSet"] = MethodMetadata {2, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiSet};
711
-
712
-
713
- methodMap_["multiMerge"] = MethodMetadata {2, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiMerge};
714
-
715
-
716
- methodMap_["multiRemove"] = MethodMetadata {2, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_multiRemove};
717
-
718
-
719
- methodMap_["clear"] = MethodMetadata {1, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_clear};
720
-
721
-
722
- methodMap_["getAllKeys"] = MethodMetadata {1, __hostFunction_NativeAsyncSQLiteDBStorageSpecJSI_getAllKeys};
723
-
724
- }
725
- } // namespace react
726
- } // namespace facebook
727
-
728
- namespace facebook {
729
- namespace react {
730
-
731
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_addNetworkingHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
732
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addNetworkingHandler", @selector(addNetworkingHandler), args, count);
733
- }
734
-
735
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_addWebSocketHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
736
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addWebSocketHandler", @selector(addWebSocketHandler:), args, count);
737
- }
738
-
739
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_removeWebSocketHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
740
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeWebSocketHandler", @selector(removeWebSocketHandler:), args, count);
741
- }
742
-
743
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_sendOverSocket(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
744
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "sendOverSocket", @selector(sendOverSocket:socketID:), args, count);
745
- }
746
-
747
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_createFromParts(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
748
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "createFromParts", @selector(createFromParts:withId:), args, count);
749
- }
750
-
751
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_release(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
752
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "release", @selector(release:), args, count);
753
- }
754
-
755
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
756
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
757
- }
758
-
759
- NativeBlobModuleSpecJSI::NativeBlobModuleSpecJSI(const ObjCTurboModule::InitParams &params)
760
- : ObjCTurboModule(params) {
761
-
762
- methodMap_["addNetworkingHandler"] = MethodMetadata {0, __hostFunction_NativeBlobModuleSpecJSI_addNetworkingHandler};
763
-
764
-
765
- methodMap_["addWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_addWebSocketHandler};
766
-
767
-
768
- methodMap_["removeWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_removeWebSocketHandler};
769
-
770
-
771
- methodMap_["sendOverSocket"] = MethodMetadata {2, __hostFunction_NativeBlobModuleSpecJSI_sendOverSocket};
772
-
773
-
774
- methodMap_["createFromParts"] = MethodMetadata {2, __hostFunction_NativeBlobModuleSpecJSI_createFromParts};
775
-
776
-
777
- methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_release};
778
-
779
-
780
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeBlobModuleSpecJSI_getConstants};
781
-
782
- }
783
- } // namespace react
784
- } // namespace facebook
785
-
786
- namespace facebook {
787
- namespace react {
788
-
789
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_startReportAProblemFlow(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
790
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "startReportAProblemFlow", @selector(startReportAProblemFlow), args, count);
791
- }
792
-
793
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_setExtraData(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
794
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setExtraData", @selector(setExtraData:extraFiles:), args, count);
795
- }
796
-
797
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_setCategoryID(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
798
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setCategoryID", @selector(setCategoryID:), args, count);
799
- }
800
-
801
- NativeBugReportingSpecJSI::NativeBugReportingSpecJSI(const ObjCTurboModule::InitParams &params)
802
- : ObjCTurboModule(params) {
803
-
804
- methodMap_["startReportAProblemFlow"] = MethodMetadata {0, __hostFunction_NativeBugReportingSpecJSI_startReportAProblemFlow};
805
-
806
-
807
- methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeBugReportingSpecJSI_setExtraData};
808
-
809
-
810
- methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingSpecJSI_setCategoryID};
811
-
812
- }
813
- } // namespace react
814
- } // namespace facebook
815
-
816
- namespace facebook {
817
- namespace react {
818
-
819
- static facebook::jsi::Value __hostFunction_NativeClipboardSpecJSI_getString(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
820
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "getString", @selector(getString:reject:), args, count);
821
- }
822
-
823
- static facebook::jsi::Value __hostFunction_NativeClipboardSpecJSI_setString(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
824
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setString", @selector(setString:), args, count);
825
- }
826
-
827
- NativeClipboardSpecJSI::NativeClipboardSpecJSI(const ObjCTurboModule::InitParams &params)
828
- : ObjCTurboModule(params) {
829
-
830
- methodMap_["getString"] = MethodMetadata {0, __hostFunction_NativeClipboardSpecJSI_getString};
831
-
832
-
833
- methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardSpecJSI_setString};
834
-
835
- }
836
- } // namespace react
837
- } // namespace facebook
838
-
839
- namespace facebook {
840
- namespace react {
841
-
842
- static facebook::jsi::Value __hostFunction_NativeDevLoadingViewSpecJSI_showMessage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
843
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "showMessage", @selector(showMessage:withColor:withBackgroundColor:), args, count);
844
- }
845
-
846
- static facebook::jsi::Value __hostFunction_NativeDevLoadingViewSpecJSI_hide(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
847
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "hide", @selector(hide), args, count);
848
- }
849
-
850
- NativeDevLoadingViewSpecJSI::NativeDevLoadingViewSpecJSI(const ObjCTurboModule::InitParams &params)
851
- : ObjCTurboModule(params) {
852
-
853
- methodMap_["showMessage"] = MethodMetadata {3, __hostFunction_NativeDevLoadingViewSpecJSI_showMessage};
854
-
855
-
856
- methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewSpecJSI_hide};
857
-
858
- }
859
- } // namespace react
860
- } // namespace facebook
861
-
862
- namespace facebook {
863
- namespace react {
864
-
865
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_show(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
866
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "show", @selector(show), args, count);
867
- }
868
-
869
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_reload(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
870
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reload", @selector(reload), args, count);
871
- }
872
-
873
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_debugRemotely(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
874
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "debugRemotely", @selector(debugRemotely:), args, count);
875
- }
876
-
877
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_setProfilingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
878
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setProfilingEnabled", @selector(setProfilingEnabled:), args, count);
879
- }
880
-
881
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_setHotLoadingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
882
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setHotLoadingEnabled", @selector(setHotLoadingEnabled:), args, count);
883
- }
884
-
885
- NativeDevMenuSpecJSI::NativeDevMenuSpecJSI(const ObjCTurboModule::InitParams &params)
886
- : ObjCTurboModule(params) {
887
-
888
- methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeDevMenuSpecJSI_show};
889
-
890
-
891
- methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevMenuSpecJSI_reload};
892
-
893
-
894
- methodMap_["debugRemotely"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_debugRemotely};
895
-
896
-
897
- methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_setProfilingEnabled};
898
-
899
-
900
- methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_setHotLoadingEnabled};
901
-
902
- }
903
- } // namespace react
904
- } // namespace facebook
905
-
906
- namespace facebook {
907
- namespace react {
908
-
909
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_reload(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
910
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reload", @selector(reload), args, count);
911
- }
912
-
913
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_reloadWithReason(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
914
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reloadWithReason", @selector(reloadWithReason:), args, count);
915
- }
916
-
917
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_onFastRefresh(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
918
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "onFastRefresh", @selector(onFastRefresh), args, count);
919
- }
920
-
921
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setHotLoadingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
922
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setHotLoadingEnabled", @selector(setHotLoadingEnabled:), args, count);
923
- }
924
-
925
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setIsDebuggingRemotely(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
926
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setIsDebuggingRemotely", @selector(setIsDebuggingRemotely:), args, count);
927
- }
928
-
929
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setProfilingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
930
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setProfilingEnabled", @selector(setProfilingEnabled:), args, count);
931
- }
932
-
933
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_toggleElementInspector(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
934
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "toggleElementInspector", @selector(toggleElementInspector), args, count);
935
- }
936
-
937
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_addMenuItem(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
938
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addMenuItem", @selector(addMenuItem:), args, count);
939
- }
940
-
941
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
942
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
943
- }
944
-
945
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
946
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
947
- }
948
-
949
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setIsShakeToShowDevMenuEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
950
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setIsShakeToShowDevMenuEnabled", @selector(setIsShakeToShowDevMenuEnabled:), args, count);
951
- }
952
-
953
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setIsSecondaryClickToShowDevMenuEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
954
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setIsSecondaryClickToShowDevMenuEnabled", @selector(setIsSecondaryClickToShowDevMenuEnabled:), args, count);
955
- }
956
-
957
- NativeDevSettingsSpecJSI::NativeDevSettingsSpecJSI(const ObjCTurboModule::InitParams &params)
958
- : ObjCTurboModule(params) {
959
-
960
- methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_reload};
961
-
962
-
963
- methodMap_["reloadWithReason"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_reloadWithReason};
964
-
965
-
966
- methodMap_["onFastRefresh"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_onFastRefresh};
967
-
968
-
969
- methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setHotLoadingEnabled};
970
-
971
-
972
- methodMap_["setIsDebuggingRemotely"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setIsDebuggingRemotely};
973
-
974
-
975
- methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setProfilingEnabled};
976
-
977
-
978
- methodMap_["toggleElementInspector"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_toggleElementInspector};
979
-
980
-
981
- methodMap_["addMenuItem"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_addMenuItem};
982
-
983
-
984
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_addListener};
985
-
986
-
987
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_removeListeners};
988
-
989
-
990
- methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setIsShakeToShowDevMenuEnabled};
991
-
992
-
993
- methodMap_["setIsSecondaryClickToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setIsSecondaryClickToShowDevMenuEnabled};
994
-
995
- }
996
- } // namespace react
997
- } // namespace facebook
998
-
999
- namespace facebook {
1000
- namespace react {
1001
-
1002
- static facebook::jsi::Value __hostFunction_NativeDevSplitBundleLoaderSpecJSI_loadBundle(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1003
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "loadBundle", @selector(loadBundle:resolve:reject:), args, count);
1004
- }
1005
-
1006
- NativeDevSplitBundleLoaderSpecJSI::NativeDevSplitBundleLoaderSpecJSI(const ObjCTurboModule::InitParams &params)
1007
- : ObjCTurboModule(params) {
1008
-
1009
- methodMap_["loadBundle"] = MethodMetadata {1, __hostFunction_NativeDevSplitBundleLoaderSpecJSI_loadBundle};
1010
-
1011
- }
1012
- } // namespace react
1013
- } // namespace facebook
1014
-
1015
- namespace facebook {
1016
- namespace react {
1017
-
1018
- static facebook::jsi::Value __hostFunction_NativeDeviceEventManagerSpecJSI_invokeDefaultBackPressHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1019
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "invokeDefaultBackPressHandler", @selector(invokeDefaultBackPressHandler), args, count);
1020
- }
1021
-
1022
- NativeDeviceEventManagerSpecJSI::NativeDeviceEventManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1023
- : ObjCTurboModule(params) {
1024
-
1025
- methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerSpecJSI_invokeDefaultBackPressHandler};
1026
-
1027
- }
1028
- } // namespace react
1029
- } // namespace facebook
1030
-
1031
- namespace facebook {
1032
- namespace react {
1033
-
1034
- static facebook::jsi::Value __hostFunction_NativeDeviceInfoSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1035
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1036
- }
1037
-
1038
- NativeDeviceInfoSpecJSI::NativeDeviceInfoSpecJSI(const ObjCTurboModule::InitParams &params)
1039
- : ObjCTurboModule(params) {
1040
-
1041
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoSpecJSI_getConstants};
1042
-
1043
- }
1044
- } // namespace react
1045
- } // namespace facebook
1046
- @implementation RCTCxxConvert (NativeExceptionsManager_StackFrame)
1047
- + (RCTManagedPointer *)JS_NativeExceptionsManager_StackFrame:(id)json
1048
- {
1049
- return facebook::react::managedPointer<JS::NativeExceptionsManager::StackFrame>(json);
1050
- }
1051
- @end
1052
- @implementation RCTCxxConvert (NativeExceptionsManager_ExceptionData)
1053
- + (RCTManagedPointer *)JS_NativeExceptionsManager_ExceptionData:(id)json
1054
- {
1055
- return facebook::react::managedPointer<JS::NativeExceptionsManager::ExceptionData>(json);
1056
- }
1057
- @end
1058
- namespace facebook {
1059
- namespace react {
1060
-
1061
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportFatalException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1062
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reportFatalException", @selector(reportFatalException:stack:exceptionId:), args, count);
1063
- }
1064
-
1065
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportSoftException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1066
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reportSoftException", @selector(reportSoftException:stack:exceptionId:), args, count);
1067
- }
1068
-
1069
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1070
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "reportException", @selector(reportException:), args, count);
1071
- }
1072
-
1073
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_updateExceptionMessage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1074
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "updateExceptionMessage", @selector(updateExceptionMessage:stack:exceptionId:), args, count);
1075
- }
1076
-
1077
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_dismissRedbox(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1078
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "dismissRedbox", @selector(dismissRedbox), args, count);
1079
- }
1080
-
1081
- NativeExceptionsManagerSpecJSI::NativeExceptionsManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1082
- : ObjCTurboModule(params) {
1083
-
1084
- methodMap_["reportFatalException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_reportFatalException};
1085
-
1086
-
1087
- methodMap_["reportSoftException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_reportSoftException};
1088
-
1089
-
1090
- methodMap_["reportException"] = MethodMetadata {1, __hostFunction_NativeExceptionsManagerSpecJSI_reportException};
1091
- setMethodArgConversionSelector(@"reportException", 0, @"JS_NativeExceptionsManager_ExceptionData:");
1092
-
1093
- methodMap_["updateExceptionMessage"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_updateExceptionMessage};
1094
-
1095
-
1096
- methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerSpecJSI_dismissRedbox};
1097
-
1098
- }
1099
- } // namespace react
1100
- } // namespace facebook
1101
-
1102
- namespace facebook {
1103
- namespace react {
1104
-
1105
- static facebook::jsi::Value __hostFunction_NativeFileReaderModuleSpecJSI_readAsDataURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1106
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "readAsDataURL", @selector(readAsDataURL:resolve:reject:), args, count);
1107
- }
1108
-
1109
- static facebook::jsi::Value __hostFunction_NativeFileReaderModuleSpecJSI_readAsText(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1110
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "readAsText", @selector(readAsText:encoding:resolve:reject:), args, count);
1111
- }
1112
-
1113
- NativeFileReaderModuleSpecJSI::NativeFileReaderModuleSpecJSI(const ObjCTurboModule::InitParams &params)
1114
- : ObjCTurboModule(params) {
1115
-
1116
- methodMap_["readAsDataURL"] = MethodMetadata {1, __hostFunction_NativeFileReaderModuleSpecJSI_readAsDataURL};
1117
-
1118
-
1119
- methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleSpecJSI_readAsText};
1120
-
1121
- }
1122
- } // namespace react
1123
- } // namespace facebook
1124
- @implementation RCTCxxConvert (NativeFrameRateLogger_SpecSetGlobalOptionsOptions)
1125
- + (RCTManagedPointer *)JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:(id)json
1126
- {
1127
- return facebook::react::managedPointer<JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions>(json);
1128
- }
1129
- @end
1130
- namespace facebook {
1131
- namespace react {
1132
-
1133
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_setGlobalOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1134
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setGlobalOptions", @selector(setGlobalOptions:), args, count);
1135
- }
1136
-
1137
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_setContext(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1138
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setContext", @selector(setContext:), args, count);
1139
- }
1140
-
1141
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_beginScroll(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1142
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "beginScroll", @selector(beginScroll), args, count);
1143
- }
1144
-
1145
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_endScroll(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1146
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "endScroll", @selector(endScroll), args, count);
1147
- }
1148
-
1149
- NativeFrameRateLoggerSpecJSI::NativeFrameRateLoggerSpecJSI(const ObjCTurboModule::InitParams &params)
1150
- : ObjCTurboModule(params) {
1151
-
1152
- methodMap_["setGlobalOptions"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerSpecJSI_setGlobalOptions};
1153
- setMethodArgConversionSelector(@"setGlobalOptions", 0, @"JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:");
1154
-
1155
- methodMap_["setContext"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerSpecJSI_setContext};
1156
-
1157
-
1158
- methodMap_["beginScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerSpecJSI_beginScroll};
1159
-
1160
-
1161
- methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerSpecJSI_endScroll};
1162
-
1163
- }
1164
- } // namespace react
1165
- } // namespace facebook
1166
-
1167
- namespace facebook {
1168
- namespace react {
1169
-
1170
- static facebook::jsi::Value __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskFinished(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1171
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "notifyTaskFinished", @selector(notifyTaskFinished:), args, count);
1172
- }
1173
-
1174
- static facebook::jsi::Value __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskRetry(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1175
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "notifyTaskRetry", @selector(notifyTaskRetry:resolve:reject:), args, count);
1176
- }
1177
-
1178
- NativeHeadlessJsTaskSupportSpecJSI::NativeHeadlessJsTaskSupportSpecJSI(const ObjCTurboModule::InitParams &params)
1179
- : ObjCTurboModule(params) {
1180
-
1181
- methodMap_["notifyTaskFinished"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskFinished};
1182
-
1183
-
1184
- methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskRetry};
1185
-
1186
- }
1187
- } // namespace react
1188
- } // namespace facebook
1189
-
1190
- namespace facebook {
1191
- namespace react {
1192
-
1193
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_allowRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1194
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "allowRTL", @selector(allowRTL:), args, count);
1195
- }
1196
-
1197
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_forceRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1198
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "forceRTL", @selector(forceRTL:), args, count);
1199
- }
1200
-
1201
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_swapLeftAndRightInRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1202
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "swapLeftAndRightInRTL", @selector(swapLeftAndRightInRTL:), args, count);
1203
- }
1204
-
1205
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1206
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1207
- }
1208
-
1209
- NativeI18nManagerSpecJSI::NativeI18nManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1210
- : ObjCTurboModule(params) {
1211
-
1212
- methodMap_["allowRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_allowRTL};
1213
-
1214
-
1215
- methodMap_["forceRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_forceRTL};
1216
-
1217
-
1218
- methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_swapLeftAndRightInRTL};
1219
-
1220
-
1221
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeI18nManagerSpecJSI_getConstants};
1222
-
1223
- }
1224
- } // namespace react
1225
- } // namespace facebook
1226
- @implementation RCTCxxConvert (NativeImageEditor_OptionsOffset)
1227
- + (RCTManagedPointer *)JS_NativeImageEditor_OptionsOffset:(id)json
1228
- {
1229
- return facebook::react::managedPointer<JS::NativeImageEditor::OptionsOffset>(json);
1230
- }
1231
- @end
1232
- @implementation RCTCxxConvert (NativeImageEditor_OptionsSize)
1233
- + (RCTManagedPointer *)JS_NativeImageEditor_OptionsSize:(id)json
1234
- {
1235
- return facebook::react::managedPointer<JS::NativeImageEditor::OptionsSize>(json);
1236
- }
1237
- @end
1238
- @implementation RCTCxxConvert (NativeImageEditor_OptionsDisplaySize)
1239
- + (RCTManagedPointer *)JS_NativeImageEditor_OptionsDisplaySize:(id)json
1240
- {
1241
- return facebook::react::managedPointer<JS::NativeImageEditor::OptionsDisplaySize>(json);
1242
- }
1243
- @end
1244
- @implementation RCTCxxConvert (NativeImageEditor_Options)
1245
- + (RCTManagedPointer *)JS_NativeImageEditor_Options:(id)json
1246
- {
1247
- return facebook::react::managedPointer<JS::NativeImageEditor::Options>(json);
1248
- }
1249
- @end
1250
- namespace facebook {
1251
- namespace react {
1252
-
1253
- static facebook::jsi::Value __hostFunction_NativeImageEditorSpecJSI_cropImage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1254
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "cropImage", @selector(cropImage:cropData:successCallback:errorCallback:), args, count);
1255
- }
1256
-
1257
- NativeImageEditorSpecJSI::NativeImageEditorSpecJSI(const ObjCTurboModule::InitParams &params)
1258
- : ObjCTurboModule(params) {
1259
-
1260
- methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorSpecJSI_cropImage};
1261
- setMethodArgConversionSelector(@"cropImage", 1, @"JS_NativeImageEditor_Options:");
1262
- }
1263
- } // namespace react
1264
- } // namespace facebook
1265
-
1266
- namespace facebook {
1267
- namespace react {
1268
-
1269
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_getSize(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1270
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "getSize", @selector(getSize:resolve:reject:), args, count);
1271
- }
1272
-
1273
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_getSizeWithHeaders(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1274
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "getSizeWithHeaders", @selector(getSizeWithHeaders:headers:resolve:reject:), args, count);
1275
- }
1276
-
1277
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1278
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "prefetchImage", @selector(prefetchImage:resolve:reject:), args, count);
1279
- }
1280
-
1281
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImageWithMetadata(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1282
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "prefetchImageWithMetadata", @selector(prefetchImageWithMetadata:queryRootName:rootTag:resolve:reject:), args, count);
1283
- }
1284
-
1285
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_queryCache(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1286
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "queryCache", @selector(queryCache:resolve:reject:), args, count);
1287
- }
1288
-
1289
- NativeImageLoaderIOSSpecJSI::NativeImageLoaderIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1290
- : ObjCTurboModule(params) {
1291
-
1292
- methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_getSize};
1293
-
1294
-
1295
- methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderIOSSpecJSI_getSizeWithHeaders};
1296
-
1297
-
1298
- methodMap_["prefetchImage"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImage};
1299
-
1300
-
1301
- methodMap_["prefetchImageWithMetadata"] = MethodMetadata {3, __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImageWithMetadata};
1302
-
1303
-
1304
- methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_queryCache};
1305
-
1306
- }
1307
- } // namespace react
1308
- } // namespace facebook
1309
- @implementation RCTCxxConvert (NativeImagePickerIOS_SpecOpenCameraDialogConfig)
1310
- + (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenCameraDialogConfig:(id)json
1311
- {
1312
- return facebook::react::managedPointer<JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig>(json);
1313
- }
1314
- @end
1315
- @implementation RCTCxxConvert (NativeImagePickerIOS_SpecOpenSelectDialogConfig)
1316
- + (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenSelectDialogConfig:(id)json
1317
- {
1318
- return facebook::react::managedPointer<JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig>(json);
1319
- }
1320
- @end
1321
- namespace facebook {
1322
- namespace react {
1323
-
1324
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_canRecordVideos(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1325
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "canRecordVideos", @selector(canRecordVideos:), args, count);
1326
- }
1327
-
1328
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_canUseCamera(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1329
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "canUseCamera", @selector(canUseCamera:), args, count);
1330
- }
1331
-
1332
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_openCameraDialog(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1333
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "openCameraDialog", @selector(openCameraDialog:successCallback:cancelCallback:), args, count);
1334
- }
1335
-
1336
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_openSelectDialog(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1337
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "openSelectDialog", @selector(openSelectDialog:successCallback:cancelCallback:), args, count);
1338
- }
1339
-
1340
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_clearAllPendingVideos(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1341
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "clearAllPendingVideos", @selector(clearAllPendingVideos), args, count);
1342
- }
1343
-
1344
- static facebook::jsi::Value __hostFunction_NativeImagePickerIOSSpecJSI_removePendingVideo(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1345
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removePendingVideo", @selector(removePendingVideo:), args, count);
1346
- }
1347
-
1348
- NativeImagePickerIOSSpecJSI::NativeImagePickerIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1349
- : ObjCTurboModule(params) {
1350
-
1351
- methodMap_["canRecordVideos"] = MethodMetadata {1, __hostFunction_NativeImagePickerIOSSpecJSI_canRecordVideos};
1352
-
1353
-
1354
- methodMap_["canUseCamera"] = MethodMetadata {1, __hostFunction_NativeImagePickerIOSSpecJSI_canUseCamera};
1355
-
1356
-
1357
- methodMap_["openCameraDialog"] = MethodMetadata {3, __hostFunction_NativeImagePickerIOSSpecJSI_openCameraDialog};
1358
- setMethodArgConversionSelector(@"openCameraDialog", 0, @"JS_NativeImagePickerIOS_SpecOpenCameraDialogConfig:");
1359
-
1360
- methodMap_["openSelectDialog"] = MethodMetadata {3, __hostFunction_NativeImagePickerIOSSpecJSI_openSelectDialog};
1361
- setMethodArgConversionSelector(@"openSelectDialog", 0, @"JS_NativeImagePickerIOS_SpecOpenSelectDialogConfig:");
1362
-
1363
- methodMap_["clearAllPendingVideos"] = MethodMetadata {0, __hostFunction_NativeImagePickerIOSSpecJSI_clearAllPendingVideos};
1364
-
1365
-
1366
- methodMap_["removePendingVideo"] = MethodMetadata {1, __hostFunction_NativeImagePickerIOSSpecJSI_removePendingVideo};
1367
-
1368
- }
1369
- } // namespace react
1370
- } // namespace facebook
1371
-
1372
- namespace facebook {
1373
- namespace react {
1374
-
1375
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_getBase64ForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1376
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getBase64ForTag", @selector(getBase64ForTag:successCallback:errorCallback:), args, count);
1377
- }
1378
-
1379
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_hasImageForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1380
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "hasImageForTag", @selector(hasImageForTag:callback:), args, count);
1381
- }
1382
-
1383
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_removeImageForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1384
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeImageForTag", @selector(removeImageForTag:), args, count);
1385
- }
1386
-
1387
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_addImageFromBase64(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1388
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addImageFromBase64", @selector(addImageFromBase64:successCallback:errorCallback:), args, count);
1389
- }
1390
-
1391
- NativeImageStoreIOSSpecJSI::NativeImageStoreIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1392
- : ObjCTurboModule(params) {
1393
-
1394
- methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSSpecJSI_getBase64ForTag};
1395
-
1396
-
1397
- methodMap_["hasImageForTag"] = MethodMetadata {2, __hostFunction_NativeImageStoreIOSSpecJSI_hasImageForTag};
1398
-
1399
-
1400
- methodMap_["removeImageForTag"] = MethodMetadata {1, __hostFunction_NativeImageStoreIOSSpecJSI_removeImageForTag};
1401
-
1402
-
1403
- methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSSpecJSI_addImageFromBase64};
1404
-
1405
- }
1406
- } // namespace react
1407
- } // namespace facebook
1408
-
1409
- namespace facebook {
1410
- namespace react {
1411
-
1412
- static facebook::jsi::Value __hostFunction_NativeJSCHeapCaptureSpecJSI_captureComplete(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1413
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "captureComplete", @selector(captureComplete:error:), args, count);
1414
- }
1415
-
1416
- NativeJSCHeapCaptureSpecJSI::NativeJSCHeapCaptureSpecJSI(const ObjCTurboModule::InitParams &params)
1417
- : ObjCTurboModule(params) {
1418
-
1419
- methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureSpecJSI_captureComplete};
1420
-
1421
- }
1422
- } // namespace react
1423
- } // namespace facebook
1424
-
1425
- namespace facebook {
1426
- namespace react {
1427
-
1428
- static facebook::jsi::Value __hostFunction_NativeJSCSamplingProfilerSpecJSI_operationComplete(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1429
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "operationComplete", @selector(operationComplete:result:error:), args, count);
1430
- }
1431
-
1432
- NativeJSCSamplingProfilerSpecJSI::NativeJSCSamplingProfilerSpecJSI(const ObjCTurboModule::InitParams &params)
1433
- : ObjCTurboModule(params) {
1434
-
1435
- methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerSpecJSI_operationComplete};
1436
-
1437
- }
1438
- } // namespace react
1439
- } // namespace facebook
1440
-
1441
- namespace facebook {
1442
- namespace react {
1443
-
1444
- static facebook::jsi::Value __hostFunction_NativeJSDevSupportSpecJSI_onSuccess(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1445
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "onSuccess", @selector(onSuccess:), args, count);
1446
- }
1447
-
1448
- static facebook::jsi::Value __hostFunction_NativeJSDevSupportSpecJSI_onFailure(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1449
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "onFailure", @selector(onFailure:error:), args, count);
1450
- }
1451
-
1452
- static facebook::jsi::Value __hostFunction_NativeJSDevSupportSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1453
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1454
- }
1455
-
1456
- NativeJSDevSupportSpecJSI::NativeJSDevSupportSpecJSI(const ObjCTurboModule::InitParams &params)
1457
- : ObjCTurboModule(params) {
1458
-
1459
- methodMap_["onSuccess"] = MethodMetadata {1, __hostFunction_NativeJSDevSupportSpecJSI_onSuccess};
1460
-
1461
-
1462
- methodMap_["onFailure"] = MethodMetadata {2, __hostFunction_NativeJSDevSupportSpecJSI_onFailure};
1463
-
1464
-
1465
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeJSDevSupportSpecJSI_getConstants};
1466
-
1467
- }
1468
- } // namespace react
1469
- } // namespace facebook
1470
-
1471
- namespace facebook {
1472
- namespace react {
1473
-
1474
- static facebook::jsi::Value __hostFunction_NativeKeyboardObserverSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1475
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1476
- }
1477
-
1478
- static facebook::jsi::Value __hostFunction_NativeKeyboardObserverSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1479
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1480
- }
1481
-
1482
- NativeKeyboardObserverSpecJSI::NativeKeyboardObserverSpecJSI(const ObjCTurboModule::InitParams &params)
1483
- : ObjCTurboModule(params) {
1484
-
1485
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverSpecJSI_addListener};
1486
-
1487
-
1488
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverSpecJSI_removeListeners};
1489
-
1490
- }
1491
- } // namespace react
1492
- } // namespace facebook
1493
-
1494
- namespace facebook {
1495
- namespace react {
1496
-
1497
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_getInitialURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1498
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "getInitialURL", @selector(getInitialURL:reject:), args, count);
1499
- }
1500
-
1501
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_canOpenURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1502
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "canOpenURL", @selector(canOpenURL:resolve:reject:), args, count);
1503
- }
1504
-
1505
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_openURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1506
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "openURL", @selector(openURL:resolve:reject:), args, count);
1507
- }
1508
-
1509
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_openSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1510
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "openSettings", @selector(openSettings:reject:), args, count);
1511
- }
1512
-
1513
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1514
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1515
- }
1516
-
1517
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1518
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1519
- }
1520
-
1521
- NativeLinkingManagerSpecJSI::NativeLinkingManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1522
- : ObjCTurboModule(params) {
1523
-
1524
- methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerSpecJSI_getInitialURL};
1525
-
1526
-
1527
- methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_canOpenURL};
1528
-
1529
-
1530
- methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_openURL};
1531
-
1532
-
1533
- methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerSpecJSI_openSettings};
1534
-
1535
-
1536
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_addListener};
1537
-
1538
-
1539
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_removeListeners};
1540
-
1541
- }
1542
- } // namespace react
1543
- } // namespace facebook
1544
-
1545
- namespace facebook {
1546
- namespace react {
1547
-
1548
- static facebook::jsi::Value __hostFunction_NativeLogBoxSpecJSI_show(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1549
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "show", @selector(show), args, count);
1550
- }
1551
-
1552
- static facebook::jsi::Value __hostFunction_NativeLogBoxSpecJSI_hide(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1553
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "hide", @selector(hide), args, count);
1554
- }
1555
-
1556
- NativeLogBoxSpecJSI::NativeLogBoxSpecJSI(const ObjCTurboModule::InitParams &params)
1557
- : ObjCTurboModule(params) {
1558
-
1559
- methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeLogBoxSpecJSI_show};
1560
-
1561
-
1562
- methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxSpecJSI_hide};
1563
-
1564
- }
1565
- } // namespace react
1566
- } // namespace facebook
1567
-
1568
- namespace facebook {
1569
- namespace react {
1570
-
1571
- static facebook::jsi::Value __hostFunction_NativeModalManagerSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1572
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1573
- }
1574
-
1575
- static facebook::jsi::Value __hostFunction_NativeModalManagerSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1576
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1577
- }
1578
-
1579
- NativeModalManagerSpecJSI::NativeModalManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1580
- : ObjCTurboModule(params) {
1581
-
1582
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeModalManagerSpecJSI_addListener};
1583
-
1584
-
1585
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerSpecJSI_removeListeners};
1586
-
1587
- }
1588
- } // namespace react
1589
- } // namespace facebook
1590
- @implementation RCTCxxConvert (NativeNetworkingIOS_SpecSendRequestQuery)
1591
- + (RCTManagedPointer *)JS_NativeNetworkingIOS_SpecSendRequestQuery:(id)json
1592
- {
1593
- return facebook::react::managedPointer<JS::NativeNetworkingIOS::SpecSendRequestQuery>(json);
1594
- }
1595
- @end
1596
- namespace facebook {
1597
- namespace react {
1598
-
1599
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_sendRequest(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1600
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "sendRequest", @selector(sendRequest:callback:), args, count);
1601
- }
1602
-
1603
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_abortRequest(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1604
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "abortRequest", @selector(abortRequest:), args, count);
1605
- }
1606
-
1607
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_clearCookies(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1608
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "clearCookies", @selector(clearCookies:), args, count);
1609
- }
1610
-
1611
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1612
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1613
- }
1614
-
1615
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1616
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1617
- }
1618
-
1619
- NativeNetworkingIOSSpecJSI::NativeNetworkingIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1620
- : ObjCTurboModule(params) {
1621
-
1622
- methodMap_["sendRequest"] = MethodMetadata {2, __hostFunction_NativeNetworkingIOSSpecJSI_sendRequest};
1623
- setMethodArgConversionSelector(@"sendRequest", 0, @"JS_NativeNetworkingIOS_SpecSendRequestQuery:");
1624
-
1625
- methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_abortRequest};
1626
-
1627
-
1628
- methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_clearCookies};
1629
-
1630
-
1631
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_addListener};
1632
-
1633
-
1634
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_removeListeners};
1635
-
1636
- }
1637
- } // namespace react
1638
- } // namespace facebook
1639
-
1640
- namespace facebook {
1641
- namespace react {
1642
-
1643
- static facebook::jsi::Value __hostFunction_NativePlatformConstantsIOSSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1644
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1645
- }
1646
-
1647
- NativePlatformConstantsIOSSpecJSI::NativePlatformConstantsIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1648
- : ObjCTurboModule(params) {
1649
-
1650
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSSpecJSI_getConstants};
1651
-
1652
- }
1653
- } // namespace react
1654
- } // namespace facebook
1655
-
1656
- namespace facebook {
1657
- namespace react {
1658
-
1659
- static facebook::jsi::Value __hostFunction_NativePlatformConstantsMacOSSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1660
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1661
- }
1662
-
1663
- NativePlatformConstantsMacOSSpecJSI::NativePlatformConstantsMacOSSpecJSI(const ObjCTurboModule::InitParams &params)
1664
- : ObjCTurboModule(params) {
1665
-
1666
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsMacOSSpecJSI_getConstants};
1667
-
1668
- }
1669
- } // namespace react
1670
- } // namespace facebook
1671
- @implementation RCTCxxConvert (NativePushNotificationManagerIOS_SpecRequestPermissionsPermission)
1672
- + (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_SpecRequestPermissionsPermission:(id)json
1673
- {
1674
- return facebook::react::managedPointer<JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission>(json);
1675
- }
1676
- @end
1677
- @implementation RCTCxxConvert (NativePushNotificationManagerIOS_Notification)
1678
- + (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_Notification:(id)json
1679
- {
1680
- return facebook::react::managedPointer<JS::NativePushNotificationManagerIOS::Notification>(json);
1681
- }
1682
- @end
1683
- namespace facebook {
1684
- namespace react {
1685
-
1686
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_onFinishRemoteNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1687
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "onFinishRemoteNotification", @selector(onFinishRemoteNotification:fetchResult:), args, count);
1688
- }
1689
-
1690
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_setApplicationIconBadgeNumber(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1691
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setApplicationIconBadgeNumber", @selector(setApplicationIconBadgeNumber:), args, count);
1692
- }
1693
-
1694
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getApplicationIconBadgeNumber(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1695
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getApplicationIconBadgeNumber", @selector(getApplicationIconBadgeNumber:), args, count);
1696
- }
1697
-
1698
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_requestPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1699
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "requestPermissions", @selector(requestPermissions:resolve:reject:), args, count);
1700
- }
1701
-
1702
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_abandonPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1703
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "abandonPermissions", @selector(abandonPermissions), args, count);
1704
- }
1705
-
1706
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_checkPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1707
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "checkPermissions", @selector(checkPermissions:), args, count);
1708
- }
1709
-
1710
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_presentLocalNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1711
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "presentLocalNotification", @selector(presentLocalNotification:), args, count);
1712
- }
1713
-
1714
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_scheduleLocalNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1715
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "scheduleLocalNotification", @selector(scheduleLocalNotification:), args, count);
1716
- }
1717
-
1718
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelAllLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1719
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "cancelAllLocalNotifications", @selector(cancelAllLocalNotifications), args, count);
1720
- }
1721
-
1722
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1723
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "cancelLocalNotifications", @selector(cancelLocalNotifications:), args, count);
1724
- }
1725
-
1726
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getInitialNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1727
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "getInitialNotification", @selector(getInitialNotification:reject:), args, count);
1728
- }
1729
-
1730
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getScheduledLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1731
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getScheduledLocalNotifications", @selector(getScheduledLocalNotifications:), args, count);
1732
- }
1733
-
1734
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeAllDeliveredNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1735
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeAllDeliveredNotifications", @selector(removeAllDeliveredNotifications), args, count);
1736
- }
1737
-
1738
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeDeliveredNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1739
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeDeliveredNotifications", @selector(removeDeliveredNotifications:), args, count);
1740
- }
1741
-
1742
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getDeliveredNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1743
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getDeliveredNotifications", @selector(getDeliveredNotifications:), args, count);
1744
- }
1745
-
1746
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getAuthorizationStatus(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1747
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getAuthorizationStatus", @selector(getAuthorizationStatus:), args, count);
1748
- }
1749
-
1750
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1751
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1752
- }
1753
-
1754
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1755
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1756
- }
1757
-
1758
- NativePushNotificationManagerIOSSpecJSI::NativePushNotificationManagerIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1759
- : ObjCTurboModule(params) {
1760
-
1761
- methodMap_["onFinishRemoteNotification"] = MethodMetadata {2, __hostFunction_NativePushNotificationManagerIOSSpecJSI_onFinishRemoteNotification};
1762
-
1763
-
1764
- methodMap_["setApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_setApplicationIconBadgeNumber};
1765
-
1766
-
1767
- methodMap_["getApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_getApplicationIconBadgeNumber};
1768
-
1769
-
1770
- methodMap_["requestPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_requestPermissions};
1771
- setMethodArgConversionSelector(@"requestPermissions", 0, @"JS_NativePushNotificationManagerIOS_SpecRequestPermissionsPermission:");
1772
-
1773
- methodMap_["abandonPermissions"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSSpecJSI_abandonPermissions};
1774
-
1775
-
1776
- methodMap_["checkPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_checkPermissions};
1777
-
1778
-
1779
- methodMap_["presentLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_presentLocalNotification};
1780
- setMethodArgConversionSelector(@"presentLocalNotification", 0, @"JS_NativePushNotificationManagerIOS_Notification:");
1781
-
1782
- methodMap_["scheduleLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_scheduleLocalNotification};
1783
- setMethodArgConversionSelector(@"scheduleLocalNotification", 0, @"JS_NativePushNotificationManagerIOS_Notification:");
1784
-
1785
- methodMap_["cancelAllLocalNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelAllLocalNotifications};
1786
-
1787
-
1788
- methodMap_["cancelLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelLocalNotifications};
1789
-
1790
-
1791
- methodMap_["getInitialNotification"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSSpecJSI_getInitialNotification};
1792
-
1793
-
1794
- methodMap_["getScheduledLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_getScheduledLocalNotifications};
1795
-
1796
-
1797
- methodMap_["removeAllDeliveredNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeAllDeliveredNotifications};
1798
-
1799
-
1800
- methodMap_["removeDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeDeliveredNotifications};
1801
-
1802
-
1803
- methodMap_["getDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_getDeliveredNotifications};
1804
-
1805
-
1806
- methodMap_["getAuthorizationStatus"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_getAuthorizationStatus};
1807
-
1808
-
1809
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_addListener};
1810
-
1811
-
1812
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeListeners};
1813
-
1814
- }
1815
- } // namespace react
1816
- } // namespace facebook
1817
-
1818
- namespace facebook {
1819
- namespace react {
1820
-
1821
- static facebook::jsi::Value __hostFunction_NativeRedBoxSpecJSI_setExtraData(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1822
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setExtraData", @selector(setExtraData:forIdentifier:), args, count);
1823
- }
1824
-
1825
- static facebook::jsi::Value __hostFunction_NativeRedBoxSpecJSI_dismiss(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1826
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "dismiss", @selector(dismiss), args, count);
1827
- }
1828
-
1829
- NativeRedBoxSpecJSI::NativeRedBoxSpecJSI(const ObjCTurboModule::InitParams &params)
1830
- : ObjCTurboModule(params) {
1831
-
1832
- methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeRedBoxSpecJSI_setExtraData};
1833
-
1834
-
1835
- methodMap_["dismiss"] = MethodMetadata {0, __hostFunction_NativeRedBoxSpecJSI_dismiss};
1836
-
1837
- }
1838
- } // namespace react
1839
- } // namespace facebook
1840
-
1841
- namespace facebook {
1842
- namespace react {
1843
-
1844
- static facebook::jsi::Value __hostFunction_NativeSegmentFetcherSpecJSI_fetchSegment(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1845
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "fetchSegment", @selector(fetchSegment:options:callback:), args, count);
1846
- }
1847
-
1848
- static facebook::jsi::Value __hostFunction_NativeSegmentFetcherSpecJSI_getSegment(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1849
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getSegment", @selector(getSegment:options:callback:), args, count);
1850
- }
1851
-
1852
- NativeSegmentFetcherSpecJSI::NativeSegmentFetcherSpecJSI(const ObjCTurboModule::InitParams &params)
1853
- : ObjCTurboModule(params) {
1854
-
1855
- methodMap_["fetchSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherSpecJSI_fetchSegment};
1856
-
1857
-
1858
- methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherSpecJSI_getSegment};
1859
-
1860
- }
1861
- } // namespace react
1862
- } // namespace facebook
1863
-
1864
- namespace facebook {
1865
- namespace react {
1866
-
1867
- static facebook::jsi::Value __hostFunction_NativeSettingsManagerSpecJSI_setValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1868
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setValues", @selector(setValues:), args, count);
1869
- }
1870
-
1871
- static facebook::jsi::Value __hostFunction_NativeSettingsManagerSpecJSI_deleteValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1872
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "deleteValues", @selector(deleteValues:), args, count);
1873
- }
1874
-
1875
- static facebook::jsi::Value __hostFunction_NativeSettingsManagerSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1876
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1877
- }
1878
-
1879
- NativeSettingsManagerSpecJSI::NativeSettingsManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1880
- : ObjCTurboModule(params) {
1881
-
1882
- methodMap_["setValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerSpecJSI_setValues};
1883
-
1884
-
1885
- methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerSpecJSI_deleteValues};
1886
-
1887
-
1888
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSettingsManagerSpecJSI_getConstants};
1889
-
1890
- }
1891
- } // namespace react
1892
- } // namespace facebook
1893
- @implementation RCTCxxConvert (NativeShareModule_SpecShareContent)
1894
- + (RCTManagedPointer *)JS_NativeShareModule_SpecShareContent:(id)json
1895
- {
1896
- return facebook::react::managedPointer<JS::NativeShareModule::SpecShareContent>(json);
1897
- }
1898
- @end
1899
- namespace facebook {
1900
- namespace react {
1901
-
1902
- static facebook::jsi::Value __hostFunction_NativeShareModuleSpecJSI_share(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1903
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, PromiseKind, "share", @selector(share:dialogTitle:resolve:reject:), args, count);
1904
- }
1905
-
1906
- NativeShareModuleSpecJSI::NativeShareModuleSpecJSI(const ObjCTurboModule::InitParams &params)
1907
- : ObjCTurboModule(params) {
1908
-
1909
- methodMap_["share"] = MethodMetadata {2, __hostFunction_NativeShareModuleSpecJSI_share};
1910
- setMethodArgConversionSelector(@"share", 0, @"JS_NativeShareModule_SpecShareContent:");
1911
- }
1912
- } // namespace react
1913
- } // namespace facebook
1914
-
1915
- namespace facebook {
1916
- namespace react {
1917
-
1918
- static facebook::jsi::Value __hostFunction_NativeSoundManagerSpecJSI_playTouchSound(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1919
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "playTouchSound", @selector(playTouchSound), args, count);
1920
- }
1921
-
1922
- NativeSoundManagerSpecJSI::NativeSoundManagerSpecJSI(const ObjCTurboModule::InitParams &params)
1923
- : ObjCTurboModule(params) {
1924
-
1925
- methodMap_["playTouchSound"] = MethodMetadata {0, __hostFunction_NativeSoundManagerSpecJSI_playTouchSound};
1926
-
1927
- }
1928
- } // namespace react
1929
- } // namespace facebook
1930
-
1931
- namespace facebook {
1932
- namespace react {
1933
-
1934
- static facebook::jsi::Value __hostFunction_NativeSourceCodeSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1935
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1936
- }
1937
-
1938
- NativeSourceCodeSpecJSI::NativeSourceCodeSpecJSI(const ObjCTurboModule::InitParams &params)
1939
- : ObjCTurboModule(params) {
1940
-
1941
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeSpecJSI_getConstants};
1942
-
1943
- }
1944
- } // namespace react
1945
- } // namespace facebook
1946
-
1947
- namespace facebook {
1948
- namespace react {
1949
-
1950
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_getHeight(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1951
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "getHeight", @selector(getHeight:), args, count);
1952
- }
1953
-
1954
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_setNetworkActivityIndicatorVisible(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1955
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setNetworkActivityIndicatorVisible", @selector(setNetworkActivityIndicatorVisible:), args, count);
1956
- }
1957
-
1958
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1959
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
1960
- }
1961
-
1962
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1963
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
1964
- }
1965
-
1966
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_setStyle(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1967
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setStyle", @selector(setStyle:animated:), args, count);
1968
- }
1969
-
1970
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_setHidden(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1971
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setHidden", @selector(setHidden:withAnimation:), args, count);
1972
- }
1973
-
1974
- static facebook::jsi::Value __hostFunction_NativeStatusBarManagerIOSSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
1975
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
1976
- }
1977
-
1978
- NativeStatusBarManagerIOSSpecJSI::NativeStatusBarManagerIOSSpecJSI(const ObjCTurboModule::InitParams &params)
1979
- : ObjCTurboModule(params) {
1980
-
1981
- methodMap_["getHeight"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSSpecJSI_getHeight};
1982
-
1983
-
1984
- methodMap_["setNetworkActivityIndicatorVisible"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSSpecJSI_setNetworkActivityIndicatorVisible};
1985
-
1986
-
1987
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSSpecJSI_addListener};
1988
-
1989
-
1990
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerIOSSpecJSI_removeListeners};
1991
-
1992
-
1993
- methodMap_["setStyle"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSSpecJSI_setStyle};
1994
-
1995
-
1996
- methodMap_["setHidden"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSSpecJSI_setHidden};
1997
-
1998
-
1999
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeStatusBarManagerIOSSpecJSI_getConstants};
2000
-
2001
- }
2002
- } // namespace react
2003
- } // namespace facebook
2004
-
2005
- namespace facebook {
2006
- namespace react {
2007
-
2008
- static facebook::jsi::Value __hostFunction_NativeTimingSpecJSI_createTimer(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2009
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "createTimer", @selector(createTimer:duration:jsSchedulingTime:repeats:), args, count);
2010
- }
2011
-
2012
- static facebook::jsi::Value __hostFunction_NativeTimingSpecJSI_deleteTimer(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2013
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "deleteTimer", @selector(deleteTimer:), args, count);
2014
- }
2015
-
2016
- static facebook::jsi::Value __hostFunction_NativeTimingSpecJSI_setSendIdleEvents(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2017
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "setSendIdleEvents", @selector(setSendIdleEvents:), args, count);
2018
- }
2019
-
2020
- NativeTimingSpecJSI::NativeTimingSpecJSI(const ObjCTurboModule::InitParams &params)
2021
- : ObjCTurboModule(params) {
2022
-
2023
- methodMap_["createTimer"] = MethodMetadata {4, __hostFunction_NativeTimingSpecJSI_createTimer};
2024
-
2025
-
2026
- methodMap_["deleteTimer"] = MethodMetadata {1, __hostFunction_NativeTimingSpecJSI_deleteTimer};
2027
-
2028
-
2029
- methodMap_["setSendIdleEvents"] = MethodMetadata {1, __hostFunction_NativeTimingSpecJSI_setSendIdleEvents};
2030
-
2031
- }
2032
- } // namespace react
2033
- } // namespace facebook
2034
-
2035
- namespace facebook {
2036
- namespace react {
2037
-
2038
- static facebook::jsi::Value __hostFunction_NativeVibrationSpecJSI_vibrate(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2039
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "vibrate", @selector(vibrate:), args, count);
2040
- }
2041
-
2042
- static facebook::jsi::Value __hostFunction_NativeVibrationSpecJSI_vibrateByPattern(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2043
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "vibrateByPattern", @selector(vibrateByPattern:repeat:), args, count);
2044
- }
2045
-
2046
- static facebook::jsi::Value __hostFunction_NativeVibrationSpecJSI_cancel(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2047
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "cancel", @selector(cancel), args, count);
2048
- }
2049
-
2050
- NativeVibrationSpecJSI::NativeVibrationSpecJSI(const ObjCTurboModule::InitParams &params)
2051
- : ObjCTurboModule(params) {
2052
-
2053
- methodMap_["vibrate"] = MethodMetadata {1, __hostFunction_NativeVibrationSpecJSI_vibrate};
2054
-
2055
-
2056
- methodMap_["vibrateByPattern"] = MethodMetadata {2, __hostFunction_NativeVibrationSpecJSI_vibrateByPattern};
2057
-
2058
-
2059
- methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationSpecJSI_cancel};
2060
-
2061
- }
2062
- } // namespace react
2063
- } // namespace facebook
2064
- @implementation RCTCxxConvert (NativeWebSocketModule_SpecConnectOptions)
2065
- + (RCTManagedPointer *)JS_NativeWebSocketModule_SpecConnectOptions:(id)json
2066
- {
2067
- return facebook::react::managedPointer<JS::NativeWebSocketModule::SpecConnectOptions>(json);
2068
- }
2069
- @end
2070
- namespace facebook {
2071
- namespace react {
2072
-
2073
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_connect(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2074
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "connect", @selector(connect:protocols:options:socketID:), args, count);
2075
- }
2076
-
2077
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_send(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2078
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "send", @selector(send:forSocketID:), args, count);
2079
- }
2080
-
2081
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_sendBinary(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2082
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "sendBinary", @selector(sendBinary:forSocketID:), args, count);
2083
- }
2084
-
2085
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_ping(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2086
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "ping", @selector(ping:), args, count);
2087
- }
2088
-
2089
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_close(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2090
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "close", @selector(close:reason:socketID:), args, count);
2091
- }
2092
-
2093
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2094
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
2095
- }
2096
-
2097
- static facebook::jsi::Value __hostFunction_NativeWebSocketModuleSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
2098
- return static_cast<ObjCTurboModule&>(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
2099
- }
2100
-
2101
- NativeWebSocketModuleSpecJSI::NativeWebSocketModuleSpecJSI(const ObjCTurboModule::InitParams &params)
2102
- : ObjCTurboModule(params) {
2103
-
2104
- methodMap_["connect"] = MethodMetadata {4, __hostFunction_NativeWebSocketModuleSpecJSI_connect};
2105
- setMethodArgConversionSelector(@"connect", 2, @"JS_NativeWebSocketModule_SpecConnectOptions:");
2106
-
2107
- methodMap_["send"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleSpecJSI_send};
2108
-
2109
-
2110
- methodMap_["sendBinary"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleSpecJSI_sendBinary};
2111
-
2112
-
2113
- methodMap_["ping"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleSpecJSI_ping};
2114
-
2115
-
2116
- methodMap_["close"] = MethodMetadata {3, __hostFunction_NativeWebSocketModuleSpecJSI_close};
2117
-
2118
-
2119
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleSpecJSI_addListener};
2120
-
2121
-
2122
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleSpecJSI_removeListeners};
2123
-
2124
- }
2125
- } // namespace react
2126
- } // namespace facebook