react-native-windows 0.73.10 → 0.74.0-preview.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.flowconfig +12 -7
- package/Chakra/ChakraUtils.cpp +5 -10
- package/Chakra/ChakraUtils.h +2 -2
- package/Common/packages.lock.json +3 -3
- package/Directory.Build.props +5 -5
- package/Folly/Folly.vcxproj +2 -2
- package/Folly/Folly.vcxproj.filters +7 -0
- package/Folly/TEMP_UntilFollyUpdate/dynamic-inl.h +22 -1
- package/Folly/TEMP_UntilFollyUpdate/lang/SafeAssert.h +4 -1
- package/Folly/cgmanifest.json +1 -1
- package/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +6 -0
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +6 -0
- package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +4 -45
- package/Libraries/Alert/Alert.windows.js +2 -3
- package/Libraries/Alert/NativeAlertManager.js +4 -26
- package/Libraries/Animated/Animated.js +2 -2
- package/Libraries/Animated/AnimatedPlatformConfig.js +1 -1
- package/Libraries/Animated/NativeAnimatedHelper.js +14 -11
- package/Libraries/Animated/NativeAnimatedModule.js +4 -68
- package/Libraries/Animated/NativeAnimatedTurboModule.js +4 -69
- package/Libraries/Animated/animations/Animation.js +6 -22
- package/Libraries/Animated/components/AnimatedFlatList.js +1 -16
- package/Libraries/Animated/components/AnimatedScrollView.js +36 -31
- package/Libraries/Animated/components/AnimatedSectionList.js +1 -20
- package/Libraries/Animated/createAnimatedComponent.js +45 -40
- package/Libraries/Animated/nodes/AnimatedStyle.js +1 -1
- package/Libraries/Animated/shouldUseTurboAnimatedModule.js +1 -1
- package/Libraries/Animated/useAnimatedProps.js +21 -1
- package/Libraries/AppState/NativeAppState.js +4 -24
- package/Libraries/AppTheme/NativeAppTheme.js +4 -25
- package/Libraries/BatchedBridge/NativeModules.js +1 -1
- package/Libraries/Blob/Blob.js +1 -4
- package/Libraries/Blob/BlobManager.js +6 -8
- package/Libraries/Blob/File.js +1 -1
- package/Libraries/Blob/NativeBlobModule.js +4 -50
- package/Libraries/Blob/NativeFileReaderModule.js +4 -13
- package/Libraries/BugReporting/NativeBugReporting.js +4 -12
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js +3 -23
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js +4 -57
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.android.js +3 -2
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.windows.js +3 -2
- package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +9 -40
- package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +3 -43
- package/Libraries/Components/Button.js +103 -107
- package/Libraries/Components/Button.windows.js +199 -206
- package/Libraries/Components/Clipboard/NativeClipboard.js +3 -11
- package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +3 -114
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -5
- package/Libraries/Components/Keyboard/KeyboardExt.d.ts +8 -8
- package/Libraries/Components/Keyboard/KeyboardExt.js +27 -27
- package/Libraries/Components/Keyboard/KeyboardExt.js.map +1 -1
- package/Libraries/Components/Keyboard/KeyboardExtProps.d.ts +17 -17
- package/Libraries/Components/Keyboard/KeyboardExtProps.js +7 -7
- package/Libraries/Components/Keyboard/KeyboardExtProps.js.map +1 -1
- package/Libraries/Components/Keyboard/NativeKeyboardObserver.js +3 -10
- package/Libraries/Components/PopupMenuAndroid/PopupMenuAndroid.android.js +69 -0
- package/Libraries/Components/PopupMenuAndroid/PopupMenuAndroid.d.ts +24 -0
- package/Libraries/Components/PopupMenuAndroid/PopupMenuAndroid.js +33 -0
- package/Libraries/Components/PopupMenuAndroid/PopupMenuAndroidNativeComponent.js +13 -0
- package/Libraries/Components/Pressable/Pressable.js +1 -1
- package/Libraries/Components/Pressable/Pressable.windows.js +1 -2
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +5 -4
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +4 -24
- package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +3 -64
- package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +3 -61
- package/Libraries/Components/RefreshControl/RefreshControl.js +1 -1
- package/Libraries/Components/RefreshControl/RefreshControl.windows.js +1 -1
- package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +3 -15
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +3 -16
- package/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.d.ts +5 -6
- package/Libraries/Components/ScrollView/ScrollView.js +12 -38
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -2
- package/Libraries/Components/Sound/NativeSoundManager.js +3 -12
- package/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js +3 -58
- package/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js +3 -79
- package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +4 -53
- package/Libraries/Components/Switch/Switch.js +0 -2
- package/Libraries/Components/Switch/Switch.windows.js +0 -2
- package/Libraries/Components/Switch/SwitchNativeComponent.js +4 -52
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +8 -0
- package/Libraries/Components/TextInput/InputAccessoryView.js +18 -20
- package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +4 -17
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +3 -6
- package/Libraries/Components/TextInput/TextInput.d.ts +16 -0
- package/Libraries/Components/TextInput/TextInput.flow.js +16 -0
- package/Libraries/Components/TextInput/TextInput.js +65 -32
- package/Libraries/Components/TextInput/TextInput.windows.js +87 -38
- package/Libraries/Components/TextInput/WindowsTextInputNativeComponent.js +773 -9
- package/Libraries/Components/ToastAndroid/NativeToastAndroid.js +3 -28
- package/Libraries/Components/Touchable/PooledClass.js +1 -1
- package/Libraries/Components/Touchable/Touchable.js +2 -3
- package/Libraries/Components/Touchable/Touchable.windows.js +2 -3
- package/Libraries/Components/Touchable/TouchableHighlight.js +4 -4
- package/Libraries/Components/Touchable/TouchableHighlight.windows.js +4 -4
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +2 -1
- package/Libraries/Components/Touchable/TouchableOpacity.js +5 -2
- package/Libraries/Components/Touchable/TouchableOpacity.windows.js +5 -2
- package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +3 -16
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +1 -1
- package/Libraries/Components/View/View.js +0 -11
- package/Libraries/Components/View/View.windows.js +19 -18
- package/Libraries/Components/View/ViewAccessibility.d.ts +33 -17
- package/Libraries/Components/View/ViewPropTypes.d.ts +28 -17
- package/Libraries/Components/View/ViewPropTypes.js +36 -36
- package/Libraries/Components/View/ViewPropTypes.windows.js +36 -36
- package/Libraries/Core/InitializeCore.js +1 -1
- package/Libraries/Core/NativeExceptionsManager.js +3 -93
- package/Libraries/Core/ReactNativeVersion.js +12 -6
- package/Libraries/Core/ReactNativeVersionCheck.js +6 -6
- package/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js +3 -18
- package/Libraries/Core/Timers/NativeTiming.js +3 -16
- package/Libraries/Core/registerCallableModule.js +42 -0
- package/Libraries/Core/setUpPerformance.js +2 -2
- package/Libraries/Core/setUpPerformanceObserver.js +3 -1
- package/Libraries/Debugging/DebuggingOverlay.js +111 -0
- package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +13 -0
- package/Libraries/Debugging/DebuggingOverlayRegistry.js +513 -0
- package/Libraries/Debugging/useSubscribeToDebuggingOverlayRegistry.js +32 -0
- package/Libraries/DevToolsSettings/NativeDevToolsSettingsManager.js +3 -14
- package/Libraries/HeapCapture/NativeJSCHeapCapture.js +3 -9
- package/Libraries/Image/AssetSourceResolver.js +5 -5
- package/Libraries/Image/AssetUtils.js +4 -5
- package/Libraries/Image/Image.android.js +146 -174
- package/Libraries/Image/Image.d.ts +1 -1
- package/Libraries/Image/Image.ios.js +53 -79
- package/Libraries/Image/Image.windows.js +53 -79
- package/Libraries/Image/ImageBackground.js +2 -2
- package/Libraries/Image/ImageInjection.js +76 -18
- package/Libraries/Image/ImageTypes.flow.js +71 -0
- package/Libraries/Image/ImageUtils.js +1 -1
- package/Libraries/Image/ImageViewNativeComponent.js +18 -0
- package/Libraries/Image/NativeImageEditor.js +3 -42
- package/Libraries/Image/NativeImageLoaderAndroid.js +4 -28
- package/Libraries/Image/NativeImageLoaderIOS.js +4 -28
- package/Libraries/Image/NativeImageStoreAndroid.js +3 -16
- package/Libraries/Image/NativeImageStoreIOS.js +3 -23
- package/Libraries/Image/resolveAssetSource.js +59 -26
- package/Libraries/Image/resolveAssetSource.windows.js +148 -0
- package/Libraries/Inspector/ElementProperties.js +26 -52
- package/Libraries/Inspector/Inspector.js +122 -186
- package/Libraries/Inspector/InspectorOverlay.js +21 -33
- package/Libraries/Inspector/InspectorPanel.js +3 -17
- package/Libraries/Inspector/ReactDevToolsOverlay.js +171 -0
- package/Libraries/Inspector/getInspectorDataForViewAtPoint.js +20 -8
- package/Libraries/Interaction/FrameRateLogger.js +8 -18
- package/Libraries/Interaction/NativeFrameRateLogger.js +4 -16
- package/Libraries/IntersectionObserver/IntersectionObserver.js +1 -1
- package/Libraries/IntersectionObserver/IntersectionObserverEntry.js +20 -19
- package/Libraries/IntersectionObserver/IntersectionObserverManager.js +84 -6
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +3 -31
- package/Libraries/IntersectionObserver/__mocks__/NativeIntersectionObserver.js +12 -2
- package/Libraries/LayoutAnimation/LayoutAnimation.js +1 -2
- package/Libraries/Linking/NativeIntentAndroid.js +3 -20
- package/Libraries/Linking/NativeLinkingManager.js +3 -17
- package/Libraries/Lists/FillRateHelper.js +1 -1
- package/Libraries/Lists/FlatList.d.ts +2 -2
- package/Libraries/Lists/FlatList.js +6 -1
- package/Libraries/Lists/FlatList.windows.js +717 -0
- package/Libraries/Lists/SectionList.d.ts +6 -1
- package/Libraries/Lists/ViewabilityHelper.js +1 -1
- package/Libraries/Lists/VirtualizeUtils.js +1 -1
- package/Libraries/Lists/VirtualizedList.js +1 -1
- package/Libraries/Lists/VirtualizedListContext.js +1 -1
- package/Libraries/Lists/VirtualizedSectionList.js +1 -1
- package/Libraries/LogBox/LogBoxInspectorContainer.js +1 -1
- package/Libraries/Modal/Modal.js +43 -11
- package/Libraries/Modal/NativeModalManager.js +3 -11
- package/Libraries/Modal/RCTModalHostViewNativeComponent.js +3 -129
- package/Libraries/MutationObserver/MutationObserver.js +1 -1
- package/Libraries/MutationObserver/MutationObserverManager.js +2 -2
- package/Libraries/MutationObserver/MutationRecord.js +12 -10
- package/Libraries/MutationObserver/NativeMutationObserver.js +3 -48
- package/Libraries/MutationObserver/__mocks__/NativeMutationObserver.js +1 -1
- package/Libraries/NativeComponent/BaseViewConfig.android.js +1 -0
- package/Libraries/NativeComponent/BaseViewConfig.windows.js +3 -0
- package/Libraries/NativeComponent/NativeComponentRegistry.js +1 -1
- package/Libraries/NativeModules/specs/NativeAnimationsDebugModule.js +3 -10
- package/Libraries/NativeModules/specs/NativeDevMenu.js +3 -13
- package/Libraries/NativeModules/specs/NativeDevSettings.js +3 -23
- package/Libraries/NativeModules/specs/NativeDeviceEventManager.js +3 -9
- package/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js +3 -38
- package/Libraries/NativeModules/specs/NativeDialogManagerWindows.js +11 -0
- package/Libraries/NativeModules/specs/NativeLogBox.js +3 -10
- package/Libraries/NativeModules/specs/NativeRedBox.js +4 -11
- package/Libraries/NativeModules/specs/NativeSourceCode.js +2 -25
- package/Libraries/Network/FormData.js +3 -1
- package/Libraries/Network/NativeNetworkingAndroid.js +4 -28
- package/Libraries/Network/NativeNetworkingIOS.js +4 -28
- package/Libraries/NewAppScreen/components/DebugInstructions.windows.js +4 -2
- package/Libraries/NewAppScreen/components/ReloadInstructions.windows.js +3 -1
- package/Libraries/Performance/NativeJSCSamplingProfiler.js +3 -9
- package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +4 -68
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +3 -3
- package/Libraries/Pressability/Pressability.js +12 -2
- package/Libraries/Pressability/Pressability.windows.js +13 -3
- package/Libraries/Pressability/usePressability.js +7 -0
- package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +4 -70
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +45 -39
- package/Libraries/ReactNative/AppContainer-dev.js +192 -0
- package/Libraries/ReactNative/AppContainer-prod.js +53 -0
- package/Libraries/ReactNative/AppContainer.js +6 -149
- package/Libraries/ReactNative/AppRegistry.js +3 -1
- package/Libraries/ReactNative/BridgelessUIManager.js +375 -128
- package/Libraries/ReactNative/FabricUIManager.js +6 -0
- package/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js +3 -10
- package/Libraries/ReactNative/NativeI18nManager.js +3 -18
- package/Libraries/ReactNative/NativeUIManager.js +4 -112
- package/Libraries/ReactNative/PaperUIManager.js +8 -7
- package/Libraries/ReactNative/PaperUIManager.windows.js +29 -8
- package/Libraries/ReactNative/ReactFabricInternals.js +1 -1
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +24 -5
- package/Libraries/ReactNative/ReactNativeFeatureFlags.js +0 -45
- package/Libraries/ReactNative/RendererImplementation.js +11 -0
- package/Libraries/ReactNative/UIManager.d.ts +11 -34
- package/Libraries/ReactNative/UIManager.js +2 -23
- package/Libraries/ReactNative/UIManagerProperties.js +0 -2
- package/Libraries/ReactNative/__mocks__/FabricUIManager.js +23 -1
- package/Libraries/ReactNative/getNativeComponentAttributes.js +5 -1
- package/Libraries/ReactNative/renderApplication.js +9 -6
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +6 -1
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +24771 -21123
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +4160 -3109
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +4384 -3322
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +25194 -21398
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +3763 -2636
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +4027 -2867
- package/Libraries/Renderer/shims/ReactNativeTypes.js +8 -9
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +7 -12
- package/Libraries/Settings/NativeSettingsManager.js +4 -16
- package/Libraries/Share/NativeShareModule.js +3 -13
- package/Libraries/StyleSheet/PlatformColorValueTypes.windows.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.d.ts +1 -20
- package/Libraries/StyleSheet/StyleSheet.js +5 -28
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +47 -7
- package/Libraries/StyleSheet/StyleSheetTypes.js +16 -11
- package/Libraries/StyleSheet/flattenStyle.js +2 -2
- package/Libraries/StyleSheet/normalizeColor.js +1 -1
- package/Libraries/StyleSheet/processAspectRatio.js +1 -1
- package/Libraries/StyleSheet/processFontVariant.js +1 -1
- package/Libraries/Text/Text.js +0 -6
- package/Libraries/Text/Text.windows.js +0 -6
- package/Libraries/Text/TextAncestor.js +2 -3
- package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +4 -41
- package/Libraries/Types/ReactDevToolsTypes.js +58 -0
- package/Libraries/Types/UIManagerJSInterface.js +16 -0
- package/Libraries/Utilities/DebugEnvironment.js +1 -4
- package/Libraries/Utilities/Dimensions.js +8 -16
- package/Libraries/Utilities/GlobalPerformanceLogger.js +1 -2
- package/Libraries/Utilities/NativeAppearance.js +3 -26
- package/Libraries/Utilities/NativeDevLoadingView.js +3 -14
- package/Libraries/Utilities/NativeDeviceInfo.js +2 -47
- package/Libraries/Utilities/NativePlatformConstantsAndroid.js +3 -34
- package/Libraries/Utilities/NativePlatformConstantsIOS.js +3 -26
- package/Libraries/Utilities/NativePlatformConstantsWin.js +3 -23
- package/Libraries/Utilities/PixelRatio.d.ts +4 -4
- package/Libraries/Utilities/Platform.android.js +4 -0
- package/Libraries/Utilities/Platform.d.ts +3 -0
- package/Libraries/Utilities/Platform.flow.js +7 -0
- package/Libraries/Utilities/Platform.flow.windows.js +9 -0
- package/Libraries/Utilities/Platform.ios.js +11 -0
- package/Libraries/Utilities/Platform.windows.js +6 -0
- package/Libraries/Utilities/binaryToBase64.js +1 -1
- package/Libraries/Utilities/codegenNativeComponent.js +4 -6
- package/Libraries/Utilities/createPerformanceLogger.js +2 -74
- package/Libraries/Utilities/useMergeRefs.js +5 -9
- package/Libraries/Vibration/NativeVibration.js +3 -14
- package/Libraries/WebSocket/NativeWebSocketModule.js +4 -25
- package/Libraries/YellowBox/YellowBoxDeprecated.js +1 -1
- package/Libraries/vendor/emitter/EventEmitter.js +1 -0
- package/Microsoft.ReactNative/AsynchronousEventBeat.cpp +50 -0
- package/Microsoft.ReactNative/AsynchronousEventBeat.h +23 -0
- package/Microsoft.ReactNative/Base/CoreUIManagers.cpp +4 -0
- package/Microsoft.ReactNative/Base/CxxReactIncludes.h +1 -1
- package/Microsoft.ReactNative/Base/FollyIncludes.h +2 -2
- package/Microsoft.ReactNative/ComponentView.idl +106 -0
- package/Microsoft.ReactNative/Composition.Input.idl +16 -2
- package/Microsoft.ReactNative/CompositionComponentView.idl +117 -0
- package/Microsoft.ReactNative/CompositionContext.idl +1 -1
- package/Microsoft.ReactNative/CompositionRootView.idl +8 -0
- package/Microsoft.ReactNative/CompositionSwitcher.idl +25 -14
- package/Microsoft.ReactNative/DevMenuControl.idl +0 -3
- package/Microsoft.ReactNative/DevMenuControl.xaml +0 -15
- package/Microsoft.ReactNative/Fabric/AbiComponentDescriptor.cpp +189 -0
- package/Microsoft.ReactNative/Fabric/AbiComponentDescriptor.h +80 -0
- package/Microsoft.ReactNative/Fabric/AbiShadowNode.cpp +83 -0
- package/Microsoft.ReactNative/Fabric/AbiShadowNode.h +83 -0
- package/Microsoft.ReactNative/Fabric/AbiState.cpp +71 -0
- package/Microsoft.ReactNative/Fabric/AbiState.h +38 -0
- package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.cpp +48 -19
- package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.h +8 -16
- package/Microsoft.ReactNative/Fabric/AbiViewProps.cpp +97 -0
- package/Microsoft.ReactNative/Fabric/AbiViewProps.h +39 -0
- package/Microsoft.ReactNative/Fabric/AbiViewShadowNode.cpp +90 -0
- package/Microsoft.ReactNative/Fabric/AbiViewShadowNode.h +87 -0
- package/Microsoft.ReactNative/Fabric/ComponentView.cpp +340 -0
- package/Microsoft.ReactNative/Fabric/ComponentView.h +130 -64
- package/Microsoft.ReactNative/Fabric/Composition/ActivityIndicatorComponentView.cpp +48 -24
- package/Microsoft.ReactNative/Fabric/Composition/ActivityIndicatorComponentView.h +18 -14
- package/Microsoft.ReactNative/Fabric/Composition/ComponentViewRegistry.cpp +42 -27
- package/Microsoft.ReactNative/Fabric/Composition/ComponentViewRegistry.h +3 -1
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.cpp +123 -28
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.h +69 -13
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +651 -284
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.h +7 -7
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper_emptyimpl.cpp +9 -9
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +120 -31
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.h +12 -2
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +308 -129
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +34 -6
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHelpers.h +2 -1
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +61 -54
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.h +0 -9
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.cpp +99 -30
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.h +4 -3
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView.cpp +273 -28
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView.h +28 -3
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView_emptyimpl.cpp +7 -3
- package/Microsoft.ReactNative/Fabric/Composition/CompositionUIService.cpp +4 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +479 -280
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +133 -79
- package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.cpp +113 -0
- package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.h +39 -0
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp +61 -41
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.h +19 -14
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentDescriptor.h +39 -0
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +343 -0
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.h +67 -0
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewShadowNode.cpp +18 -0
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewShadowNode.h +39 -0
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +53 -186
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.h +20 -12
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.cpp +59 -150
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.h +27 -76
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.cpp +81 -32
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.h +27 -14
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +707 -64
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +47 -26
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp +225 -125
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.h +34 -21
- package/Microsoft.ReactNative/Fabric/Composition/TextDrawing.cpp +179 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextDrawing.h +25 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentDescriptor.h +110 -115
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +228 -79
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +43 -22
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputEventEmitter.cpp +18 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputEventEmitter.h +12 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputProps.h +5 -5
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.cpp +5 -1
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.cpp +4 -44
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.h +11 -9
- package/Microsoft.ReactNative/Fabric/Composition/Theme.cpp +550 -0
- package/Microsoft.ReactNative/Fabric/Composition/Theme.h +73 -0
- package/Microsoft.ReactNative/Fabric/Composition/Theme_emptyimpl.cpp +85 -0
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +48 -26
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.h +6 -2
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.cpp +30 -65
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.h +16 -25
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp +72 -88
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.h +5 -2
- package/Microsoft.ReactNative/Fabric/IComponentViewRegistry.h +3 -2
- package/Microsoft.ReactNative/Fabric/ReactNativeConfigProperties.cpp +6 -6
- package/Microsoft.ReactNative/Fabric/ReactNativeConfigProperties.h +2 -2
- package/Microsoft.ReactNative/Fabric/ReactTaggedView.h +12 -7
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.cpp +28 -19
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.h +5 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewEventEmitter.cpp +0 -2
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewTraitsInitializer.h +5 -1
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/WindowsViewEvents.h +2 -4
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Float.h +20 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/HostPlatformColor.h +86 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/PlatformColorParser.h +38 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/{Color.cpp → PlatformColorUtils.cpp} +7 -77
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/PlatformColorUtils.h +12 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/TextLayoutManager.cpp +1 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/TextLayoutManager.h +2 -0
- package/Microsoft.ReactNative/IReactCompositionViewComponentBuilder.idl +6 -87
- package/Microsoft.ReactNative/IReactContext.idl +3 -0
- package/Microsoft.ReactNative/IReactViewComponentBuilder.idl +71 -1
- package/Microsoft.ReactNative/JsiApi.cpp +17 -7
- package/Microsoft.ReactNative/JsiApi.h +2 -2
- package/Microsoft.ReactNative/JsiApi.idl +5 -4
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +13 -22
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj.filters +6 -2
- package/Microsoft.ReactNative/Modules/AccessibilityInfoModule.h +1 -1
- package/Microsoft.ReactNative/Modules/AlertModule.h +2 -2
- package/Microsoft.ReactNative/Modules/Animated/PropsAnimatedNode.cpp +12 -8
- package/Microsoft.ReactNative/Modules/Animated/PropsAnimatedNode.h +1 -1
- package/Microsoft.ReactNative/Modules/AppStateModule.h +2 -2
- package/Microsoft.ReactNative/Modules/AppThemeModuleUwp.cpp +5 -3
- package/Microsoft.ReactNative/Modules/AppThemeModuleUwp.h +4 -4
- package/Microsoft.ReactNative/Modules/AppearanceModule.cpp +10 -1
- package/Microsoft.ReactNative/Modules/ClipboardModule.h +1 -1
- package/Microsoft.ReactNative/Modules/DeviceInfoModule.cpp +71 -38
- package/Microsoft.ReactNative/Modules/DeviceInfoModule.h +5 -5
- package/Microsoft.ReactNative/Modules/ExceptionsManager.cpp +110 -0
- package/Microsoft.ReactNative/Modules/ExceptionsManager.h +54 -0
- package/Microsoft.ReactNative/Modules/ImageViewManagerModule.h +11 -10
- package/Microsoft.ReactNative/Modules/LinkingManagerModule.h +8 -6
- package/Microsoft.ReactNative/Modules/LogBoxModule.h +3 -3
- package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +5 -28
- package/Microsoft.ReactNative/Modules/NativeUIManager.h +1 -1
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.cpp +8 -5
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.h +3 -3
- package/Microsoft.ReactNative/Modules/PlatformConstantsWinModule.cpp +49 -0
- package/Microsoft.ReactNative/Modules/PlatformConstantsWinModule.h +18 -0
- package/Microsoft.ReactNative/Modules/SourceCode.cpp +31 -0
- package/Microsoft.ReactNative/Modules/SourceCode.h +28 -0
- package/Microsoft.ReactNative/Modules/StatusBarManager.h +12 -0
- package/Microsoft.ReactNative/Modules/Timing.cpp +325 -0
- package/Microsoft.ReactNative/Modules/Timing.h +121 -0
- package/Microsoft.ReactNative/QuirkSettings.cpp +32 -0
- package/Microsoft.ReactNative/QuirkSettings.h +9 -0
- package/Microsoft.ReactNative/QuirkSettings.idl +6 -0
- package/Microsoft.ReactNative/ReactCoreInjection.cpp +15 -0
- package/Microsoft.ReactNative/ReactCoreInjection.h +4 -0
- package/Microsoft.ReactNative/ReactCoreInjection.idl +8 -0
- package/Microsoft.ReactNative/ReactHost/IReactInstance.h +1 -1
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.cpp +1 -1
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +556 -234
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.h +36 -9
- package/Microsoft.ReactNative/ReactInstanceSettings.idl +3 -0
- package/Microsoft.ReactNative/ReactPointerEventArgs.cpp +8 -0
- package/Microsoft.ReactNative/ReactPointerEventArgs.h +4 -0
- package/Microsoft.ReactNative/ReactPointerEventArgs.idl +12 -0
- package/Microsoft.ReactNative/SchedulerSettings.cpp +23 -0
- package/Microsoft.ReactNative/SchedulerSettings.h +9 -1
- package/Microsoft.ReactNative/SynchronousEventBeat.cpp +41 -0
- package/Microsoft.ReactNative/SynchronousEventBeat.h +29 -0
- package/Microsoft.ReactNative/Theme.idl +57 -0
- package/Microsoft.ReactNative/Timer.cpp +63 -0
- package/Microsoft.ReactNative/{CoreAppPage.h → Timer.h} +12 -5
- package/Microsoft.ReactNative/Timer.idl +34 -0
- package/Microsoft.ReactNative/TurboModulesProvider.cpp +4 -0
- package/Microsoft.ReactNative/Utils/ImageUtils.cpp +37 -3
- package/Microsoft.ReactNative/Utils/ImageUtils.h +0 -1
- package/Microsoft.ReactNative/Utils/LocalBundleReader.cpp +11 -12
- package/Microsoft.ReactNative/Utils/LocalBundleReader.h +3 -3
- package/Microsoft.ReactNative/Utils/ThemeUtils.cpp +33 -0
- package/Microsoft.ReactNative/Utils/ThemeUtils.h +13 -0
- package/Microsoft.ReactNative/Utils/ValueUtils.cpp +0 -5
- package/Microsoft.ReactNative/Utils/ValueUtils.h +0 -3
- package/Microsoft.ReactNative/ViewProps.idl +17 -0
- package/Microsoft.ReactNative/Views/ActivityIndicatorViewManager.cpp +1 -0
- package/Microsoft.ReactNative/Views/DebuggingOverlayViewManager.cpp +54 -0
- package/Microsoft.ReactNative/Views/DebuggingOverlayViewManager.h +30 -0
- package/Microsoft.ReactNative/Views/DevMenu.cpp +1 -20
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.cpp +157 -0
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.h +5 -0
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.cpp +20 -0
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.h +4 -0
- package/Microsoft.ReactNative/Views/FlyoutViewManager.cpp +1 -5
- package/Microsoft.ReactNative/Views/FrameworkElementViewManager.cpp +137 -0
- package/Microsoft.ReactNative/Views/ICompositionRootView.h +0 -1
- package/Microsoft.ReactNative/Views/Image/ImageViewManager.cpp +0 -5
- package/Microsoft.ReactNative/Views/PopupViewManager.cpp +1 -5
- package/Microsoft.ReactNative/Views/ShadowNodeBase.cpp +11 -0
- package/Microsoft.ReactNative/Views/ShadowNodeBase.h +3 -4
- package/Microsoft.ReactNative/Views/TextInputViewManager.cpp +0 -6
- package/Microsoft.ReactNative/Views/TextViewManager.cpp +0 -11
- package/Microsoft.ReactNative/Views/TouchEventHandler.cpp +1 -1
- package/Microsoft.ReactNative/Views/UnimplementedViewManager.cpp +79 -0
- package/Microsoft.ReactNative/Views/UnimplementedViewManager.h +27 -0
- package/Microsoft.ReactNative/Views/ViewManagerBase.cpp +46 -0
- package/Microsoft.ReactNative/Views/ViewManagerBase.h +1 -1
- package/Microsoft.ReactNative/Views/cppwinrt/DynamicAutomationPeer.idl +77 -2
- package/Microsoft.ReactNative/microsoft.reactnative.def +0 -3
- package/Microsoft.ReactNative/packages.lock.json +9 -6
- package/{Shared/Composition → Microsoft.ReactNative.Cxx}/AutoDraw.h +2 -0
- package/{Shared/Composition → Microsoft.ReactNative.Cxx}/CompositionSwitcher.interop.h +4 -10
- package/Microsoft.ReactNative.Cxx/CppWinRTIncludes.h +0 -5
- package/Microsoft.ReactNative.Cxx/DesktopWindowBridge.h +5 -0
- package/Microsoft.ReactNative.Cxx/JSI/JsiAbiApi.cpp +19 -10
- package/Microsoft.ReactNative.Cxx/JSI/JsiAbiApi.h +2 -0
- package/Microsoft.ReactNative.Cxx/JSValueComposition.h +22 -0
- package/Microsoft.ReactNative.Cxx/JSValueReader.h +19 -0
- package/Microsoft.ReactNative.Cxx/JSValueXaml.h +1 -1
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +6 -4
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems.filters +0 -1
- package/Microsoft.ReactNative.Cxx/NativeModules.h +15 -15
- package/Microsoft.ReactNative.Cxx/TurboModuleProvider.cpp +1 -1
- package/Microsoft.ReactNative.Managed/ReactSettingsSnapshot.cs +2 -0
- package/Microsoft.ReactNative.Managed/packages.lock.json +6 -3
- package/Microsoft.ReactNative.Managed.CodeGen/Microsoft.ReactNative.Managed.CodeGen.csproj +0 -1
- package/Mso/future/details/executor.h +1 -1
- package/Mso/src/debugAssertApi/debugAssertApi.cpp +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Composition.Common.props +8 -0
- package/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.props +24 -0
- package/PropertySheets/External/Microsoft.ReactNative.Composition.CppLib.targets +20 -0
- package/PropertySheets/External/Microsoft.ReactNative.Cpp.Dependencies.props +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.WindowsSdk.Default.props +2 -0
- package/PropertySheets/Generated/PackageVersion.g.props +4 -4
- package/PropertySheets/JSEngine.props +0 -8
- package/PropertySheets/React.Cpp.props +14 -3
- package/PropertySheets/ReactCommunity.cpp.props +2 -2
- package/PropertySheets/Release.props +0 -1
- package/PropertySheets/WinUI.props +21 -1
- package/PropertySheets/x64.props +3 -0
- package/PropertySheets/x86.props +3 -0
- package/ReactCommon/ReactCommon.vcxproj +13 -8
- package/ReactCommon/ReactCommon.vcxproj.filters +12 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsi/jsi/test/testlib.cpp +114 -19
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModule.cpp +66 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModuleBinding.cpp +114 -52
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModuleUtils.h +13 -15
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/scrollview/ScrollViewProps.cpp +535 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/runtime/ReactInstance.cpp +437 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/utils/jsi-utils.cpp +39 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/utils/jsi-utils.h +31 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/YGEnums.h +19 -24
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/algorithm/CalculateLayout.cpp +600 -980
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/enums/ExperimentalFeature.h +5 -11
- package/ReactCommon/cgmanifest.json +1 -1
- package/Scripts/EnableInternalWinAppSDKFeed.ps1 +21 -0
- package/Scripts/IntegrationTests.ps1 +26 -15
- package/Scripts/Microsoft.ReactNative.targets +0 -6
- package/Scripts/OfficeReact.Win32.nuspec +1 -2
- package/Scripts/TestServers.ps1 +2 -28
- package/Scripts/Tfs/Start-TestServers.ps1 +1 -21
- package/Scripts/Tfs/Stop-TestServers.ps1 +0 -5
- package/Scripts/rnw-dependencies.ps1 +38 -67
- package/Shared/CreateInstance.h +25 -0
- package/Shared/DevServerHelper.h +0 -3
- package/Shared/DevSettings.h +9 -0
- package/Shared/HermesRuntimeHolder.cpp +17 -0
- package/Shared/HermesRuntimeHolder.h +17 -0
- package/Shared/HermesSamplingProfiler.cpp +12 -10
- package/Shared/HermesSamplingProfiler.h +5 -4
- package/Shared/IDevSupportManager.h +4 -2
- package/Shared/InstanceManager.cpp +13 -11
- package/Shared/InstanceManager.h +8 -18
- package/Shared/JSI/ChakraRuntime.cpp +66 -9
- package/Shared/JSI/ChakraRuntime.h +8 -0
- package/Shared/JSI/JSExecutorFactoryDelegate.h +12 -0
- package/Shared/JSI/JSExecutorFactorySettings.cpp +30 -0
- package/Shared/JSI/JSExecutorFactorySettings.h +21 -0
- package/Shared/Modules/BlobModule.h +1 -1
- package/Shared/Modules/FileReaderModule.h +1 -1
- package/Shared/Modules/HttpModule.h +1 -1
- package/Shared/Modules/WebSocketTurboModule.h +1 -1
- package/Shared/Networking/OriginPolicyHttpFilter.cpp +19 -23
- package/Shared/Networking/OriginPolicyHttpFilter.h +4 -7
- package/Shared/Networking/WinRTHttpResource.cpp +2 -4
- package/Shared/OInstance.cpp +212 -165
- package/Shared/OInstance.h +19 -0
- package/Shared/Shared.vcxitems +134 -50
- package/Shared/Shared.vcxitems.filters +81 -24
- package/Shared/Utils.cpp +12 -10
- package/Shared/Utils.h +2 -2
- package/Shared/WebSocketJSExecutorFactory.h +1 -0
- package/codegen/NativeBugReportingSpec.g.h +0 -6
- package/codegen/NativeFrameRateLoggerSpec.g.h +0 -2
- package/codegen/NativeImageLoaderAndroidSpec.g.h +10 -23
- package/codegen/NativePerformanceObserverSpec.g.h +6 -0
- package/codegen/NativePlatformConstantsIOSSpec.g.h +2 -0
- package/codegen/NativePlatformConstantsWinSpec.g.h +17 -0
- package/codegen/NativePushNotificationManagerIOSSpec.g.h +8 -6
- package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +88 -0
- package/codegen/NativeUIManagerSpec.g.h +83 -95
- package/codegen/react/components/rnwcore/ComponentDescriptors.h +10 -7
- package/codegen/react/components/rnwcore/EventEmitters.cpp +40 -52
- package/codegen/react/components/rnwcore/EventEmitters.h +66 -84
- package/codegen/react/components/rnwcore/Props.cpp +60 -95
- package/codegen/react/components/rnwcore/Props.h +198 -239
- package/codegen/react/components/rnwcore/ShadowNodes.cpp +6 -7
- package/codegen/react/components/rnwcore/ShadowNodes.h +38 -29
- package/codegen/react/components/rnwcore/States.cpp +3 -5
- package/codegen/react/components/rnwcore/States.h +29 -16
- package/codegen/rnwcoreJSI-generated.cpp +1442 -1398
- package/codegen/rnwcoreJSI.h +6066 -3593
- package/index.js +66 -99
- package/index.windows.js +60 -102
- package/jest/assetFileTransformer.js +1 -1
- package/jest/local-setup.js +0 -5
- package/jest/mockModal.js +2 -1
- package/jest/mockScrollView.js +1 -2
- package/jest/renderer.js +1 -1
- package/jest/setup.js +6 -3
- package/just-task.js +1 -1
- package/package.json +30 -29
- package/{Libraries/Core → src/private/core}/setUpDOM.js +2 -2
- package/src/private/featureflags/NativeReactNativeFeatureFlags.js +42 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +140 -0
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +84 -0
- package/src/private/featureflags/__tests__/ReactNativeFeatureFlags-test.js +92 -0
- package/src/private/specs/components/ActivityIndicatorViewNativeComponent.js +53 -0
- package/src/private/specs/components/AndroidDrawerLayoutNativeComponent.js +124 -0
- package/src/private/specs/components/AndroidHorizontalScrollContentViewNativeComponent.js +26 -0
- package/src/private/specs/components/AndroidSwipeRefreshLayoutNativeComponent.js +74 -0
- package/src/private/specs/components/AndroidSwitchNativeComponent.js +62 -0
- package/src/private/specs/components/DebuggingOverlayNativeComponent.js +61 -0
- package/src/private/specs/components/PopupMenuAndroidNativeComponent.js +47 -0
- package/src/private/specs/components/ProgressBarAndroidNativeComponent.js +36 -0
- package/src/private/specs/components/PullToRefreshViewNativeComponent.js +71 -0
- package/src/private/specs/components/RCTInputAccessoryViewNativeComponent.js +26 -0
- package/src/private/specs/components/RCTModalHostViewNativeComponent.js +139 -0
- package/src/private/specs/components/RCTSafeAreaViewNativeComponent.js +25 -0
- package/src/private/specs/components/SwitchNativeComponent.js +61 -0
- package/src/private/specs/components/UnimplementedNativeViewNativeComponent.js +26 -0
- package/src/private/specs/modules/NativeAccessibilityInfo.js +33 -0
- package/src/private/specs/modules/NativeAccessibilityManager.js +66 -0
- package/src/private/specs/modules/NativeActionSheetManager.js +54 -0
- package/src/private/specs/modules/NativeAlertManager.js +35 -0
- package/src/private/specs/modules/NativeAnimatedModule.js +77 -0
- package/src/private/specs/modules/NativeAnimatedTurboModule.js +78 -0
- package/src/private/specs/modules/NativeAnimationsDebugModule.js +20 -0
- package/src/private/specs/modules/NativeAppState.js +33 -0
- package/src/private/specs/modules/NativeAppTheme.js +33 -0
- package/src/private/specs/modules/NativeAppearance.js +36 -0
- package/src/private/specs/modules/NativeBlobModule.js +59 -0
- package/src/private/specs/modules/NativeBugReporting.js +20 -0
- package/src/private/specs/modules/NativeClipboard.js +21 -0
- package/src/private/specs/modules/NativeDevLoadingView.js +24 -0
- package/src/private/specs/modules/NativeDevMenu.js +23 -0
- package/src/private/specs/modules/NativeDevSettings.js +33 -0
- package/src/private/specs/modules/NativeDevToolsSettingsManager.js +24 -0
- package/src/private/specs/modules/NativeDeviceEventManager.js +19 -0
- package/src/private/specs/modules/NativeDeviceInfo.js +58 -0
- package/src/private/specs/modules/NativeDialogManagerAndroid.js +48 -0
- package/{Libraries/Alert → src/private/specs/modules}/NativeDialogManagerWindows.js +5 -4
- package/src/private/specs/modules/NativeExceptionsManager.js +103 -0
- package/src/private/specs/modules/NativeFileReaderModule.js +22 -0
- package/src/private/specs/modules/NativeFrameRateLogger.js +22 -0
- package/src/private/specs/modules/NativeHeadlessJsTaskSupport.js +20 -0
- package/src/private/specs/modules/NativeI18nManager.js +28 -0
- package/src/private/specs/modules/NativeImageEditor.js +52 -0
- package/src/private/specs/modules/NativeImageLoaderAndroid.js +30 -0
- package/src/private/specs/modules/NativeImageLoaderIOS.js +37 -0
- package/src/private/specs/modules/NativeImageStoreAndroid.js +26 -0
- package/src/private/specs/modules/NativeImageStoreIOS.js +33 -0
- package/src/private/specs/modules/NativeIntentAndroid.js +30 -0
- package/src/private/specs/modules/NativeIntersectionObserver.js +41 -0
- package/src/private/specs/modules/NativeJSCHeapCapture.js +19 -0
- package/src/private/specs/modules/NativeJSCSamplingProfiler.js +19 -0
- package/src/private/specs/modules/NativeKeyboardObserver.js +20 -0
- package/src/private/specs/modules/NativeLinkingManager.js +27 -0
- package/src/private/specs/modules/NativeLogBox.js +20 -0
- package/src/private/specs/modules/NativeModalManager.js +21 -0
- package/src/private/specs/modules/NativeMutationObserver.js +58 -0
- package/src/private/specs/modules/NativeNetworkingAndroid.js +37 -0
- package/src/private/specs/modules/NativeNetworkingIOS.js +37 -0
- package/src/private/specs/modules/NativePermissionsAndroid.js +77 -0
- package/src/private/specs/modules/NativePlatformConstantsAndroid.js +44 -0
- package/src/private/specs/modules/NativePlatformConstantsIOS.js +37 -0
- package/src/private/specs/modules/NativePlatformConstantsWin.js +38 -0
- package/src/private/specs/modules/NativePushNotificationManagerIOS.js +107 -0
- package/src/private/specs/modules/NativeRedBox.js +20 -0
- package/src/private/specs/modules/NativeSampleTurboModule.js +53 -0
- package/src/private/specs/modules/NativeSegmentFetcher.js +28 -0
- package/src/private/specs/modules/NativeSettingsManager.js +25 -0
- package/src/private/specs/modules/NativeShareModule.js +23 -0
- package/src/private/specs/modules/NativeSoundManager.js +22 -0
- package/src/private/specs/modules/NativeSourceCode.js +36 -0
- package/src/private/specs/modules/NativeStatusBarManagerAndroid.js +68 -0
- package/src/private/specs/modules/NativeStatusBarManagerIOS.js +89 -0
- package/src/private/specs/modules/NativeTiming.js +26 -0
- package/src/private/specs/modules/NativeToastAndroid.js +38 -0
- package/src/private/specs/modules/NativeUIManager.js +118 -0
- package/src/private/specs/modules/NativeVibration.js +24 -0
- package/src/private/specs/modules/NativeWebSocketModule.js +34 -0
- package/{Libraries/DOM/Nodes → src/private/webapis/dom/nodes}/ReactNativeElement.js +6 -6
- package/{Libraries/DOM/Nodes → src/private/webapis/dom/nodes}/ReadOnlyCharacterData.js +2 -2
- package/{Libraries/DOM/Nodes → src/private/webapis/dom/nodes}/ReadOnlyElement.js +5 -5
- package/{Libraries/DOM/Nodes → src/private/webapis/dom/nodes}/ReadOnlyNode.js +19 -10
- package/{Libraries/DOM/OldStyleCollections → src/private/webapis/dom/oldstylecollections}/DOMRectList.js +1 -1
- package/src/private/webapis/dom/oldstylecollections/__tests__/DOMRectList-test.js +85 -0
- package/src/private/webapis/dom/oldstylecollections/__tests__/HTMLCollection-test.js +80 -0
- package/src/private/webapis/dom/oldstylecollections/__tests__/NodeList-test.js +161 -0
- package/{Libraries/WebPerformance → src/private/webapis/performance}/NativePerformance.js +2 -2
- package/{Libraries/WebPerformance → src/private/webapis/performance}/NativePerformanceObserver.js +3 -2
- package/{Libraries/WebPerformance → src/private/webapis/performance}/Performance.js +2 -2
- package/{Libraries/WebPerformance → src/private/webapis/performance}/PerformanceEventTiming.js +1 -1
- package/{Libraries/WebPerformance → src/private/webapis/performance}/PerformanceObserver.js +21 -2
- package/{Libraries/WebPerformance → src/private/webapis/performance}/RawPerformanceEntry.js +1 -1
- package/{Libraries/WebPerformance → src/private/webapis/performance}/__mocks__/NativePerformanceObserver.js +9 -0
- package/src/private/webapis/performance/__tests__/EventCounts-test.js +116 -0
- package/src/private/webapis/performance/__tests__/NativePerformanceMock-test.js +82 -0
- package/src/private/webapis/performance/__tests__/NativePerformanceObserverMock-test.js +108 -0
- package/src/private/webapis/performance/__tests__/Performance-test.js +117 -0
- package/src/private/webapis/performance/__tests__/PerformanceObserver-test.js +208 -0
- package/template/cpp-app/src/App.cpp +2 -2
- package/template/cs-app/src/App.xaml.cs +2 -2
- package/templates/cpp-app/jest.config.windows.js +3 -0
- package/templates/cpp-app/metro.config.js +0 -2
- package/templates/cpp-app/template.config.js +24 -9
- package/templates/cpp-app/windows/ExperimentalFeatures.props +1 -1
- package/templates/cpp-app/windows/MyApp/AutolinkedNativeModules.g.cpp +13 -0
- package/templates/cpp-app/windows/MyApp/AutolinkedNativeModules.g.h +10 -0
- package/templates/cpp-app/windows/MyApp/MyApp.cpp +134 -249
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +12 -11
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj.filters +6 -3
- package/templates/cpp-app/windows/MyApp/pch.h +12 -9
- package/templates/cpp-app/windows/MyApp/resource.h +0 -1
- package/templates/cpp-app/windows/MyApp.sln +26 -26
- package/templates/cpp-lib/example/metro.config.js +74 -0
- package/templates/cpp-lib/template.config.js +235 -0
- package/templates/cpp-lib/windows/ExperimentalFeatures.props +11 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.cpp +18 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.def +3 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.h +31 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.rc +0 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +148 -0
- package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj.filters +44 -0
- package/templates/cpp-lib/windows/MyLib/ReactPackageProvider.cpp +20 -0
- package/templates/cpp-lib/windows/MyLib/ReactPackageProvider.h +24 -0
- package/templates/cpp-lib/windows/MyLib/ReactPackageProvider.idl +9 -0
- package/templates/cpp-lib/windows/MyLib/pch.cpp +1 -0
- package/templates/cpp-lib/windows/MyLib/pch.h +30 -0
- package/templates/cpp-lib/windows/MyLib/resource.h +5 -0
- package/templates/cpp-lib/windows/MyLib/targetver.h +8 -0
- package/templates/cpp-lib/windows/MyLib.sln +156 -0
- package/templates/cpp-lib/windows/_gitignore +41 -0
- package/templates/templateUtils.js +137 -0
- package/types/modules/globals.d.ts +1 -0
- package/Folly/TEMP_UntilFollyUpdate/hash/Hash.h +0 -1016
- package/Libraries/Components/Button.flow.js +0 -265
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.windows.js +0 -8
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.windows.js +0 -14
- package/Libraries/Components/SafeAreaView/SafeAreaView.windows.js +0 -34
- package/Libraries/Components/ScrollView/ScrollView.windows.js +0 -1941
- package/Libraries/Components/ScrollView/ScrollViewViewConfig.js +0 -85
- package/Libraries/Components/ToastAndroid/ToastAndroid.windows.js +0 -45
- package/Libraries/Components/Touchable/Touchable.flow.js +0 -284
- package/Libraries/Components/TraceUpdateOverlay/TraceUpdateOverlay.js +0 -189
- package/Libraries/Components/TraceUpdateOverlay/TraceUpdateOverlayNativeComponent.js +0 -43
- package/Libraries/Image/Image.flow.js +0 -64
- package/Libraries/Inspector/DevtoolsOverlay.js +0 -223
- package/Libraries/Performance/QuickPerformanceLogger.js +0 -142
- package/Libraries/Settings/Settings.windows.js +0 -28
- package/Microsoft.ReactNative/CoreApp.cpp +0 -303
- package/Microsoft.ReactNative/CoreAppPage.cpp +0 -21
- package/Microsoft.ReactNative/CoreAppPage.idl +0 -12
- package/Microsoft.ReactNative/CoreAppPage.xaml +0 -14
- package/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp +0 -197
- package/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.h +0 -84
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/rnwcore/EventEmitters.h +0 -5
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/rnwcore/Props.h +0 -5
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/rnwcore/ShadowNodes.h +0 -5
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/rnwcore/States.h +0 -5
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/core/graphicsConversions.h +0 -245
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Color.h +0 -134
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/conversions.h +0 -27
- package/Microsoft.ReactNative/Modules/TimingModule.cpp +0 -229
- package/Microsoft.ReactNative/Modules/TimingModule.h +0 -88
- package/Microsoft.ReactNative.Cxx/CoreApp.h +0 -60
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/LongLivedObject.cpp +0 -60
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/LongLivedObject.h +0 -60
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModuleBinding.h +0 -63
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/YogaLayoutableShadowNode.cpp +0 -1038
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/YogaStylableProps.cpp +0 -503
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/conversions.h +0 -895
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/mapbuffer/MapBufferBuilder.cpp +0 -182
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/mounting/ShadowTree.cpp +0 -543
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/uimanager/UIManagerBinding.cpp +0 -1505
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/bits/NumericBitfield.h +0 -67
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/config/Config.h +0 -93
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/LayoutResults.h +0 -88
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/Node.cpp +0 -606
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/Node.h +0 -344
- package/ReactCommon/Yoga.cpp +0 -961
- /package/{Libraries/DOM/Geometry → src/private/webapis/dom/geometry}/DOMRect.js +0 -0
- /package/{Libraries/DOM/Geometry → src/private/webapis/dom/geometry}/DOMRectReadOnly.js +0 -0
- /package/{Libraries/DOM/Nodes → src/private/webapis/dom/nodes}/ReadOnlyText.js +0 -0
- /package/{Libraries/DOM/Nodes/Utilities → src/private/webapis/dom/nodes/utilities}/Traversal.js +0 -0
- /package/{Libraries/DOM/OldStyleCollections → src/private/webapis/dom/oldstylecollections}/ArrayLikeUtils.js +0 -0
- /package/{Libraries/DOM/OldStyleCollections → src/private/webapis/dom/oldstylecollections}/HTMLCollection.js +0 -0
- /package/{Libraries/DOM/OldStyleCollections → src/private/webapis/dom/oldstylecollections}/NodeList.js +0 -0
- /package/{Libraries/WebPerformance → src/private/webapis/performance}/EventCounts.js +0 -0
- /package/{Libraries/WebPerformance → src/private/webapis/performance}/MemoryInfo.js +0 -0
- /package/{Libraries/WebPerformance → src/private/webapis/performance}/PerformanceEntry.js +0 -0
- /package/{Libraries/WebPerformance → src/private/webapis/performance}/ReactNativeStartupTiming.js +0 -0
- /package/{Libraries/WebPerformance → src/private/webapis/performance}/__mocks__/NativePerformance.js +0 -0
|
@@ -9,9 +9,225 @@
|
|
|
9
9
|
|
|
10
10
|
#include "rnwcoreJSI.h"
|
|
11
11
|
|
|
12
|
-
namespace facebook {
|
|
13
|
-
namespace react {
|
|
12
|
+
namespace facebook::react {
|
|
14
13
|
|
|
14
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_commonTestFlag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
15
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->commonTestFlag(
|
|
16
|
+
rt
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableBackgroundExecutor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
20
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableBackgroundExecutor(
|
|
21
|
+
rt
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useModernRuntimeScheduler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
25
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->useModernRuntimeScheduler(
|
|
26
|
+
rt
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMicrotasks(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
30
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableMicrotasks(
|
|
31
|
+
rt
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_batchRenderingUpdatesInEventLoop(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
35
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->batchRenderingUpdatesInEventLoop(
|
|
36
|
+
rt
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSpannableBuildingUnification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
40
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableSpannableBuildingUnification(
|
|
41
|
+
rt
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableCustomDrawOrderFabric(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
45
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableCustomDrawOrderFabric(
|
|
46
|
+
rt
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFixForClippedSubviewsCrash(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
50
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableFixForClippedSubviewsCrash(
|
|
51
|
+
rt
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableCxxInspectorPackagerConnection(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
55
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->inspectorEnableCxxInspectorPackagerConnection(
|
|
56
|
+
rt
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableModernCDPRegistry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
60
|
+
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->inspectorEnableModernCDPRegistry(
|
|
61
|
+
rt
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
66
|
+
: TurboModule("NativeReactNativeFeatureFlagsCxx", jsInvoker) {
|
|
67
|
+
methodMap_["commonTestFlag"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_commonTestFlag};
|
|
68
|
+
methodMap_["enableBackgroundExecutor"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableBackgroundExecutor};
|
|
69
|
+
methodMap_["useModernRuntimeScheduler"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useModernRuntimeScheduler};
|
|
70
|
+
methodMap_["enableMicrotasks"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMicrotasks};
|
|
71
|
+
methodMap_["batchRenderingUpdatesInEventLoop"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_batchRenderingUpdatesInEventLoop};
|
|
72
|
+
methodMap_["enableSpannableBuildingUnification"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSpannableBuildingUnification};
|
|
73
|
+
methodMap_["enableCustomDrawOrderFabric"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableCustomDrawOrderFabric};
|
|
74
|
+
methodMap_["enableFixForClippedSubviewsCrash"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableFixForClippedSubviewsCrash};
|
|
75
|
+
methodMap_["inspectorEnableCxxInspectorPackagerConnection"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableCxxInspectorPackagerConnection};
|
|
76
|
+
methodMap_["inspectorEnableModernCDPRegistry"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableModernCDPRegistry};
|
|
77
|
+
}
|
|
78
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
79
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
80
|
+
rt,
|
|
81
|
+
args[0].asObject(rt).asFunction(rt)
|
|
82
|
+
);
|
|
83
|
+
return jsi::Value::undefined();
|
|
84
|
+
}
|
|
85
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
86
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
87
|
+
rt,
|
|
88
|
+
args[0].asObject(rt).asFunction(rt)
|
|
89
|
+
);
|
|
90
|
+
return jsi::Value::undefined();
|
|
91
|
+
}
|
|
92
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
93
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
94
|
+
rt,
|
|
95
|
+
args[0].asObject(rt).asFunction(rt)
|
|
96
|
+
);
|
|
97
|
+
return jsi::Value::undefined();
|
|
98
|
+
}
|
|
99
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
100
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
101
|
+
rt,
|
|
102
|
+
args[0].asNumber()
|
|
103
|
+
);
|
|
104
|
+
return jsi::Value::undefined();
|
|
105
|
+
}
|
|
106
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
107
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
108
|
+
rt,
|
|
109
|
+
args[0].asString(rt)
|
|
110
|
+
);
|
|
111
|
+
return jsi::Value::undefined();
|
|
112
|
+
}
|
|
113
|
+
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
114
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
115
|
+
rt,
|
|
116
|
+
args[0].asNumber(),
|
|
117
|
+
args[1].asObject(rt).asFunction(rt)
|
|
118
|
+
);
|
|
119
|
+
return jsi::Value::undefined();
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
123
|
+
: TurboModule("AccessibilityInfo", jsInvoker) {
|
|
124
|
+
methodMap_["isReduceMotionEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled};
|
|
125
|
+
methodMap_["isTouchExplorationEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled};
|
|
126
|
+
methodMap_["isAccessibilityServiceEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled};
|
|
127
|
+
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus};
|
|
128
|
+
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility};
|
|
129
|
+
methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis};
|
|
130
|
+
}
|
|
131
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
132
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
133
|
+
rt,
|
|
134
|
+
args[0].asObject(rt).asFunction(rt),
|
|
135
|
+
args[1].asObject(rt).asFunction(rt)
|
|
136
|
+
);
|
|
137
|
+
return jsi::Value::undefined();
|
|
138
|
+
}
|
|
139
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
140
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
141
|
+
rt,
|
|
142
|
+
args[0].asObject(rt).asFunction(rt),
|
|
143
|
+
args[1].asObject(rt).asFunction(rt)
|
|
144
|
+
);
|
|
145
|
+
return jsi::Value::undefined();
|
|
146
|
+
}
|
|
147
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
148
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
149
|
+
rt,
|
|
150
|
+
args[0].asObject(rt).asFunction(rt),
|
|
151
|
+
args[1].asObject(rt).asFunction(rt)
|
|
152
|
+
);
|
|
153
|
+
return jsi::Value::undefined();
|
|
154
|
+
}
|
|
155
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
156
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
157
|
+
rt,
|
|
158
|
+
args[0].asObject(rt).asFunction(rt),
|
|
159
|
+
args[1].asObject(rt).asFunction(rt)
|
|
160
|
+
);
|
|
161
|
+
return jsi::Value::undefined();
|
|
162
|
+
}
|
|
163
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
164
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
165
|
+
rt,
|
|
166
|
+
args[0].asObject(rt).asFunction(rt),
|
|
167
|
+
args[1].asObject(rt).asFunction(rt)
|
|
168
|
+
);
|
|
169
|
+
return jsi::Value::undefined();
|
|
170
|
+
}
|
|
171
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
172
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
173
|
+
rt,
|
|
174
|
+
args[0].asObject(rt).asFunction(rt),
|
|
175
|
+
args[1].asObject(rt).asFunction(rt)
|
|
176
|
+
);
|
|
177
|
+
return jsi::Value::undefined();
|
|
178
|
+
}
|
|
179
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
180
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
181
|
+
rt,
|
|
182
|
+
args[0].asObject(rt).asFunction(rt),
|
|
183
|
+
args[1].asObject(rt).asFunction(rt)
|
|
184
|
+
);
|
|
185
|
+
return jsi::Value::undefined();
|
|
186
|
+
}
|
|
187
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
188
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
189
|
+
rt,
|
|
190
|
+
args[0].asObject(rt)
|
|
191
|
+
);
|
|
192
|
+
return jsi::Value::undefined();
|
|
193
|
+
}
|
|
194
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
195
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
196
|
+
rt,
|
|
197
|
+
args[0].asNumber()
|
|
198
|
+
);
|
|
199
|
+
return jsi::Value::undefined();
|
|
200
|
+
}
|
|
201
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
202
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
203
|
+
rt,
|
|
204
|
+
args[0].asString(rt)
|
|
205
|
+
);
|
|
206
|
+
return jsi::Value::undefined();
|
|
207
|
+
}
|
|
208
|
+
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
209
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
210
|
+
rt,
|
|
211
|
+
args[0].asString(rt),
|
|
212
|
+
args[1].asObject(rt)
|
|
213
|
+
);
|
|
214
|
+
return jsi::Value::undefined();
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
NativeAccessibilityManagerCxxSpecJSI::NativeAccessibilityManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
218
|
+
: TurboModule("AccessibilityManager", jsInvoker) {
|
|
219
|
+
methodMap_["getCurrentBoldTextState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState};
|
|
220
|
+
methodMap_["getCurrentGrayscaleState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState};
|
|
221
|
+
methodMap_["getCurrentInvertColorsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState};
|
|
222
|
+
methodMap_["getCurrentReduceMotionState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState};
|
|
223
|
+
methodMap_["getCurrentPrefersCrossFadeTransitionsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState};
|
|
224
|
+
methodMap_["getCurrentReduceTransparencyState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState};
|
|
225
|
+
methodMap_["getCurrentVoiceOverState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState};
|
|
226
|
+
methodMap_["setAccessibilityContentSizeMultipliers"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers};
|
|
227
|
+
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus};
|
|
228
|
+
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility};
|
|
229
|
+
methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions};
|
|
230
|
+
}
|
|
15
231
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
16
232
|
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
17
233
|
rt
|
|
@@ -61,26 +277,6 @@ NativeAlertManagerCxxSpecJSI::NativeAlertManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
61
277
|
: TurboModule("AlertManager", jsInvoker) {
|
|
62
278
|
methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs};
|
|
63
279
|
}
|
|
64
|
-
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
65
|
-
return static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->getConstants(
|
|
66
|
-
rt
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
70
|
-
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
71
|
-
rt,
|
|
72
|
-
args[0].asObject(rt),
|
|
73
|
-
args[1].asObject(rt).asFunction(rt),
|
|
74
|
-
args[2].asObject(rt).asFunction(rt)
|
|
75
|
-
);
|
|
76
|
-
return jsi::Value::undefined();
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
80
|
-
: TurboModule("Alert", jsInvoker) {
|
|
81
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstants};
|
|
82
|
-
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert};
|
|
83
|
-
}
|
|
84
280
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
85
281
|
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
|
86
282
|
rt
|
|
@@ -501,48 +697,102 @@ NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::sh
|
|
|
501
697
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners};
|
|
502
698
|
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
|
503
699
|
}
|
|
504
|
-
static jsi::Value
|
|
505
|
-
|
|
700
|
+
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
701
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
|
506
702
|
rt
|
|
507
703
|
);
|
|
704
|
+
return jsi::Value::undefined();
|
|
508
705
|
}
|
|
509
|
-
static jsi::Value
|
|
510
|
-
static_cast<
|
|
706
|
+
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
707
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(
|
|
511
708
|
rt,
|
|
512
|
-
args[0].
|
|
513
|
-
args[1].asObject(rt).asFunction(rt)
|
|
709
|
+
args[0].asNumber()
|
|
514
710
|
);
|
|
515
711
|
return jsi::Value::undefined();
|
|
516
712
|
}
|
|
517
|
-
|
|
518
|
-
|
|
713
|
+
|
|
714
|
+
NativeAnimationsDebugModuleCxxSpecJSI::NativeAnimationsDebugModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
715
|
+
: TurboModule("AnimationsDebugModule", jsInvoker) {
|
|
716
|
+
methodMap_["startRecordingFps"] = MethodMetadata {0, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps};
|
|
717
|
+
methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps};
|
|
718
|
+
}
|
|
719
|
+
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
720
|
+
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
|
721
|
+
rt
|
|
722
|
+
);
|
|
723
|
+
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
724
|
+
}
|
|
725
|
+
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
726
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
519
727
|
rt,
|
|
520
728
|
args[0].asString(rt)
|
|
521
729
|
);
|
|
522
730
|
return jsi::Value::undefined();
|
|
523
731
|
}
|
|
524
|
-
static jsi::Value
|
|
525
|
-
static_cast<
|
|
732
|
+
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
733
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
526
734
|
rt,
|
|
527
|
-
args[0].
|
|
735
|
+
args[0].asString(rt)
|
|
528
736
|
);
|
|
529
737
|
return jsi::Value::undefined();
|
|
530
738
|
}
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
methodMap_["getCurrentAppState"] = MethodMetadata {2, __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState};
|
|
536
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_addListener};
|
|
537
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_removeListeners};
|
|
538
|
-
}
|
|
539
|
-
static jsi::Value __hostFunction_NativeAppThemeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
540
|
-
return static_cast<NativeAppThemeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
541
|
-
rt
|
|
739
|
+
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
740
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
741
|
+
rt,
|
|
742
|
+
args[0].asNumber()
|
|
542
743
|
);
|
|
744
|
+
return jsi::Value::undefined();
|
|
543
745
|
}
|
|
544
746
|
|
|
545
|
-
|
|
747
|
+
NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
748
|
+
: TurboModule("Appearance", jsInvoker) {
|
|
749
|
+
methodMap_["getColorScheme"] = MethodMetadata {0, __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme};
|
|
750
|
+
methodMap_["setColorScheme"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme};
|
|
751
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_addListener};
|
|
752
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
|
|
753
|
+
}
|
|
754
|
+
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
755
|
+
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(
|
|
756
|
+
rt
|
|
757
|
+
);
|
|
758
|
+
}
|
|
759
|
+
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
760
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
761
|
+
rt,
|
|
762
|
+
args[0].asObject(rt).asFunction(rt),
|
|
763
|
+
args[1].asObject(rt).asFunction(rt)
|
|
764
|
+
);
|
|
765
|
+
return jsi::Value::undefined();
|
|
766
|
+
}
|
|
767
|
+
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
768
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
769
|
+
rt,
|
|
770
|
+
args[0].asString(rt)
|
|
771
|
+
);
|
|
772
|
+
return jsi::Value::undefined();
|
|
773
|
+
}
|
|
774
|
+
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
775
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
776
|
+
rt,
|
|
777
|
+
args[0].asNumber()
|
|
778
|
+
);
|
|
779
|
+
return jsi::Value::undefined();
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
NativeAppStateCxxSpecJSI::NativeAppStateCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
783
|
+
: TurboModule("AppState", jsInvoker) {
|
|
784
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppStateCxxSpecJSI_getConstants};
|
|
785
|
+
methodMap_["getCurrentAppState"] = MethodMetadata {2, __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState};
|
|
786
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_addListener};
|
|
787
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_removeListeners};
|
|
788
|
+
}
|
|
789
|
+
static jsi::Value __hostFunction_NativeAppThemeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
790
|
+
return static_cast<NativeAppThemeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
791
|
+
rt
|
|
792
|
+
);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
NativeAppThemeCxxSpecJSI::NativeAppThemeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
546
796
|
: TurboModule("AppTheme", jsInvoker) {
|
|
547
797
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppThemeCxxSpecJSI_getConstants};
|
|
548
798
|
}
|
|
@@ -605,25 +855,6 @@ NativeBlobModuleCxxSpecJSI::NativeBlobModuleCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
605
855
|
methodMap_["createFromParts"] = MethodMetadata {2, __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts};
|
|
606
856
|
methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_release};
|
|
607
857
|
}
|
|
608
|
-
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
609
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
610
|
-
rt,
|
|
611
|
-
args[0].asObject(rt)
|
|
612
|
-
);
|
|
613
|
-
}
|
|
614
|
-
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
615
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
616
|
-
rt,
|
|
617
|
-
args[0].asObject(rt),
|
|
618
|
-
args[1].asString(rt)
|
|
619
|
-
);
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
623
|
-
: TurboModule("FileReaderModule", jsInvoker) {
|
|
624
|
-
methodMap_["readAsDataURL"] = MethodMetadata {1, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL};
|
|
625
|
-
methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText};
|
|
626
|
-
}
|
|
627
858
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
628
859
|
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(
|
|
629
860
|
rt
|
|
@@ -638,299 +869,350 @@ static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData(jsi::
|
|
|
638
869
|
);
|
|
639
870
|
return jsi::Value::undefined();
|
|
640
871
|
}
|
|
641
|
-
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
642
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(
|
|
643
|
-
rt,
|
|
644
|
-
args[0].asString(rt)
|
|
645
|
-
);
|
|
646
|
-
return jsi::Value::undefined();
|
|
647
|
-
}
|
|
648
872
|
|
|
649
873
|
NativeBugReportingCxxSpecJSI::NativeBugReportingCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
650
874
|
: TurboModule("BugReporting", jsInvoker) {
|
|
651
875
|
methodMap_["startReportAProblemFlow"] = MethodMetadata {0, __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow};
|
|
652
876
|
methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData};
|
|
653
|
-
methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID};
|
|
654
877
|
}
|
|
655
|
-
static jsi::Value
|
|
656
|
-
static_cast<
|
|
657
|
-
rt
|
|
658
|
-
args[0].asString(rt),
|
|
659
|
-
args[1].asObject(rt).asArray(rt),
|
|
660
|
-
args[2].asNumber()
|
|
878
|
+
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
879
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(
|
|
880
|
+
rt
|
|
661
881
|
);
|
|
662
|
-
return jsi::Value::undefined();
|
|
663
882
|
}
|
|
664
|
-
static jsi::Value
|
|
665
|
-
static_cast<
|
|
883
|
+
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
884
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(
|
|
885
|
+
rt
|
|
886
|
+
);
|
|
887
|
+
}
|
|
888
|
+
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
889
|
+
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
666
890
|
rt,
|
|
667
|
-
args[0].asString(rt)
|
|
668
|
-
args[1].asObject(rt).asArray(rt),
|
|
669
|
-
args[2].asNumber()
|
|
891
|
+
args[0].asString(rt)
|
|
670
892
|
);
|
|
671
893
|
return jsi::Value::undefined();
|
|
672
894
|
}
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
895
|
+
|
|
896
|
+
NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
897
|
+
: TurboModule("Clipboard", jsInvoker) {
|
|
898
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeClipboardCxxSpecJSI_getConstants};
|
|
899
|
+
methodMap_["getString"] = MethodMetadata {0, __hostFunction_NativeClipboardCxxSpecJSI_getString};
|
|
900
|
+
methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardCxxSpecJSI_setString};
|
|
901
|
+
}
|
|
902
|
+
static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
903
|
+
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
|
904
|
+
rt
|
|
677
905
|
);
|
|
678
906
|
return jsi::Value::undefined();
|
|
679
907
|
}
|
|
680
|
-
|
|
681
|
-
|
|
908
|
+
|
|
909
|
+
NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
910
|
+
: TurboModule("DeviceEventManager", jsInvoker) {
|
|
911
|
+
methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
|
|
912
|
+
}
|
|
913
|
+
static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
914
|
+
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(
|
|
915
|
+
rt
|
|
916
|
+
);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
920
|
+
: TurboModule("DeviceInfo", jsInvoker) {
|
|
921
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
|
|
922
|
+
}
|
|
923
|
+
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
924
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
682
925
|
rt,
|
|
683
926
|
args[0].asString(rt),
|
|
684
|
-
args[1].
|
|
685
|
-
args[2].asNumber()
|
|
927
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
928
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
686
929
|
);
|
|
687
930
|
return jsi::Value::undefined();
|
|
688
931
|
}
|
|
689
|
-
static jsi::Value
|
|
690
|
-
static_cast<
|
|
932
|
+
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
933
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(
|
|
691
934
|
rt
|
|
692
935
|
);
|
|
693
936
|
return jsi::Value::undefined();
|
|
694
937
|
}
|
|
695
938
|
|
|
696
|
-
|
|
697
|
-
: TurboModule("
|
|
698
|
-
methodMap_["
|
|
699
|
-
methodMap_["
|
|
700
|
-
methodMap_["reportException"] = MethodMetadata {1, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException};
|
|
701
|
-
methodMap_["updateExceptionMessage"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage};
|
|
702
|
-
methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox};
|
|
939
|
+
NativeDevLoadingViewCxxSpecJSI::NativeDevLoadingViewCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
940
|
+
: TurboModule("DevLoadingView", jsInvoker) {
|
|
941
|
+
methodMap_["showMessage"] = MethodMetadata {3, __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage};
|
|
942
|
+
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide};
|
|
703
943
|
}
|
|
704
|
-
static jsi::Value
|
|
705
|
-
static_cast<
|
|
706
|
-
rt
|
|
707
|
-
args[0].asString(rt)
|
|
944
|
+
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
945
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
|
946
|
+
rt
|
|
708
947
|
);
|
|
709
948
|
return jsi::Value::undefined();
|
|
710
949
|
}
|
|
711
|
-
static jsi::Value
|
|
712
|
-
|
|
950
|
+
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
951
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(
|
|
713
952
|
rt
|
|
714
953
|
);
|
|
715
|
-
return
|
|
954
|
+
return jsi::Value::undefined();
|
|
716
955
|
}
|
|
717
|
-
static jsi::Value
|
|
718
|
-
static_cast<
|
|
956
|
+
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
957
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(
|
|
719
958
|
rt,
|
|
720
|
-
args[0].
|
|
959
|
+
args[0].asBool()
|
|
721
960
|
);
|
|
722
961
|
return jsi::Value::undefined();
|
|
723
962
|
}
|
|
724
|
-
static jsi::Value
|
|
725
|
-
|
|
726
|
-
rt
|
|
963
|
+
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
964
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
965
|
+
rt,
|
|
966
|
+
args[0].asBool()
|
|
727
967
|
);
|
|
728
|
-
return
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
NativeDevToolsSettingsManagerCxxSpecJSI::NativeDevToolsSettingsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
732
|
-
: TurboModule("DevToolsSettingsManager", jsInvoker) {
|
|
733
|
-
methodMap_["setConsolePatchSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings};
|
|
734
|
-
methodMap_["getConsolePatchSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings};
|
|
735
|
-
methodMap_["setProfilingSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings};
|
|
736
|
-
methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings};
|
|
968
|
+
return jsi::Value::undefined();
|
|
737
969
|
}
|
|
738
|
-
static jsi::Value
|
|
739
|
-
static_cast<
|
|
970
|
+
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
971
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
740
972
|
rt,
|
|
741
|
-
args[0].
|
|
742
|
-
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
973
|
+
args[0].asBool()
|
|
743
974
|
);
|
|
744
975
|
return jsi::Value::undefined();
|
|
745
976
|
}
|
|
746
977
|
|
|
747
|
-
|
|
748
|
-
: TurboModule("
|
|
749
|
-
methodMap_["
|
|
978
|
+
NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
979
|
+
: TurboModule("DevMenu", jsInvoker) {
|
|
980
|
+
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_show};
|
|
981
|
+
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_reload};
|
|
982
|
+
methodMap_["debugRemotely"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely};
|
|
983
|
+
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled};
|
|
984
|
+
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled};
|
|
750
985
|
}
|
|
751
|
-
static jsi::Value
|
|
752
|
-
|
|
986
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
987
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
|
753
988
|
rt
|
|
754
989
|
);
|
|
755
|
-
}
|
|
756
|
-
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
757
|
-
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
758
|
-
rt,
|
|
759
|
-
args[0].asString(rt),
|
|
760
|
-
args[1].asObject(rt),
|
|
761
|
-
args[2].asObject(rt).asFunction(rt),
|
|
762
|
-
args[3].asObject(rt).asFunction(rt)
|
|
763
|
-
);
|
|
764
990
|
return jsi::Value::undefined();
|
|
765
991
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
: TurboModule("ImageEditingManager", jsInvoker) {
|
|
769
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageEditorCxxSpecJSI_getConstants};
|
|
770
|
-
methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorCxxSpecJSI_cropImage};
|
|
771
|
-
}
|
|
772
|
-
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
773
|
-
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
992
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
993
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
774
994
|
rt,
|
|
775
|
-
args[0].
|
|
995
|
+
args[0].asString(rt)
|
|
776
996
|
);
|
|
777
997
|
return jsi::Value::undefined();
|
|
778
998
|
}
|
|
779
|
-
static jsi::Value
|
|
780
|
-
|
|
999
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1000
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(
|
|
781
1001
|
rt
|
|
782
1002
|
);
|
|
1003
|
+
return jsi::Value::undefined();
|
|
783
1004
|
}
|
|
784
|
-
static jsi::Value
|
|
785
|
-
|
|
1005
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1006
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
786
1007
|
rt,
|
|
787
|
-
args[0].
|
|
1008
|
+
args[0].asBool()
|
|
788
1009
|
);
|
|
1010
|
+
return jsi::Value::undefined();
|
|
789
1011
|
}
|
|
790
|
-
static jsi::Value
|
|
791
|
-
|
|
1012
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1013
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(
|
|
792
1014
|
rt,
|
|
793
|
-
args[0].
|
|
794
|
-
args[1].asObject(rt)
|
|
1015
|
+
args[0].asBool()
|
|
795
1016
|
);
|
|
1017
|
+
return jsi::Value::undefined();
|
|
796
1018
|
}
|
|
797
|
-
static jsi::Value
|
|
798
|
-
|
|
1019
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1020
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
799
1021
|
rt,
|
|
800
|
-
args[0].
|
|
801
|
-
args[1].asNumber()
|
|
1022
|
+
args[0].asBool()
|
|
802
1023
|
);
|
|
1024
|
+
return jsi::Value::undefined();
|
|
803
1025
|
}
|
|
804
|
-
static jsi::Value
|
|
805
|
-
|
|
806
|
-
rt
|
|
807
|
-
args[0].asObject(rt).asArray(rt)
|
|
1026
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1027
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(
|
|
1028
|
+
rt
|
|
808
1029
|
);
|
|
1030
|
+
return jsi::Value::undefined();
|
|
809
1031
|
}
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants};
|
|
815
|
-
methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize};
|
|
816
|
-
methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders};
|
|
817
|
-
methodMap_["prefetchImage"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage};
|
|
818
|
-
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache};
|
|
819
|
-
}
|
|
820
|
-
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
821
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
822
|
-
rt
|
|
1032
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1033
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
1034
|
+
rt,
|
|
1035
|
+
args[0].asString(rt)
|
|
823
1036
|
);
|
|
1037
|
+
return jsi::Value::undefined();
|
|
824
1038
|
}
|
|
825
|
-
static jsi::Value
|
|
826
|
-
|
|
1039
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1040
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
827
1041
|
rt,
|
|
828
1042
|
args[0].asString(rt)
|
|
829
1043
|
);
|
|
1044
|
+
return jsi::Value::undefined();
|
|
830
1045
|
}
|
|
831
|
-
static jsi::Value
|
|
832
|
-
|
|
1046
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1047
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
833
1048
|
rt,
|
|
834
|
-
args[0].
|
|
835
|
-
args[1].asObject(rt)
|
|
1049
|
+
args[0].asNumber()
|
|
836
1050
|
);
|
|
1051
|
+
return jsi::Value::undefined();
|
|
837
1052
|
}
|
|
838
|
-
static jsi::Value
|
|
839
|
-
|
|
1053
|
+
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1054
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
840
1055
|
rt,
|
|
841
|
-
args[0].
|
|
1056
|
+
args[0].asBool()
|
|
842
1057
|
);
|
|
1058
|
+
return jsi::Value::undefined();
|
|
843
1059
|
}
|
|
844
|
-
|
|
845
|
-
|
|
1060
|
+
|
|
1061
|
+
NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1062
|
+
: TurboModule("DevSettings", jsInvoker) {
|
|
1063
|
+
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_reload};
|
|
1064
|
+
methodMap_["reloadWithReason"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason};
|
|
1065
|
+
methodMap_["onFastRefresh"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh};
|
|
1066
|
+
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled};
|
|
1067
|
+
methodMap_["setIsDebuggingRemotely"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely};
|
|
1068
|
+
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled};
|
|
1069
|
+
methodMap_["toggleElementInspector"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector};
|
|
1070
|
+
methodMap_["addMenuItem"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem};
|
|
1071
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addListener};
|
|
1072
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners};
|
|
1073
|
+
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
|
|
1074
|
+
}
|
|
1075
|
+
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1076
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(
|
|
846
1077
|
rt,
|
|
847
|
-
args[0].asString(rt)
|
|
848
|
-
args[1].asString(rt),
|
|
849
|
-
args[2].getNumber()
|
|
1078
|
+
args[0].asString(rt)
|
|
850
1079
|
);
|
|
1080
|
+
return jsi::Value::undefined();
|
|
851
1081
|
}
|
|
852
|
-
static jsi::Value
|
|
853
|
-
|
|
1082
|
+
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1083
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(
|
|
1084
|
+
rt
|
|
1085
|
+
);
|
|
1086
|
+
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
1087
|
+
}
|
|
1088
|
+
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1089
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(
|
|
854
1090
|
rt,
|
|
855
|
-
args[0].
|
|
1091
|
+
args[0].asString(rt)
|
|
856
1092
|
);
|
|
1093
|
+
return jsi::Value::undefined();
|
|
1094
|
+
}
|
|
1095
|
+
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1096
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(
|
|
1097
|
+
rt
|
|
1098
|
+
);
|
|
1099
|
+
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
857
1100
|
}
|
|
858
1101
|
|
|
859
|
-
|
|
860
|
-
: TurboModule("
|
|
861
|
-
methodMap_["
|
|
862
|
-
methodMap_["
|
|
863
|
-
methodMap_["
|
|
864
|
-
methodMap_["
|
|
865
|
-
methodMap_["prefetchImageWithMetadata"] = MethodMetadata {3, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata};
|
|
866
|
-
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache};
|
|
1102
|
+
NativeDevToolsSettingsManagerCxxSpecJSI::NativeDevToolsSettingsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1103
|
+
: TurboModule("DevToolsSettingsManager", jsInvoker) {
|
|
1104
|
+
methodMap_["setConsolePatchSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings};
|
|
1105
|
+
methodMap_["getConsolePatchSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings};
|
|
1106
|
+
methodMap_["setProfilingSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings};
|
|
1107
|
+
methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings};
|
|
867
1108
|
}
|
|
868
|
-
static jsi::Value
|
|
869
|
-
return static_cast<
|
|
1109
|
+
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1110
|
+
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
870
1111
|
rt
|
|
871
1112
|
);
|
|
872
1113
|
}
|
|
873
|
-
static jsi::Value
|
|
874
|
-
static_cast<
|
|
1114
|
+
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1115
|
+
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
875
1116
|
rt,
|
|
876
|
-
args[0].
|
|
1117
|
+
args[0].asObject(rt),
|
|
877
1118
|
args[1].asObject(rt).asFunction(rt),
|
|
878
1119
|
args[2].asObject(rt).asFunction(rt)
|
|
879
1120
|
);
|
|
880
1121
|
return jsi::Value::undefined();
|
|
881
1122
|
}
|
|
882
1123
|
|
|
883
|
-
|
|
884
|
-
: TurboModule("
|
|
885
|
-
methodMap_["getConstants"] = MethodMetadata {0,
|
|
886
|
-
methodMap_["
|
|
1124
|
+
NativeDialogManagerAndroidCxxSpecJSI::NativeDialogManagerAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1125
|
+
: TurboModule("DialogManagerAndroid", jsInvoker) {
|
|
1126
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants};
|
|
1127
|
+
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert};
|
|
887
1128
|
}
|
|
888
|
-
static jsi::Value
|
|
889
|
-
return static_cast<
|
|
1129
|
+
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1130
|
+
return static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->getConstants(
|
|
890
1131
|
rt
|
|
891
1132
|
);
|
|
892
1133
|
}
|
|
893
|
-
static jsi::Value
|
|
894
|
-
static_cast<
|
|
1134
|
+
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1135
|
+
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
895
1136
|
rt,
|
|
896
|
-
args[0].
|
|
1137
|
+
args[0].asObject(rt),
|
|
897
1138
|
args[1].asObject(rt).asFunction(rt),
|
|
898
1139
|
args[2].asObject(rt).asFunction(rt)
|
|
899
1140
|
);
|
|
900
1141
|
return jsi::Value::undefined();
|
|
901
1142
|
}
|
|
902
|
-
|
|
903
|
-
|
|
1143
|
+
|
|
1144
|
+
NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1145
|
+
: TurboModule("Alert", jsInvoker) {
|
|
1146
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstants};
|
|
1147
|
+
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert};
|
|
1148
|
+
}
|
|
1149
|
+
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1150
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
904
1151
|
rt,
|
|
905
1152
|
args[0].asString(rt),
|
|
906
|
-
args[1].asObject(rt).
|
|
1153
|
+
args[1].asObject(rt).asArray(rt),
|
|
1154
|
+
args[2].asNumber()
|
|
907
1155
|
);
|
|
908
1156
|
return jsi::Value::undefined();
|
|
909
1157
|
}
|
|
910
|
-
static jsi::Value
|
|
911
|
-
static_cast<
|
|
1158
|
+
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1159
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
912
1160
|
rt,
|
|
913
|
-
args[0].asString(rt)
|
|
1161
|
+
args[0].asString(rt),
|
|
1162
|
+
args[1].asObject(rt).asArray(rt),
|
|
1163
|
+
args[2].asNumber()
|
|
914
1164
|
);
|
|
915
1165
|
return jsi::Value::undefined();
|
|
916
1166
|
}
|
|
917
|
-
static jsi::Value
|
|
918
|
-
static_cast<
|
|
1167
|
+
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1168
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
1169
|
+
rt,
|
|
1170
|
+
args[0].asObject(rt)
|
|
1171
|
+
);
|
|
1172
|
+
return jsi::Value::undefined();
|
|
1173
|
+
}
|
|
1174
|
+
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1175
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(
|
|
919
1176
|
rt,
|
|
920
1177
|
args[0].asString(rt),
|
|
921
|
-
args[1].asObject(rt).
|
|
922
|
-
args[2].
|
|
1178
|
+
args[1].asObject(rt).asArray(rt),
|
|
1179
|
+
args[2].asNumber()
|
|
1180
|
+
);
|
|
1181
|
+
return jsi::Value::undefined();
|
|
1182
|
+
}
|
|
1183
|
+
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1184
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(
|
|
1185
|
+
rt
|
|
923
1186
|
);
|
|
924
1187
|
return jsi::Value::undefined();
|
|
925
1188
|
}
|
|
926
1189
|
|
|
927
|
-
|
|
928
|
-
: TurboModule("
|
|
929
|
-
methodMap_["
|
|
930
|
-
methodMap_["
|
|
931
|
-
methodMap_["
|
|
932
|
-
methodMap_["
|
|
933
|
-
methodMap_["
|
|
1190
|
+
NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1191
|
+
: TurboModule("ExceptionsManager", jsInvoker) {
|
|
1192
|
+
methodMap_["reportFatalException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException};
|
|
1193
|
+
methodMap_["reportSoftException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException};
|
|
1194
|
+
methodMap_["reportException"] = MethodMetadata {1, __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException};
|
|
1195
|
+
methodMap_["updateExceptionMessage"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage};
|
|
1196
|
+
methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox};
|
|
1197
|
+
}
|
|
1198
|
+
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1199
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
1200
|
+
rt,
|
|
1201
|
+
args[0].asObject(rt)
|
|
1202
|
+
);
|
|
1203
|
+
}
|
|
1204
|
+
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1205
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
1206
|
+
rt,
|
|
1207
|
+
args[0].asObject(rt),
|
|
1208
|
+
args[1].asString(rt)
|
|
1209
|
+
);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1213
|
+
: TurboModule("FileReaderModule", jsInvoker) {
|
|
1214
|
+
methodMap_["readAsDataURL"] = MethodMetadata {1, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL};
|
|
1215
|
+
methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText};
|
|
934
1216
|
}
|
|
935
1217
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
936
1218
|
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
@@ -966,291 +1248,335 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
|
966
1248
|
methodMap_["beginScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll};
|
|
967
1249
|
methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll};
|
|
968
1250
|
}
|
|
969
|
-
static jsi::Value
|
|
970
|
-
static_cast<
|
|
1251
|
+
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1252
|
+
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
971
1253
|
rt,
|
|
972
|
-
args[0].
|
|
1254
|
+
args[0].asNumber()
|
|
973
1255
|
);
|
|
974
1256
|
return jsi::Value::undefined();
|
|
975
1257
|
}
|
|
976
|
-
static jsi::Value
|
|
977
|
-
static_cast<
|
|
1258
|
+
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1259
|
+
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
978
1260
|
rt,
|
|
979
|
-
args[0].asNumber()
|
|
980
|
-
jsi::Value(rt, args[1])
|
|
1261
|
+
args[0].asNumber()
|
|
981
1262
|
);
|
|
982
|
-
return jsi::Value::undefined();
|
|
983
1263
|
}
|
|
984
|
-
|
|
985
|
-
|
|
1264
|
+
|
|
1265
|
+
NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1266
|
+
: TurboModule("HeadlessJsTaskSupport", jsInvoker) {
|
|
1267
|
+
methodMap_["notifyTaskFinished"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished};
|
|
1268
|
+
methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry};
|
|
1269
|
+
}
|
|
1270
|
+
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1271
|
+
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1272
|
+
rt
|
|
1273
|
+
);
|
|
1274
|
+
}
|
|
1275
|
+
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1276
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
986
1277
|
rt,
|
|
987
|
-
args[0].
|
|
1278
|
+
args[0].asBool()
|
|
988
1279
|
);
|
|
989
1280
|
return jsi::Value::undefined();
|
|
990
1281
|
}
|
|
991
|
-
static jsi::Value
|
|
992
|
-
static_cast<
|
|
993
|
-
rt
|
|
1282
|
+
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1283
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1284
|
+
rt,
|
|
1285
|
+
args[0].asBool()
|
|
994
1286
|
);
|
|
995
1287
|
return jsi::Value::undefined();
|
|
996
1288
|
}
|
|
997
|
-
static jsi::Value
|
|
998
|
-
|
|
999
|
-
rt
|
|
1289
|
+
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1290
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1291
|
+
rt,
|
|
1292
|
+
args[0].asBool()
|
|
1000
1293
|
);
|
|
1294
|
+
return jsi::Value::undefined();
|
|
1001
1295
|
}
|
|
1002
1296
|
|
|
1003
|
-
|
|
1004
|
-
: TurboModule("
|
|
1005
|
-
methodMap_["
|
|
1006
|
-
methodMap_["
|
|
1007
|
-
methodMap_["
|
|
1008
|
-
methodMap_["
|
|
1009
|
-
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords};
|
|
1297
|
+
NativeI18nManagerCxxSpecJSI::NativeI18nManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1298
|
+
: TurboModule("I18nManager", jsInvoker) {
|
|
1299
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants};
|
|
1300
|
+
methodMap_["allowRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL};
|
|
1301
|
+
methodMap_["forceRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL};
|
|
1302
|
+
methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL};
|
|
1010
1303
|
}
|
|
1011
|
-
static jsi::Value
|
|
1012
|
-
return static_cast<
|
|
1304
|
+
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1305
|
+
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1013
1306
|
rt
|
|
1014
1307
|
);
|
|
1015
1308
|
}
|
|
1016
|
-
static jsi::Value
|
|
1017
|
-
|
|
1309
|
+
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1310
|
+
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
1018
1311
|
rt,
|
|
1019
|
-
args[0].asString(rt)
|
|
1312
|
+
args[0].asString(rt),
|
|
1313
|
+
args[1].asObject(rt),
|
|
1314
|
+
args[2].asObject(rt).asFunction(rt),
|
|
1315
|
+
args[3].asObject(rt).asFunction(rt)
|
|
1020
1316
|
);
|
|
1317
|
+
return jsi::Value::undefined();
|
|
1021
1318
|
}
|
|
1022
|
-
|
|
1023
|
-
|
|
1319
|
+
|
|
1320
|
+
NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1321
|
+
: TurboModule("ImageEditingManager", jsInvoker) {
|
|
1322
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageEditorCxxSpecJSI_getConstants};
|
|
1323
|
+
methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorCxxSpecJSI_cropImage};
|
|
1324
|
+
}
|
|
1325
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1326
|
+
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1024
1327
|
rt,
|
|
1025
|
-
args[0].
|
|
1328
|
+
args[0].asNumber()
|
|
1026
1329
|
);
|
|
1330
|
+
return jsi::Value::undefined();
|
|
1027
1331
|
}
|
|
1028
|
-
static jsi::Value
|
|
1029
|
-
return static_cast<
|
|
1332
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1333
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1030
1334
|
rt
|
|
1031
1335
|
);
|
|
1032
1336
|
}
|
|
1033
|
-
static jsi::Value
|
|
1034
|
-
return static_cast<
|
|
1337
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1338
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
1339
|
+
rt,
|
|
1340
|
+
args[0].asString(rt)
|
|
1341
|
+
);
|
|
1342
|
+
}
|
|
1343
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1344
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1035
1345
|
rt,
|
|
1036
1346
|
args[0].asString(rt),
|
|
1037
|
-
args[1].
|
|
1347
|
+
args[1].asObject(rt)
|
|
1348
|
+
);
|
|
1349
|
+
}
|
|
1350
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1351
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1352
|
+
rt,
|
|
1353
|
+
args[0].asString(rt),
|
|
1354
|
+
args[1].asNumber()
|
|
1355
|
+
);
|
|
1356
|
+
}
|
|
1357
|
+
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1358
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1359
|
+
rt,
|
|
1360
|
+
args[0].asObject(rt).asArray(rt)
|
|
1038
1361
|
);
|
|
1039
1362
|
}
|
|
1040
1363
|
|
|
1041
|
-
|
|
1042
|
-
: TurboModule("
|
|
1043
|
-
methodMap_["
|
|
1044
|
-
methodMap_["
|
|
1045
|
-
methodMap_["
|
|
1046
|
-
methodMap_["
|
|
1047
|
-
methodMap_["
|
|
1364
|
+
NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1365
|
+
: TurboModule("ImageLoader", jsInvoker) {
|
|
1366
|
+
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest};
|
|
1367
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants};
|
|
1368
|
+
methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize};
|
|
1369
|
+
methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders};
|
|
1370
|
+
methodMap_["prefetchImage"] = MethodMetadata {2, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage};
|
|
1371
|
+
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache};
|
|
1048
1372
|
}
|
|
1049
|
-
static jsi::Value
|
|
1050
|
-
return static_cast<
|
|
1373
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1374
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1051
1375
|
rt
|
|
1052
1376
|
);
|
|
1053
1377
|
}
|
|
1054
|
-
static jsi::Value
|
|
1055
|
-
return static_cast<
|
|
1378
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1379
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
1056
1380
|
rt,
|
|
1057
1381
|
args[0].asString(rt)
|
|
1058
1382
|
);
|
|
1059
1383
|
}
|
|
1060
|
-
static jsi::Value
|
|
1061
|
-
return static_cast<
|
|
1384
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1385
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
1062
1386
|
rt,
|
|
1063
|
-
args[0].asString(rt)
|
|
1387
|
+
args[0].asString(rt),
|
|
1388
|
+
args[1].asObject(rt)
|
|
1064
1389
|
);
|
|
1065
1390
|
}
|
|
1066
|
-
static jsi::Value
|
|
1067
|
-
return static_cast<
|
|
1068
|
-
rt
|
|
1391
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1392
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
1393
|
+
rt,
|
|
1394
|
+
args[0].asString(rt)
|
|
1069
1395
|
);
|
|
1070
1396
|
}
|
|
1071
|
-
static jsi::Value
|
|
1072
|
-
static_cast<
|
|
1397
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1398
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
1073
1399
|
rt,
|
|
1074
|
-
args[0].asString(rt)
|
|
1400
|
+
args[0].asString(rt),
|
|
1401
|
+
args[1].asString(rt),
|
|
1402
|
+
args[2].getNumber()
|
|
1075
1403
|
);
|
|
1076
|
-
return jsi::Value::undefined();
|
|
1077
1404
|
}
|
|
1078
|
-
static jsi::Value
|
|
1079
|
-
static_cast<
|
|
1405
|
+
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1406
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
1080
1407
|
rt,
|
|
1081
|
-
args[0].
|
|
1408
|
+
args[0].asObject(rt).asArray(rt)
|
|
1082
1409
|
);
|
|
1083
|
-
return jsi::Value::undefined();
|
|
1084
1410
|
}
|
|
1085
1411
|
|
|
1086
|
-
|
|
1087
|
-
: TurboModule("
|
|
1088
|
-
methodMap_["
|
|
1089
|
-
methodMap_["
|
|
1090
|
-
methodMap_["
|
|
1091
|
-
methodMap_["
|
|
1092
|
-
methodMap_["
|
|
1093
|
-
methodMap_["
|
|
1412
|
+
NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1413
|
+
: TurboModule("ImageLoader", jsInvoker) {
|
|
1414
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants};
|
|
1415
|
+
methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize};
|
|
1416
|
+
methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders};
|
|
1417
|
+
methodMap_["prefetchImage"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage};
|
|
1418
|
+
methodMap_["prefetchImageWithMetadata"] = MethodMetadata {3, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata};
|
|
1419
|
+
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache};
|
|
1094
1420
|
}
|
|
1095
|
-
static jsi::Value
|
|
1096
|
-
static_cast<
|
|
1097
|
-
rt
|
|
1098
|
-
args[0].asString(rt)
|
|
1421
|
+
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1422
|
+
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1423
|
+
rt
|
|
1099
1424
|
);
|
|
1100
|
-
return jsi::Value::undefined();
|
|
1101
1425
|
}
|
|
1102
|
-
static jsi::Value
|
|
1103
|
-
static_cast<
|
|
1426
|
+
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1427
|
+
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1104
1428
|
rt,
|
|
1105
|
-
args[0].
|
|
1429
|
+
args[0].asString(rt),
|
|
1430
|
+
args[1].asObject(rt).asFunction(rt),
|
|
1431
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1106
1432
|
);
|
|
1107
1433
|
return jsi::Value::undefined();
|
|
1108
1434
|
}
|
|
1109
1435
|
|
|
1110
|
-
|
|
1111
|
-
: TurboModule("
|
|
1112
|
-
methodMap_["
|
|
1113
|
-
methodMap_["
|
|
1436
|
+
NativeImageStoreAndroidCxxSpecJSI::NativeImageStoreAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1437
|
+
: TurboModule("ImageStoreManager", jsInvoker) {
|
|
1438
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants};
|
|
1439
|
+
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag};
|
|
1114
1440
|
}
|
|
1115
|
-
static jsi::Value
|
|
1116
|
-
static_cast<
|
|
1117
|
-
rt
|
|
1118
|
-
args[0].asObject(rt)
|
|
1441
|
+
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1442
|
+
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1443
|
+
rt
|
|
1119
1444
|
);
|
|
1120
|
-
return jsi::Value::undefined();
|
|
1121
1445
|
}
|
|
1122
|
-
static jsi::Value
|
|
1123
|
-
static_cast<
|
|
1446
|
+
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1447
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
1124
1448
|
rt,
|
|
1125
|
-
args[0].
|
|
1126
|
-
|
|
1449
|
+
args[0].asString(rt),
|
|
1450
|
+
args[1].asObject(rt).asFunction(rt),
|
|
1451
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1127
1452
|
);
|
|
1128
1453
|
return jsi::Value::undefined();
|
|
1129
1454
|
}
|
|
1130
|
-
static jsi::Value
|
|
1131
|
-
static_cast<
|
|
1455
|
+
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1456
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
1132
1457
|
rt,
|
|
1133
|
-
args[0].
|
|
1458
|
+
args[0].asString(rt),
|
|
1134
1459
|
args[1].asObject(rt).asFunction(rt)
|
|
1135
1460
|
);
|
|
1136
1461
|
return jsi::Value::undefined();
|
|
1137
1462
|
}
|
|
1138
|
-
static jsi::Value
|
|
1139
|
-
static_cast<
|
|
1140
|
-
rt
|
|
1463
|
+
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1464
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
1465
|
+
rt,
|
|
1466
|
+
args[0].asString(rt)
|
|
1141
1467
|
);
|
|
1142
1468
|
return jsi::Value::undefined();
|
|
1143
1469
|
}
|
|
1144
|
-
static jsi::Value
|
|
1145
|
-
|
|
1146
|
-
rt
|
|
1147
|
-
);
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
NativeMutationObserverCxxSpecJSI::NativeMutationObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1151
|
-
: TurboModule("NativeMutationObserverCxx", jsInvoker) {
|
|
1152
|
-
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeMutationObserverCxxSpecJSI_observe};
|
|
1153
|
-
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve};
|
|
1154
|
-
methodMap_["connect"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_connect};
|
|
1155
|
-
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect};
|
|
1156
|
-
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords};
|
|
1157
|
-
}
|
|
1158
|
-
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1159
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1470
|
+
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1471
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
1160
1472
|
rt,
|
|
1161
1473
|
args[0].asString(rt),
|
|
1162
|
-
args[1].
|
|
1163
|
-
args[2].
|
|
1164
|
-
args[3].asObject(rt).asArray(rt),
|
|
1165
|
-
args[4].asObject(rt),
|
|
1166
|
-
args[5].asString(rt),
|
|
1167
|
-
args[6].asBool(),
|
|
1168
|
-
args[7].asNumber(),
|
|
1169
|
-
args[8].asBool()
|
|
1474
|
+
args[1].asObject(rt).asFunction(rt),
|
|
1475
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1170
1476
|
);
|
|
1171
1477
|
return jsi::Value::undefined();
|
|
1172
1478
|
}
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1479
|
+
|
|
1480
|
+
NativeImageStoreIOSCxxSpecJSI::NativeImageStoreIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1481
|
+
: TurboModule("ImageStoreManager", jsInvoker) {
|
|
1482
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants};
|
|
1483
|
+
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag};
|
|
1484
|
+
methodMap_["hasImageForTag"] = MethodMetadata {2, __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag};
|
|
1485
|
+
methodMap_["removeImageForTag"] = MethodMetadata {1, __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag};
|
|
1486
|
+
methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64};
|
|
1487
|
+
}
|
|
1488
|
+
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1489
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1490
|
+
rt
|
|
1177
1491
|
);
|
|
1178
|
-
return jsi::Value::undefined();
|
|
1179
1492
|
}
|
|
1180
|
-
static jsi::Value
|
|
1181
|
-
static_cast<
|
|
1493
|
+
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1494
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1182
1495
|
rt,
|
|
1183
|
-
args[0].
|
|
1496
|
+
args[0].asString(rt)
|
|
1184
1497
|
);
|
|
1185
|
-
return jsi::Value::undefined();
|
|
1186
1498
|
}
|
|
1187
|
-
static jsi::Value
|
|
1188
|
-
static_cast<
|
|
1499
|
+
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1500
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1189
1501
|
rt,
|
|
1190
1502
|
args[0].asString(rt)
|
|
1191
1503
|
);
|
|
1192
|
-
return jsi::Value::undefined();
|
|
1193
1504
|
}
|
|
1194
|
-
static jsi::Value
|
|
1195
|
-
static_cast<
|
|
1505
|
+
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1506
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1507
|
+
rt
|
|
1508
|
+
);
|
|
1509
|
+
}
|
|
1510
|
+
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1511
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1196
1512
|
rt,
|
|
1197
|
-
args[0].
|
|
1513
|
+
args[0].asString(rt),
|
|
1514
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
1198
1515
|
);
|
|
1199
|
-
return jsi::Value::undefined();
|
|
1200
1516
|
}
|
|
1201
1517
|
|
|
1202
|
-
|
|
1203
|
-
: TurboModule("
|
|
1204
|
-
methodMap_["
|
|
1205
|
-
methodMap_["
|
|
1206
|
-
methodMap_["
|
|
1207
|
-
methodMap_["
|
|
1208
|
-
methodMap_["
|
|
1518
|
+
NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1519
|
+
: TurboModule("IntentAndroid", jsInvoker) {
|
|
1520
|
+
methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL};
|
|
1521
|
+
methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL};
|
|
1522
|
+
methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL};
|
|
1523
|
+
methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings};
|
|
1524
|
+
methodMap_["sendIntent"] = MethodMetadata {2, __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent};
|
|
1209
1525
|
}
|
|
1210
|
-
static jsi::Value
|
|
1211
|
-
static_cast<
|
|
1526
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1527
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
1212
1528
|
rt,
|
|
1213
|
-
args[0].asObject(rt)
|
|
1214
|
-
args[1].asObject(rt).asFunction(rt)
|
|
1529
|
+
args[0].asObject(rt)
|
|
1215
1530
|
);
|
|
1216
1531
|
return jsi::Value::undefined();
|
|
1217
1532
|
}
|
|
1218
|
-
static jsi::Value
|
|
1219
|
-
static_cast<
|
|
1533
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1534
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
1220
1535
|
rt,
|
|
1221
|
-
args[0].asNumber()
|
|
1536
|
+
args[0].asNumber(),
|
|
1537
|
+
jsi::Value(rt, args[1])
|
|
1222
1538
|
);
|
|
1223
1539
|
return jsi::Value::undefined();
|
|
1224
1540
|
}
|
|
1225
|
-
static jsi::Value
|
|
1226
|
-
static_cast<
|
|
1541
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1542
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
1227
1543
|
rt,
|
|
1228
1544
|
args[0].asObject(rt).asFunction(rt)
|
|
1229
1545
|
);
|
|
1230
1546
|
return jsi::Value::undefined();
|
|
1231
1547
|
}
|
|
1232
|
-
static jsi::Value
|
|
1233
|
-
static_cast<
|
|
1234
|
-
rt
|
|
1235
|
-
args[0].asString(rt)
|
|
1548
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1549
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
|
1550
|
+
rt
|
|
1236
1551
|
);
|
|
1237
1552
|
return jsi::Value::undefined();
|
|
1238
1553
|
}
|
|
1239
|
-
static jsi::Value
|
|
1240
|
-
static_cast<
|
|
1554
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1555
|
+
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
1556
|
+
rt
|
|
1557
|
+
);
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1561
|
+
: TurboModule("NativeIntersectionObserverCxx", jsInvoker) {
|
|
1562
|
+
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe};
|
|
1563
|
+
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve};
|
|
1564
|
+
methodMap_["connect"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect};
|
|
1565
|
+
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect};
|
|
1566
|
+
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords};
|
|
1567
|
+
}
|
|
1568
|
+
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1569
|
+
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
1241
1570
|
rt,
|
|
1242
|
-
args[0].
|
|
1571
|
+
args[0].asString(rt),
|
|
1572
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
1243
1573
|
);
|
|
1244
1574
|
return jsi::Value::undefined();
|
|
1245
1575
|
}
|
|
1246
1576
|
|
|
1247
|
-
|
|
1248
|
-
: TurboModule("
|
|
1249
|
-
methodMap_["
|
|
1250
|
-
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest};
|
|
1251
|
-
methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies};
|
|
1252
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener};
|
|
1253
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners};
|
|
1577
|
+
NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1578
|
+
: TurboModule("JSCHeapCapture", jsInvoker) {
|
|
1579
|
+
methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete};
|
|
1254
1580
|
}
|
|
1255
1581
|
static jsi::Value __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1256
1582
|
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(
|
|
@@ -1266,1040 +1592,691 @@ NativeJSCSamplingProfilerCxxSpecJSI::NativeJSCSamplingProfilerCxxSpecJSI(std::sh
|
|
|
1266
1592
|
: TurboModule("JSCSamplingProfiler", jsInvoker) {
|
|
1267
1593
|
methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete};
|
|
1268
1594
|
}
|
|
1269
|
-
static jsi::Value
|
|
1270
|
-
|
|
1595
|
+
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1596
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
1271
1597
|
rt,
|
|
1272
1598
|
args[0].asString(rt)
|
|
1273
1599
|
);
|
|
1600
|
+
return jsi::Value::undefined();
|
|
1274
1601
|
}
|
|
1275
|
-
static jsi::Value
|
|
1276
|
-
|
|
1602
|
+
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1603
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1277
1604
|
rt,
|
|
1278
|
-
args[0].
|
|
1605
|
+
args[0].asNumber()
|
|
1279
1606
|
);
|
|
1607
|
+
return jsi::Value::undefined();
|
|
1280
1608
|
}
|
|
1281
|
-
|
|
1282
|
-
|
|
1609
|
+
|
|
1610
|
+
NativeKeyboardObserverCxxSpecJSI::NativeKeyboardObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1611
|
+
: TurboModule("KeyboardObserver", jsInvoker) {
|
|
1612
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener};
|
|
1613
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners};
|
|
1614
|
+
}
|
|
1615
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1616
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1617
|
+
rt
|
|
1618
|
+
);
|
|
1619
|
+
}
|
|
1620
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1621
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1283
1622
|
rt,
|
|
1284
1623
|
args[0].asString(rt)
|
|
1285
1624
|
);
|
|
1286
1625
|
}
|
|
1287
|
-
static jsi::Value
|
|
1288
|
-
return static_cast<
|
|
1626
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1627
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1289
1628
|
rt,
|
|
1290
|
-
args[0].
|
|
1629
|
+
args[0].asString(rt)
|
|
1291
1630
|
);
|
|
1292
1631
|
}
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
: TurboModule("PermissionsAndroid", jsInvoker) {
|
|
1296
|
-
methodMap_["checkPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission};
|
|
1297
|
-
methodMap_["requestPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission};
|
|
1298
|
-
methodMap_["shouldShowRequestPermissionRationale"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale};
|
|
1299
|
-
methodMap_["requestMultiplePermissions"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions};
|
|
1300
|
-
}
|
|
1301
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1302
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1632
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1633
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1303
1634
|
rt
|
|
1304
1635
|
);
|
|
1305
1636
|
}
|
|
1306
|
-
static jsi::Value
|
|
1307
|
-
static_cast<
|
|
1637
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1638
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1308
1639
|
rt,
|
|
1309
|
-
args[0].asString(rt)
|
|
1310
|
-
args[1].asString(rt)
|
|
1640
|
+
args[0].asString(rt)
|
|
1311
1641
|
);
|
|
1312
1642
|
return jsi::Value::undefined();
|
|
1313
1643
|
}
|
|
1314
|
-
static jsi::Value
|
|
1315
|
-
static_cast<
|
|
1644
|
+
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1645
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1316
1646
|
rt,
|
|
1317
1647
|
args[0].asNumber()
|
|
1318
1648
|
);
|
|
1319
1649
|
return jsi::Value::undefined();
|
|
1320
1650
|
}
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1651
|
+
|
|
1652
|
+
NativeLinkingManagerCxxSpecJSI::NativeLinkingManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1653
|
+
: TurboModule("LinkingManager", jsInvoker) {
|
|
1654
|
+
methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL};
|
|
1655
|
+
methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL};
|
|
1656
|
+
methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL};
|
|
1657
|
+
methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings};
|
|
1658
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener};
|
|
1659
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners};
|
|
1327
1660
|
}
|
|
1328
|
-
static jsi::Value
|
|
1329
|
-
|
|
1330
|
-
rt
|
|
1331
|
-
args[0].asObject(rt)
|
|
1661
|
+
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1662
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(
|
|
1663
|
+
rt
|
|
1332
1664
|
);
|
|
1665
|
+
return jsi::Value::undefined();
|
|
1333
1666
|
}
|
|
1334
|
-
static jsi::Value
|
|
1335
|
-
static_cast<
|
|
1667
|
+
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1668
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(
|
|
1336
1669
|
rt
|
|
1337
1670
|
);
|
|
1338
1671
|
return jsi::Value::undefined();
|
|
1339
1672
|
}
|
|
1340
|
-
|
|
1341
|
-
|
|
1673
|
+
|
|
1674
|
+
NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1675
|
+
: TurboModule("LogBox", jsInvoker) {
|
|
1676
|
+
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_show};
|
|
1677
|
+
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_hide};
|
|
1678
|
+
}
|
|
1679
|
+
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1680
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1342
1681
|
rt,
|
|
1343
|
-
args[0].
|
|
1682
|
+
args[0].asString(rt)
|
|
1344
1683
|
);
|
|
1345
1684
|
return jsi::Value::undefined();
|
|
1346
1685
|
}
|
|
1347
|
-
static jsi::Value
|
|
1348
|
-
static_cast<
|
|
1686
|
+
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1687
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1349
1688
|
rt,
|
|
1350
|
-
args[0].
|
|
1689
|
+
args[0].asNumber()
|
|
1351
1690
|
);
|
|
1352
1691
|
return jsi::Value::undefined();
|
|
1353
1692
|
}
|
|
1354
|
-
|
|
1355
|
-
|
|
1693
|
+
|
|
1694
|
+
NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1695
|
+
: TurboModule("ModalManager", jsInvoker) {
|
|
1696
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_addListener};
|
|
1697
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners};
|
|
1698
|
+
}
|
|
1699
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1700
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
1356
1701
|
rt,
|
|
1357
1702
|
args[0].asObject(rt)
|
|
1358
1703
|
);
|
|
1359
1704
|
return jsi::Value::undefined();
|
|
1360
1705
|
}
|
|
1361
|
-
static jsi::Value
|
|
1362
|
-
static_cast<
|
|
1363
|
-
rt
|
|
1706
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1707
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
1708
|
+
rt,
|
|
1709
|
+
args[0].asNumber(),
|
|
1710
|
+
jsi::Value(rt, args[1])
|
|
1364
1711
|
);
|
|
1365
1712
|
return jsi::Value::undefined();
|
|
1366
1713
|
}
|
|
1367
|
-
static jsi::Value
|
|
1368
|
-
static_cast<
|
|
1714
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1715
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
1369
1716
|
rt,
|
|
1370
|
-
args[0].asObject(rt)
|
|
1717
|
+
args[0].asObject(rt).asFunction(rt),
|
|
1718
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1371
1719
|
);
|
|
1372
1720
|
return jsi::Value::undefined();
|
|
1373
1721
|
}
|
|
1374
|
-
static jsi::Value
|
|
1375
|
-
|
|
1722
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1723
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
|
1376
1724
|
rt
|
|
1377
1725
|
);
|
|
1378
|
-
}
|
|
1379
|
-
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1380
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
1381
|
-
rt,
|
|
1382
|
-
args[0].asObject(rt).asFunction(rt)
|
|
1383
|
-
);
|
|
1384
1726
|
return jsi::Value::undefined();
|
|
1385
1727
|
}
|
|
1386
|
-
static jsi::Value
|
|
1387
|
-
static_cast<
|
|
1728
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1729
|
+
return static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
1388
1730
|
rt
|
|
1389
1731
|
);
|
|
1390
|
-
return jsi::Value::undefined();
|
|
1391
1732
|
}
|
|
1392
|
-
|
|
1393
|
-
|
|
1733
|
+
|
|
1734
|
+
NativeMutationObserverCxxSpecJSI::NativeMutationObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1735
|
+
: TurboModule("NativeMutationObserverCxx", jsInvoker) {
|
|
1736
|
+
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeMutationObserverCxxSpecJSI_observe};
|
|
1737
|
+
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve};
|
|
1738
|
+
methodMap_["connect"] = MethodMetadata {2, __hostFunction_NativeMutationObserverCxxSpecJSI_connect};
|
|
1739
|
+
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect};
|
|
1740
|
+
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords};
|
|
1741
|
+
}
|
|
1742
|
+
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1743
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1394
1744
|
rt,
|
|
1395
|
-
args[0].
|
|
1745
|
+
args[0].asString(rt),
|
|
1746
|
+
args[1].asString(rt),
|
|
1747
|
+
args[2].asNumber(),
|
|
1748
|
+
args[3].asObject(rt).asArray(rt),
|
|
1749
|
+
args[4].asObject(rt),
|
|
1750
|
+
args[5].asString(rt),
|
|
1751
|
+
args[6].asBool(),
|
|
1752
|
+
args[7].asNumber(),
|
|
1753
|
+
args[8].asBool()
|
|
1396
1754
|
);
|
|
1397
1755
|
return jsi::Value::undefined();
|
|
1398
1756
|
}
|
|
1399
|
-
static jsi::Value
|
|
1400
|
-
static_cast<
|
|
1757
|
+
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1758
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1401
1759
|
rt,
|
|
1402
|
-
args[0].
|
|
1760
|
+
args[0].asNumber()
|
|
1403
1761
|
);
|
|
1404
1762
|
return jsi::Value::undefined();
|
|
1405
1763
|
}
|
|
1406
|
-
static jsi::Value
|
|
1407
|
-
static_cast<
|
|
1764
|
+
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1765
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1408
1766
|
rt,
|
|
1409
1767
|
args[0].asObject(rt).asFunction(rt)
|
|
1410
1768
|
);
|
|
1411
1769
|
return jsi::Value::undefined();
|
|
1412
1770
|
}
|
|
1413
|
-
static jsi::Value
|
|
1414
|
-
static_cast<
|
|
1771
|
+
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1772
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1415
1773
|
rt,
|
|
1416
1774
|
args[0].asString(rt)
|
|
1417
1775
|
);
|
|
1418
1776
|
return jsi::Value::undefined();
|
|
1419
1777
|
}
|
|
1420
|
-
static jsi::Value
|
|
1421
|
-
static_cast<
|
|
1778
|
+
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1779
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1422
1780
|
rt,
|
|
1423
1781
|
args[0].asNumber()
|
|
1424
1782
|
);
|
|
1425
1783
|
return jsi::Value::undefined();
|
|
1426
1784
|
}
|
|
1427
1785
|
|
|
1428
|
-
|
|
1429
|
-
: TurboModule("
|
|
1430
|
-
methodMap_["
|
|
1431
|
-
methodMap_["
|
|
1432
|
-
methodMap_["
|
|
1433
|
-
methodMap_["
|
|
1434
|
-
methodMap_["
|
|
1435
|
-
methodMap_["abandonPermissions"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions};
|
|
1436
|
-
methodMap_["checkPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions};
|
|
1437
|
-
methodMap_["presentLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification};
|
|
1438
|
-
methodMap_["scheduleLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification};
|
|
1439
|
-
methodMap_["cancelAllLocalNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications};
|
|
1440
|
-
methodMap_["cancelLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications};
|
|
1441
|
-
methodMap_["getInitialNotification"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification};
|
|
1442
|
-
methodMap_["getScheduledLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications};
|
|
1443
|
-
methodMap_["removeAllDeliveredNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications};
|
|
1444
|
-
methodMap_["removeDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications};
|
|
1445
|
-
methodMap_["getDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications};
|
|
1446
|
-
methodMap_["getAuthorizationStatus"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus};
|
|
1447
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener};
|
|
1448
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners};
|
|
1786
|
+
NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1787
|
+
: TurboModule("Networking", jsInvoker) {
|
|
1788
|
+
methodMap_["sendRequest"] = MethodMetadata {9, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest};
|
|
1789
|
+
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest};
|
|
1790
|
+
methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies};
|
|
1791
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener};
|
|
1792
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners};
|
|
1449
1793
|
}
|
|
1450
|
-
static jsi::Value
|
|
1451
|
-
static_cast<
|
|
1794
|
+
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1795
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1452
1796
|
rt,
|
|
1453
|
-
args[0].
|
|
1797
|
+
args[0].asObject(rt),
|
|
1798
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1454
1799
|
);
|
|
1455
1800
|
return jsi::Value::undefined();
|
|
1456
1801
|
}
|
|
1457
|
-
static jsi::Value
|
|
1458
|
-
|
|
1802
|
+
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1803
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1459
1804
|
rt,
|
|
1460
1805
|
args[0].asNumber()
|
|
1461
1806
|
);
|
|
1807
|
+
return jsi::Value::undefined();
|
|
1462
1808
|
}
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
: TurboModule("HeadlessJsTaskSupport", jsInvoker) {
|
|
1466
|
-
methodMap_["notifyTaskFinished"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished};
|
|
1467
|
-
methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry};
|
|
1468
|
-
}
|
|
1469
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1470
|
-
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1471
|
-
rt
|
|
1472
|
-
);
|
|
1473
|
-
}
|
|
1474
|
-
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1475
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1809
|
+
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1810
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1476
1811
|
rt,
|
|
1477
|
-
args[0].
|
|
1812
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1478
1813
|
);
|
|
1479
1814
|
return jsi::Value::undefined();
|
|
1480
1815
|
}
|
|
1481
|
-
static jsi::Value
|
|
1482
|
-
static_cast<
|
|
1816
|
+
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1817
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1483
1818
|
rt,
|
|
1484
|
-
args[0].
|
|
1819
|
+
args[0].asString(rt)
|
|
1485
1820
|
);
|
|
1486
1821
|
return jsi::Value::undefined();
|
|
1487
1822
|
}
|
|
1488
|
-
static jsi::Value
|
|
1489
|
-
static_cast<
|
|
1823
|
+
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1824
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1490
1825
|
rt,
|
|
1491
|
-
args[0].
|
|
1826
|
+
args[0].asNumber()
|
|
1492
1827
|
);
|
|
1493
1828
|
return jsi::Value::undefined();
|
|
1494
1829
|
}
|
|
1495
1830
|
|
|
1496
|
-
|
|
1497
|
-
: TurboModule("
|
|
1498
|
-
methodMap_["
|
|
1499
|
-
methodMap_["
|
|
1500
|
-
methodMap_["
|
|
1501
|
-
methodMap_["
|
|
1502
|
-
}
|
|
1503
|
-
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1504
|
-
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1505
|
-
rt
|
|
1506
|
-
);
|
|
1831
|
+
NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1832
|
+
: TurboModule("Networking", jsInvoker) {
|
|
1833
|
+
methodMap_["sendRequest"] = MethodMetadata {2, __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest};
|
|
1834
|
+
methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest};
|
|
1835
|
+
methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies};
|
|
1836
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener};
|
|
1837
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners};
|
|
1507
1838
|
}
|
|
1508
|
-
static jsi::Value
|
|
1509
|
-
return static_cast<
|
|
1839
|
+
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1840
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
1510
1841
|
rt,
|
|
1511
1842
|
args[0].asString(rt)
|
|
1512
1843
|
);
|
|
1513
1844
|
}
|
|
1514
|
-
static jsi::Value
|
|
1515
|
-
return static_cast<
|
|
1516
|
-
rt
|
|
1845
|
+
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1846
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
1847
|
+
rt,
|
|
1848
|
+
args[0].asString(rt)
|
|
1517
1849
|
);
|
|
1518
1850
|
}
|
|
1519
|
-
static jsi::Value
|
|
1520
|
-
return static_cast<
|
|
1851
|
+
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1852
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
1521
1853
|
rt,
|
|
1522
1854
|
args[0].asString(rt)
|
|
1523
1855
|
);
|
|
1524
1856
|
}
|
|
1525
|
-
static jsi::Value
|
|
1526
|
-
static_cast<
|
|
1857
|
+
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1858
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
1527
1859
|
rt,
|
|
1528
|
-
args[0].
|
|
1529
|
-
args[1].asString(rt),
|
|
1530
|
-
args[2].getNumber(),
|
|
1531
|
-
args[3].asObject(rt)
|
|
1860
|
+
args[0].asObject(rt).asArray(rt)
|
|
1532
1861
|
);
|
|
1533
|
-
return jsi::Value::undefined();
|
|
1534
1862
|
}
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1863
|
+
|
|
1864
|
+
NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1865
|
+
: TurboModule("PermissionsAndroid", jsInvoker) {
|
|
1866
|
+
methodMap_["checkPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission};
|
|
1867
|
+
methodMap_["requestPermission"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission};
|
|
1868
|
+
methodMap_["shouldShowRequestPermissionRationale"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale};
|
|
1869
|
+
methodMap_["requestMultiplePermissions"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions};
|
|
1870
|
+
}
|
|
1871
|
+
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1872
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1873
|
+
rt
|
|
1541
1874
|
);
|
|
1542
|
-
return jsi::Value::undefined();
|
|
1543
1875
|
}
|
|
1544
|
-
static jsi::Value
|
|
1545
|
-
static_cast<
|
|
1546
|
-
rt
|
|
1547
|
-
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber())
|
|
1876
|
+
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1877
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
|
1878
|
+
rt
|
|
1548
1879
|
);
|
|
1549
|
-
return jsi::Value::undefined();
|
|
1550
1880
|
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1881
|
+
|
|
1882
|
+
NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1883
|
+
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1884
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants};
|
|
1885
|
+
methodMap_["getAndroidID"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID};
|
|
1886
|
+
}
|
|
1887
|
+
static jsi::Value __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1888
|
+
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1889
|
+
rt
|
|
1555
1890
|
);
|
|
1556
|
-
return jsi::Value::undefined();
|
|
1557
1891
|
}
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1892
|
+
|
|
1893
|
+
NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1894
|
+
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1895
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants};
|
|
1896
|
+
}
|
|
1897
|
+
static jsi::Value __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1898
|
+
return static_cast<NativePlatformConstantsWinCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1899
|
+
rt
|
|
1564
1900
|
);
|
|
1565
|
-
return jsi::Value::undefined();
|
|
1566
1901
|
}
|
|
1567
|
-
|
|
1568
|
-
|
|
1902
|
+
|
|
1903
|
+
NativePlatformConstantsWinCxxSpecJSI::NativePlatformConstantsWinCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1904
|
+
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1905
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants};
|
|
1906
|
+
}
|
|
1907
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1908
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1909
|
+
rt
|
|
1910
|
+
);
|
|
1911
|
+
}
|
|
1912
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1913
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
1569
1914
|
rt,
|
|
1570
|
-
args[0].
|
|
1571
|
-
args[1].
|
|
1572
|
-
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
1915
|
+
args[0].asString(rt),
|
|
1916
|
+
args[1].asString(rt)
|
|
1573
1917
|
);
|
|
1574
1918
|
return jsi::Value::undefined();
|
|
1575
1919
|
}
|
|
1576
|
-
static jsi::Value
|
|
1577
|
-
static_cast<
|
|
1920
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1921
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
1578
1922
|
rt,
|
|
1579
|
-
args[0].asNumber()
|
|
1580
|
-
args[1].asObject(rt).asFunction(rt)
|
|
1923
|
+
args[0].asNumber()
|
|
1581
1924
|
);
|
|
1582
1925
|
return jsi::Value::undefined();
|
|
1583
1926
|
}
|
|
1584
|
-
static jsi::Value
|
|
1585
|
-
static_cast<
|
|
1927
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1928
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
1586
1929
|
rt,
|
|
1587
|
-
args[0].
|
|
1588
|
-
args[1].asObject(rt).asFunction(rt)
|
|
1930
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1589
1931
|
);
|
|
1590
1932
|
return jsi::Value::undefined();
|
|
1591
1933
|
}
|
|
1592
|
-
static jsi::Value
|
|
1593
|
-
static_cast<
|
|
1934
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1935
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
1594
1936
|
rt,
|
|
1595
|
-
args[0].
|
|
1596
|
-
|
|
1597
|
-
|
|
1937
|
+
args[0].asObject(rt)
|
|
1938
|
+
);
|
|
1939
|
+
}
|
|
1940
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1941
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(
|
|
1942
|
+
rt
|
|
1598
1943
|
);
|
|
1599
1944
|
return jsi::Value::undefined();
|
|
1600
1945
|
}
|
|
1601
|
-
static jsi::Value
|
|
1602
|
-
static_cast<
|
|
1946
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1947
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
1603
1948
|
rt,
|
|
1604
|
-
args[0].
|
|
1605
|
-
args[1].asNumber(),
|
|
1606
|
-
args[2].asObject(rt).asFunction(rt),
|
|
1607
|
-
args[3].asObject(rt).asFunction(rt)
|
|
1949
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1608
1950
|
);
|
|
1609
1951
|
return jsi::Value::undefined();
|
|
1610
1952
|
}
|
|
1611
|
-
static jsi::Value
|
|
1612
|
-
static_cast<
|
|
1953
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1954
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
1613
1955
|
rt,
|
|
1614
|
-
args[0].
|
|
1615
|
-
args[1].asObject(rt).asFunction(rt),
|
|
1616
|
-
args[2].asObject(rt).asFunction(rt)
|
|
1956
|
+
args[0].asObject(rt)
|
|
1617
1957
|
);
|
|
1618
1958
|
return jsi::Value::undefined();
|
|
1619
1959
|
}
|
|
1620
|
-
static jsi::Value
|
|
1621
|
-
static_cast<
|
|
1960
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1961
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
1622
1962
|
rt,
|
|
1623
|
-
args[0].
|
|
1624
|
-
args[1].asBool()
|
|
1963
|
+
args[0].asObject(rt)
|
|
1625
1964
|
);
|
|
1626
1965
|
return jsi::Value::undefined();
|
|
1627
1966
|
}
|
|
1628
|
-
static jsi::Value
|
|
1629
|
-
static_cast<
|
|
1967
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1968
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(
|
|
1630
1969
|
rt
|
|
1631
1970
|
);
|
|
1632
1971
|
return jsi::Value::undefined();
|
|
1633
1972
|
}
|
|
1634
|
-
static jsi::Value
|
|
1635
|
-
static_cast<
|
|
1973
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1974
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
1636
1975
|
rt,
|
|
1637
|
-
args[0].asObject(rt)
|
|
1638
|
-
args[1].asObject(rt).asFunction(rt),
|
|
1639
|
-
args[2].asObject(rt).asFunction(rt)
|
|
1976
|
+
args[0].asObject(rt)
|
|
1640
1977
|
);
|
|
1641
1978
|
return jsi::Value::undefined();
|
|
1642
1979
|
}
|
|
1643
|
-
static jsi::Value
|
|
1644
|
-
static_cast<
|
|
1980
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1981
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(
|
|
1982
|
+
rt
|
|
1983
|
+
);
|
|
1984
|
+
}
|
|
1985
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1986
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
1645
1987
|
rt,
|
|
1646
|
-
args[0].
|
|
1988
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1647
1989
|
);
|
|
1648
1990
|
return jsi::Value::undefined();
|
|
1649
1991
|
}
|
|
1650
|
-
static jsi::Value
|
|
1651
|
-
static_cast<
|
|
1652
|
-
rt
|
|
1653
|
-
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1654
|
-
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber())
|
|
1992
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1993
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(
|
|
1994
|
+
rt
|
|
1655
1995
|
);
|
|
1656
1996
|
return jsi::Value::undefined();
|
|
1657
1997
|
}
|
|
1658
|
-
static jsi::Value
|
|
1659
|
-
static_cast<
|
|
1998
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1999
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
1660
2000
|
rt,
|
|
1661
|
-
args[0].
|
|
1662
|
-
args[1].asObject(rt).asArray(rt)
|
|
2001
|
+
args[0].asObject(rt).asArray(rt)
|
|
1663
2002
|
);
|
|
1664
2003
|
return jsi::Value::undefined();
|
|
1665
2004
|
}
|
|
1666
|
-
static jsi::Value
|
|
1667
|
-
static_cast<
|
|
1668
|
-
rt,
|
|
1669
|
-
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1670
|
-
args[1].asObject(rt).asArray(rt),
|
|
1671
|
-
args[2].asObject(rt).asArray(rt),
|
|
1672
|
-
args[3].asObject(rt).asArray(rt),
|
|
1673
|
-
args[4].asObject(rt).asArray(rt),
|
|
1674
|
-
args[5].asObject(rt).asArray(rt)
|
|
1675
|
-
);
|
|
1676
|
-
return jsi::Value::undefined();
|
|
1677
|
-
}
|
|
1678
|
-
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1679
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
1680
|
-
rt,
|
|
1681
|
-
args[0].asBool()
|
|
1682
|
-
);
|
|
1683
|
-
return jsi::Value::undefined();
|
|
1684
|
-
}
|
|
1685
|
-
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1686
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
1687
|
-
rt,
|
|
1688
|
-
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1689
|
-
args[1].asNumber()
|
|
1690
|
-
);
|
|
1691
|
-
return jsi::Value::undefined();
|
|
1692
|
-
}
|
|
1693
|
-
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_showPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1694
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->showPopupMenu(
|
|
1695
|
-
rt,
|
|
1696
|
-
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1697
|
-
args[1].asObject(rt).asArray(rt),
|
|
1698
|
-
args[2].asObject(rt).asFunction(rt),
|
|
1699
|
-
args[3].asObject(rt).asFunction(rt)
|
|
1700
|
-
);
|
|
1701
|
-
return jsi::Value::undefined();
|
|
1702
|
-
}
|
|
1703
|
-
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1704
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dismissPopupMenu(
|
|
1705
|
-
rt
|
|
1706
|
-
);
|
|
1707
|
-
return jsi::Value::undefined();
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
NativeUIManagerCxxSpecJSI::NativeUIManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1711
|
-
: TurboModule("UIManager", jsInvoker) {
|
|
1712
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_getConstants};
|
|
1713
|
-
methodMap_["getConstantsForViewManager"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager};
|
|
1714
|
-
methodMap_["getDefaultEventTypes"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes};
|
|
1715
|
-
methodMap_["lazilyLoadView"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView};
|
|
1716
|
-
methodMap_["createView"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_createView};
|
|
1717
|
-
methodMap_["updateView"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_updateView};
|
|
1718
|
-
methodMap_["focus"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_focus};
|
|
1719
|
-
methodMap_["blur"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_blur};
|
|
1720
|
-
methodMap_["findSubviewIn"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn};
|
|
1721
|
-
methodMap_["dispatchViewManagerCommand"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand};
|
|
1722
|
-
methodMap_["measure"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_measure};
|
|
1723
|
-
methodMap_["measureInWindow"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow};
|
|
1724
|
-
methodMap_["viewIsDescendantOf"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf};
|
|
1725
|
-
methodMap_["measureLayout"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout};
|
|
1726
|
-
methodMap_["measureLayoutRelativeToParent"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent};
|
|
1727
|
-
methodMap_["setJSResponder"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder};
|
|
1728
|
-
methodMap_["clearJSResponder"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder};
|
|
1729
|
-
methodMap_["configureNextLayoutAnimation"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation};
|
|
1730
|
-
methodMap_["removeSubviewsFromContainerWithID"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_removeSubviewsFromContainerWithID};
|
|
1731
|
-
methodMap_["replaceExistingNonRootView"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_replaceExistingNonRootView};
|
|
1732
|
-
methodMap_["setChildren"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_setChildren};
|
|
1733
|
-
methodMap_["manageChildren"] = MethodMetadata {6, __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren};
|
|
1734
|
-
methodMap_["setLayoutAnimationEnabledExperimental"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental};
|
|
1735
|
-
methodMap_["sendAccessibilityEvent"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent};
|
|
1736
|
-
methodMap_["showPopupMenu"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_showPopupMenu};
|
|
1737
|
-
methodMap_["dismissPopupMenu"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu};
|
|
1738
|
-
}
|
|
1739
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1740
|
-
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1741
|
-
rt
|
|
1742
|
-
);
|
|
1743
|
-
}
|
|
1744
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1745
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
1746
|
-
rt,
|
|
1747
|
-
args[0].asObject(rt)
|
|
1748
|
-
);
|
|
1749
|
-
return jsi::Value::undefined();
|
|
1750
|
-
}
|
|
1751
|
-
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1752
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
2005
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2006
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
1753
2007
|
rt,
|
|
1754
|
-
args[0].asObject(rt).
|
|
2008
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1755
2009
|
);
|
|
1756
2010
|
return jsi::Value::undefined();
|
|
1757
2011
|
}
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
: TurboModule("SettingsManager", jsInvoker) {
|
|
1761
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants};
|
|
1762
|
-
methodMap_["setValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues};
|
|
1763
|
-
methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues};
|
|
1764
|
-
}
|
|
1765
|
-
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1766
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1767
|
-
rt
|
|
1768
|
-
);
|
|
1769
|
-
}
|
|
1770
|
-
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1771
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
1772
|
-
rt,
|
|
1773
|
-
args[0].asObject(rt),
|
|
1774
|
-
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
1775
|
-
);
|
|
1776
|
-
}
|
|
1777
|
-
|
|
1778
|
-
NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1779
|
-
: TurboModule("ShareModule", jsInvoker) {
|
|
1780
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeShareModuleCxxSpecJSI_getConstants};
|
|
1781
|
-
methodMap_["share"] = MethodMetadata {2, __hostFunction_NativeShareModuleCxxSpecJSI_share};
|
|
1782
|
-
}
|
|
1783
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1784
|
-
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
|
1785
|
-
rt
|
|
1786
|
-
);
|
|
1787
|
-
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
1788
|
-
}
|
|
1789
|
-
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1790
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
2012
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2013
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
1791
2014
|
rt,
|
|
1792
|
-
args[0].
|
|
2015
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1793
2016
|
);
|
|
1794
2017
|
return jsi::Value::undefined();
|
|
1795
2018
|
}
|
|
1796
|
-
static jsi::Value
|
|
1797
|
-
static_cast<
|
|
2019
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2020
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1798
2021
|
rt,
|
|
1799
2022
|
args[0].asString(rt)
|
|
1800
2023
|
);
|
|
1801
2024
|
return jsi::Value::undefined();
|
|
1802
2025
|
}
|
|
1803
|
-
static jsi::Value
|
|
1804
|
-
static_cast<
|
|
2026
|
+
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2027
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1805
2028
|
rt,
|
|
1806
2029
|
args[0].asNumber()
|
|
1807
2030
|
);
|
|
1808
2031
|
return jsi::Value::undefined();
|
|
1809
2032
|
}
|
|
1810
2033
|
|
|
1811
|
-
|
|
1812
|
-
: TurboModule("
|
|
1813
|
-
methodMap_["
|
|
1814
|
-
methodMap_["
|
|
1815
|
-
methodMap_["
|
|
1816
|
-
methodMap_["
|
|
1817
|
-
}
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
methodMap_["
|
|
2034
|
+
NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2035
|
+
: TurboModule("PushNotificationManager", jsInvoker) {
|
|
2036
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants};
|
|
2037
|
+
methodMap_["onFinishRemoteNotification"] = MethodMetadata {2, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification};
|
|
2038
|
+
methodMap_["setApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber};
|
|
2039
|
+
methodMap_["getApplicationIconBadgeNumber"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber};
|
|
2040
|
+
methodMap_["requestPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions};
|
|
2041
|
+
methodMap_["abandonPermissions"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions};
|
|
2042
|
+
methodMap_["checkPermissions"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions};
|
|
2043
|
+
methodMap_["presentLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification};
|
|
2044
|
+
methodMap_["scheduleLocalNotification"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification};
|
|
2045
|
+
methodMap_["cancelAllLocalNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications};
|
|
2046
|
+
methodMap_["cancelLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications};
|
|
2047
|
+
methodMap_["getInitialNotification"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification};
|
|
2048
|
+
methodMap_["getScheduledLocalNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications};
|
|
2049
|
+
methodMap_["removeAllDeliveredNotifications"] = MethodMetadata {0, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications};
|
|
2050
|
+
methodMap_["removeDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications};
|
|
2051
|
+
methodMap_["getDeliveredNotifications"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications};
|
|
2052
|
+
methodMap_["getAuthorizationStatus"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus};
|
|
2053
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener};
|
|
2054
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners};
|
|
1827
2055
|
}
|
|
1828
|
-
static jsi::Value
|
|
1829
|
-
static_cast<
|
|
2056
|
+
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2057
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
1830
2058
|
rt,
|
|
1831
|
-
args[0].
|
|
1832
|
-
args[1].
|
|
1833
|
-
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
2059
|
+
args[0].asObject(rt),
|
|
2060
|
+
args[1].asString(rt)
|
|
1834
2061
|
);
|
|
1835
2062
|
return jsi::Value::undefined();
|
|
1836
2063
|
}
|
|
1837
|
-
static jsi::Value
|
|
1838
|
-
static_cast<
|
|
2064
|
+
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_dismiss(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2065
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(
|
|
1839
2066
|
rt
|
|
1840
2067
|
);
|
|
1841
2068
|
return jsi::Value::undefined();
|
|
1842
2069
|
}
|
|
1843
2070
|
|
|
1844
|
-
|
|
1845
|
-
: TurboModule("
|
|
1846
|
-
methodMap_["
|
|
1847
|
-
methodMap_["
|
|
1848
|
-
}
|
|
1849
|
-
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1850
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1851
|
-
rt
|
|
1852
|
-
);
|
|
1853
|
-
}
|
|
1854
|
-
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1855
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
|
1856
|
-
rt
|
|
1857
|
-
);
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1861
|
-
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1862
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants};
|
|
1863
|
-
methodMap_["getAndroidID"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID};
|
|
1864
|
-
}
|
|
1865
|
-
static jsi::Value __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1866
|
-
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1867
|
-
rt
|
|
1868
|
-
);
|
|
1869
|
-
}
|
|
1870
|
-
|
|
1871
|
-
NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1872
|
-
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1873
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants};
|
|
1874
|
-
}
|
|
1875
|
-
static jsi::Value __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1876
|
-
return static_cast<NativePlatformConstantsWinCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1877
|
-
rt
|
|
1878
|
-
);
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
NativePlatformConstantsWinCxxSpecJSI::NativePlatformConstantsWinCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1882
|
-
: TurboModule("PlatformConstants", jsInvoker) {
|
|
1883
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants};
|
|
2071
|
+
NativeRedBoxCxxSpecJSI::NativeRedBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2072
|
+
: TurboModule("RedBox", jsInvoker) {
|
|
2073
|
+
methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData};
|
|
2074
|
+
methodMap_["dismiss"] = MethodMetadata {0, __hostFunction_NativeRedBoxCxxSpecJSI_dismiss};
|
|
1884
2075
|
}
|
|
1885
|
-
static jsi::Value
|
|
1886
|
-
return static_cast<
|
|
2076
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2077
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1887
2078
|
rt
|
|
1888
2079
|
);
|
|
1889
2080
|
}
|
|
1890
|
-
static jsi::Value
|
|
1891
|
-
static_cast<
|
|
1892
|
-
rt,
|
|
1893
|
-
args[0].asNumber()
|
|
1894
|
-
);
|
|
1895
|
-
return jsi::Value::undefined();
|
|
1896
|
-
}
|
|
1897
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1898
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
1899
|
-
rt,
|
|
1900
|
-
args[0].asObject(rt).asArray(rt),
|
|
1901
|
-
args[1].asNumber()
|
|
1902
|
-
);
|
|
1903
|
-
return jsi::Value::undefined();
|
|
1904
|
-
}
|
|
1905
|
-
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_cancel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1906
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
|
2081
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2082
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFunc(
|
|
1907
2083
|
rt
|
|
1908
2084
|
);
|
|
1909
2085
|
return jsi::Value::undefined();
|
|
1910
2086
|
}
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
: TurboModule("Vibration", jsInvoker) {
|
|
1914
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_getConstants};
|
|
1915
|
-
methodMap_["vibrate"] = MethodMetadata {1, __hostFunction_NativeVibrationCxxSpecJSI_vibrate};
|
|
1916
|
-
methodMap_["vibrateByPattern"] = MethodMetadata {2, __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern};
|
|
1917
|
-
methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_cancel};
|
|
1918
|
-
}
|
|
1919
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_mark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1920
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
|
1921
|
-
rt,
|
|
1922
|
-
args[0].asString(rt),
|
|
1923
|
-
args[1].asNumber()
|
|
1924
|
-
);
|
|
1925
|
-
return jsi::Value::undefined();
|
|
1926
|
-
}
|
|
1927
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1928
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(
|
|
1929
|
-
rt,
|
|
1930
|
-
args[0].asString(rt),
|
|
1931
|
-
args[1].asNumber(),
|
|
1932
|
-
args[2].asNumber(),
|
|
1933
|
-
count <= 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asNumber()),
|
|
1934
|
-
count <= 4 || args[4].isNull() || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)),
|
|
1935
|
-
count <= 5 || args[5].isNull() || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt))
|
|
1936
|
-
);
|
|
1937
|
-
return jsi::Value::undefined();
|
|
1938
|
-
}
|
|
1939
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1940
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
|
1941
|
-
rt
|
|
1942
|
-
);
|
|
1943
|
-
}
|
|
1944
|
-
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1945
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
|
1946
|
-
rt
|
|
1947
|
-
);
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1951
|
-
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
|
1952
|
-
methodMap_["mark"] = MethodMetadata {2, __hostFunction_NativePerformanceCxxSpecJSI_mark};
|
|
1953
|
-
methodMap_["measure"] = MethodMetadata {6, __hostFunction_NativePerformanceCxxSpecJSI_measure};
|
|
1954
|
-
methodMap_["getSimpleMemoryInfo"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo};
|
|
1955
|
-
methodMap_["getReactNativeStartupTiming"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming};
|
|
1956
|
-
}
|
|
1957
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1958
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
|
2087
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2088
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
1959
2089
|
rt,
|
|
1960
|
-
args[0].
|
|
2090
|
+
args[0].asBool()
|
|
1961
2091
|
);
|
|
1962
|
-
return jsi::Value::undefined();
|
|
1963
2092
|
}
|
|
1964
|
-
static jsi::Value
|
|
1965
|
-
static_cast<
|
|
2093
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2094
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
1966
2095
|
rt,
|
|
1967
2096
|
args[0].asNumber()
|
|
1968
2097
|
);
|
|
1969
|
-
return jsi::Value::undefined();
|
|
1970
|
-
}
|
|
1971
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1972
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setIsBuffered(
|
|
1973
|
-
rt,
|
|
1974
|
-
args[0].asObject(rt).asArray(rt),
|
|
1975
|
-
args[1].asBool()
|
|
1976
|
-
);
|
|
1977
|
-
return jsi::Value::undefined();
|
|
1978
|
-
}
|
|
1979
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1980
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
|
1981
|
-
rt
|
|
1982
|
-
);
|
|
1983
|
-
}
|
|
1984
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1985
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(
|
|
1986
|
-
rt,
|
|
1987
|
-
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt).asFunction(rt))
|
|
1988
|
-
);
|
|
1989
|
-
return jsi::Value::undefined();
|
|
1990
|
-
}
|
|
1991
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1992
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
|
1993
|
-
rt,
|
|
1994
|
-
args[0].asObject(rt)
|
|
1995
|
-
);
|
|
1996
|
-
return jsi::Value::undefined();
|
|
1997
|
-
}
|
|
1998
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1999
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
|
2000
|
-
rt
|
|
2001
|
-
);
|
|
2002
|
-
}
|
|
2003
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2004
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
|
2005
|
-
rt,
|
|
2006
|
-
args[0].asNumber(),
|
|
2007
|
-
args[1].asNumber()
|
|
2008
|
-
);
|
|
2009
|
-
return jsi::Value::undefined();
|
|
2010
|
-
}
|
|
2011
|
-
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2012
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(
|
|
2013
|
-
rt,
|
|
2014
|
-
args[0].asNumber(),
|
|
2015
|
-
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2016
|
-
);
|
|
2017
|
-
return jsi::Value::undefined();
|
|
2018
2098
|
}
|
|
2019
|
-
static jsi::Value
|
|
2020
|
-
return static_cast<
|
|
2021
|
-
rt,
|
|
2022
|
-
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
2023
|
-
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2024
|
-
);
|
|
2025
|
-
}
|
|
2026
|
-
|
|
2027
|
-
NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2028
|
-
: TurboModule("NativePerformanceObserverCxx", jsInvoker) {
|
|
2029
|
-
methodMap_["startReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting};
|
|
2030
|
-
methodMap_["stopReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting};
|
|
2031
|
-
methodMap_["setIsBuffered"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered};
|
|
2032
|
-
methodMap_["popPendingEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries};
|
|
2033
|
-
methodMap_["setOnPerformanceEntryCallback"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback};
|
|
2034
|
-
methodMap_["logRawEntry"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry};
|
|
2035
|
-
methodMap_["getEventCounts"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts};
|
|
2036
|
-
methodMap_["setDurationThreshold"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold};
|
|
2037
|
-
methodMap_["clearEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries};
|
|
2038
|
-
methodMap_["getEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries};
|
|
2039
|
-
}
|
|
2040
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2041
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
2042
|
-
rt,
|
|
2043
|
-
args[0].asString(rt),
|
|
2044
|
-
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
|
2045
|
-
args[2].asObject(rt),
|
|
2046
|
-
args[3].asNumber()
|
|
2047
|
-
);
|
|
2048
|
-
return jsi::Value::undefined();
|
|
2049
|
-
}
|
|
2050
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2051
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2052
|
-
rt,
|
|
2053
|
-
args[0].asString(rt),
|
|
2054
|
-
args[1].asNumber()
|
|
2055
|
-
);
|
|
2056
|
-
return jsi::Value::undefined();
|
|
2057
|
-
}
|
|
2058
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2059
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2060
|
-
rt,
|
|
2061
|
-
args[0].asString(rt),
|
|
2062
|
-
args[1].asNumber()
|
|
2063
|
-
);
|
|
2064
|
-
return jsi::Value::undefined();
|
|
2065
|
-
}
|
|
2066
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2067
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2099
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2100
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2068
2101
|
rt,
|
|
2069
2102
|
args[0].asNumber()
|
|
2070
2103
|
);
|
|
2071
|
-
return jsi::Value::undefined();
|
|
2072
2104
|
}
|
|
2073
|
-
static jsi::Value
|
|
2074
|
-
static_cast<
|
|
2075
|
-
rt,
|
|
2076
|
-
args[0].asNumber(),
|
|
2077
|
-
args[1].asString(rt),
|
|
2078
|
-
args[2].asNumber()
|
|
2079
|
-
);
|
|
2080
|
-
return jsi::Value::undefined();
|
|
2081
|
-
}
|
|
2082
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2083
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2105
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2106
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2084
2107
|
rt,
|
|
2085
2108
|
args[0].asString(rt)
|
|
2086
2109
|
);
|
|
2087
|
-
return jsi::Value::undefined();
|
|
2088
|
-
}
|
|
2089
|
-
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2090
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2091
|
-
rt,
|
|
2092
|
-
args[0].asNumber()
|
|
2093
|
-
);
|
|
2094
|
-
return jsi::Value::undefined();
|
|
2095
|
-
}
|
|
2096
|
-
|
|
2097
|
-
NativeWebSocketModuleCxxSpecJSI::NativeWebSocketModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2098
|
-
: TurboModule("WebSocketModule", jsInvoker) {
|
|
2099
|
-
methodMap_["connect"] = MethodMetadata {4, __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect};
|
|
2100
|
-
methodMap_["send"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_send};
|
|
2101
|
-
methodMap_["sendBinary"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary};
|
|
2102
|
-
methodMap_["ping"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping};
|
|
2103
|
-
methodMap_["close"] = MethodMetadata {3, __hostFunction_NativeWebSocketModuleCxxSpecJSI_close};
|
|
2104
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener};
|
|
2105
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners};
|
|
2106
|
-
}
|
|
2107
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2108
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
2109
|
-
rt,
|
|
2110
|
-
args[0].asObject(rt).asFunction(rt)
|
|
2111
|
-
);
|
|
2112
|
-
return jsi::Value::undefined();
|
|
2113
2110
|
}
|
|
2114
|
-
static jsi::Value
|
|
2115
|
-
static_cast<
|
|
2116
|
-
rt,
|
|
2117
|
-
args[0].asObject(rt).asFunction(rt)
|
|
2118
|
-
);
|
|
2119
|
-
return jsi::Value::undefined();
|
|
2120
|
-
}
|
|
2121
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2122
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
2123
|
-
rt,
|
|
2124
|
-
args[0].asObject(rt).asFunction(rt)
|
|
2125
|
-
);
|
|
2126
|
-
return jsi::Value::undefined();
|
|
2127
|
-
}
|
|
2128
|
-
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2129
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
2111
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2112
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2130
2113
|
rt,
|
|
2131
|
-
args[0].
|
|
2114
|
+
args[0].asObject(rt).asArray(rt)
|
|
2132
2115
|
);
|
|
2133
|
-
return jsi::Value::undefined();
|
|
2134
2116
|
}
|
|
2135
|
-
static jsi::Value
|
|
2136
|
-
static_cast<
|
|
2117
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2118
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2137
2119
|
rt,
|
|
2138
|
-
args[0].
|
|
2120
|
+
args[0].asObject(rt)
|
|
2139
2121
|
);
|
|
2140
|
-
return jsi::Value::undefined();
|
|
2141
2122
|
}
|
|
2142
|
-
static jsi::Value
|
|
2143
|
-
static_cast<
|
|
2123
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2124
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2144
2125
|
rt,
|
|
2145
|
-
args[0].
|
|
2146
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2126
|
+
args[0].asObject(rt)
|
|
2147
2127
|
);
|
|
2148
|
-
return jsi::Value::undefined();
|
|
2149
|
-
}
|
|
2150
|
-
|
|
2151
|
-
NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2152
|
-
: TurboModule("AccessibilityInfo", jsInvoker) {
|
|
2153
|
-
methodMap_["isReduceMotionEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled};
|
|
2154
|
-
methodMap_["isTouchExplorationEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled};
|
|
2155
|
-
methodMap_["isAccessibilityServiceEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled};
|
|
2156
|
-
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus};
|
|
2157
|
-
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility};
|
|
2158
|
-
methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis};
|
|
2159
2128
|
}
|
|
2160
|
-
static jsi::Value
|
|
2161
|
-
static_cast<
|
|
2129
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2130
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2162
2131
|
rt,
|
|
2163
|
-
args[0].
|
|
2164
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2132
|
+
args[0].getNumber()
|
|
2165
2133
|
);
|
|
2166
|
-
return jsi::Value::undefined();
|
|
2167
2134
|
}
|
|
2168
|
-
static jsi::Value
|
|
2169
|
-
static_cast<
|
|
2135
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2136
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2170
2137
|
rt,
|
|
2171
|
-
args[0].
|
|
2172
|
-
args[1].
|
|
2138
|
+
args[0].asNumber(),
|
|
2139
|
+
args[1].asString(rt),
|
|
2140
|
+
args[2].asObject(rt)
|
|
2173
2141
|
);
|
|
2174
|
-
return jsi::Value::undefined();
|
|
2175
2142
|
}
|
|
2176
|
-
static jsi::Value
|
|
2177
|
-
static_cast<
|
|
2143
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2144
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2178
2145
|
rt,
|
|
2179
|
-
args[0].asObject(rt).asFunction(rt)
|
|
2180
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2146
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2181
2147
|
);
|
|
2182
2148
|
return jsi::Value::undefined();
|
|
2183
2149
|
}
|
|
2184
|
-
static jsi::Value
|
|
2185
|
-
static_cast<
|
|
2150
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2151
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2186
2152
|
rt,
|
|
2187
|
-
args[0].
|
|
2188
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2153
|
+
args[0].asBool()
|
|
2189
2154
|
);
|
|
2190
|
-
return jsi::Value::undefined();
|
|
2191
2155
|
}
|
|
2192
|
-
static jsi::Value
|
|
2193
|
-
static_cast<
|
|
2194
|
-
rt
|
|
2195
|
-
args[0].asObject(rt).asFunction(rt),
|
|
2196
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2156
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2157
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFuncThrows(
|
|
2158
|
+
rt
|
|
2197
2159
|
);
|
|
2198
2160
|
return jsi::Value::undefined();
|
|
2199
2161
|
}
|
|
2200
|
-
static jsi::Value
|
|
2201
|
-
static_cast<
|
|
2162
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2163
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectThrows(
|
|
2202
2164
|
rt,
|
|
2203
|
-
args[0].asObject(rt)
|
|
2204
|
-
args[1].asObject(rt).asFunction(rt)
|
|
2165
|
+
args[0].asObject(rt)
|
|
2205
2166
|
);
|
|
2206
|
-
return jsi::Value::undefined();
|
|
2207
2167
|
}
|
|
2208
|
-
static jsi::Value
|
|
2209
|
-
static_cast<
|
|
2210
|
-
rt
|
|
2211
|
-
|
|
2212
|
-
|
|
2168
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2169
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->promiseThrows(
|
|
2170
|
+
rt
|
|
2171
|
+
);
|
|
2172
|
+
}
|
|
2173
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2174
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFuncAssert(
|
|
2175
|
+
rt
|
|
2213
2176
|
);
|
|
2214
2177
|
return jsi::Value::undefined();
|
|
2215
2178
|
}
|
|
2216
|
-
static jsi::Value
|
|
2217
|
-
static_cast<
|
|
2179
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2180
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectAssert(
|
|
2218
2181
|
rt,
|
|
2219
2182
|
args[0].asObject(rt)
|
|
2220
2183
|
);
|
|
2221
|
-
return jsi::Value::undefined();
|
|
2222
2184
|
}
|
|
2223
|
-
static jsi::Value
|
|
2224
|
-
static_cast<
|
|
2225
|
-
rt
|
|
2226
|
-
args[0].asNumber()
|
|
2185
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2186
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->promiseAssert(
|
|
2187
|
+
rt
|
|
2227
2188
|
);
|
|
2228
|
-
return jsi::Value::undefined();
|
|
2229
2189
|
}
|
|
2230
|
-
|
|
2231
|
-
|
|
2190
|
+
|
|
2191
|
+
NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2192
|
+
: TurboModule("SampleTurboModule", jsInvoker) {
|
|
2193
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getConstants};
|
|
2194
|
+
methodMap_["voidFunc"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc};
|
|
2195
|
+
methodMap_["getBool"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool};
|
|
2196
|
+
methodMap_["getEnum"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum};
|
|
2197
|
+
methodMap_["getNumber"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber};
|
|
2198
|
+
methodMap_["getString"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString};
|
|
2199
|
+
methodMap_["getArray"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray};
|
|
2200
|
+
methodMap_["getObject"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject};
|
|
2201
|
+
methodMap_["getUnsafeObject"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject};
|
|
2202
|
+
methodMap_["getRootTag"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag};
|
|
2203
|
+
methodMap_["getValue"] = MethodMetadata {3, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue};
|
|
2204
|
+
methodMap_["getValueWithCallback"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback};
|
|
2205
|
+
methodMap_["getValueWithPromise"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise};
|
|
2206
|
+
methodMap_["voidFuncThrows"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows};
|
|
2207
|
+
methodMap_["getObjectThrows"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows};
|
|
2208
|
+
methodMap_["promiseThrows"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows};
|
|
2209
|
+
methodMap_["voidFuncAssert"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAssert};
|
|
2210
|
+
methodMap_["getObjectAssert"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert};
|
|
2211
|
+
methodMap_["promiseAssert"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert};
|
|
2212
|
+
}
|
|
2213
|
+
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2214
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2232
2215
|
rt,
|
|
2233
|
-
args[0].
|
|
2216
|
+
args[0].asNumber(),
|
|
2217
|
+
args[1].asObject(rt),
|
|
2218
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2234
2219
|
);
|
|
2235
2220
|
return jsi::Value::undefined();
|
|
2236
2221
|
}
|
|
2237
|
-
static jsi::Value
|
|
2238
|
-
static_cast<
|
|
2222
|
+
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2223
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2239
2224
|
rt,
|
|
2240
|
-
args[0].
|
|
2241
|
-
args[1].asObject(rt)
|
|
2225
|
+
args[0].asNumber(),
|
|
2226
|
+
args[1].asObject(rt),
|
|
2227
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2242
2228
|
);
|
|
2243
2229
|
return jsi::Value::undefined();
|
|
2244
2230
|
}
|
|
2245
2231
|
|
|
2246
|
-
|
|
2247
|
-
: TurboModule("
|
|
2248
|
-
methodMap_["
|
|
2249
|
-
methodMap_["
|
|
2250
|
-
methodMap_["getCurrentInvertColorsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState};
|
|
2251
|
-
methodMap_["getCurrentReduceMotionState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState};
|
|
2252
|
-
methodMap_["getCurrentPrefersCrossFadeTransitionsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState};
|
|
2253
|
-
methodMap_["getCurrentReduceTransparencyState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState};
|
|
2254
|
-
methodMap_["getCurrentVoiceOverState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState};
|
|
2255
|
-
methodMap_["setAccessibilityContentSizeMultipliers"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers};
|
|
2256
|
-
methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus};
|
|
2257
|
-
methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility};
|
|
2258
|
-
methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions};
|
|
2232
|
+
NativeSegmentFetcherCxxSpecJSI::NativeSegmentFetcherCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2233
|
+
: TurboModule("SegmentFetcher", jsInvoker) {
|
|
2234
|
+
methodMap_["fetchSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment};
|
|
2235
|
+
methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment};
|
|
2259
2236
|
}
|
|
2260
|
-
static jsi::Value
|
|
2261
|
-
return static_cast<
|
|
2237
|
+
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2238
|
+
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2262
2239
|
rt
|
|
2263
2240
|
);
|
|
2264
2241
|
}
|
|
2265
|
-
static jsi::Value
|
|
2266
|
-
|
|
2267
|
-
rt
|
|
2242
|
+
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2243
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
2244
|
+
rt,
|
|
2245
|
+
args[0].asObject(rt)
|
|
2268
2246
|
);
|
|
2247
|
+
return jsi::Value::undefined();
|
|
2269
2248
|
}
|
|
2270
|
-
static jsi::Value
|
|
2271
|
-
static_cast<
|
|
2249
|
+
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2250
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
2272
2251
|
rt,
|
|
2273
|
-
args[0].
|
|
2252
|
+
args[0].asObject(rt).asArray(rt)
|
|
2274
2253
|
);
|
|
2275
2254
|
return jsi::Value::undefined();
|
|
2276
2255
|
}
|
|
2277
2256
|
|
|
2278
|
-
|
|
2279
|
-
: TurboModule("
|
|
2280
|
-
methodMap_["getConstants"] = MethodMetadata {0,
|
|
2281
|
-
methodMap_["
|
|
2282
|
-
methodMap_["
|
|
2257
|
+
NativeSettingsManagerCxxSpecJSI::NativeSettingsManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2258
|
+
: TurboModule("SettingsManager", jsInvoker) {
|
|
2259
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants};
|
|
2260
|
+
methodMap_["setValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues};
|
|
2261
|
+
methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues};
|
|
2283
2262
|
}
|
|
2284
|
-
static jsi::Value
|
|
2285
|
-
static_cast<
|
|
2286
|
-
rt
|
|
2287
|
-
args[0].asString(rt)
|
|
2263
|
+
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2264
|
+
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2265
|
+
rt
|
|
2288
2266
|
);
|
|
2289
|
-
return jsi::Value::undefined();
|
|
2290
2267
|
}
|
|
2291
|
-
static jsi::Value
|
|
2292
|
-
static_cast<
|
|
2268
|
+
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2269
|
+
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
2293
2270
|
rt,
|
|
2294
|
-
args[0].
|
|
2271
|
+
args[0].asObject(rt),
|
|
2272
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2295
2273
|
);
|
|
2296
|
-
return jsi::Value::undefined();
|
|
2297
2274
|
}
|
|
2298
2275
|
|
|
2299
|
-
|
|
2300
|
-
: TurboModule("
|
|
2301
|
-
methodMap_["
|
|
2302
|
-
methodMap_["
|
|
2276
|
+
NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2277
|
+
: TurboModule("ShareModule", jsInvoker) {
|
|
2278
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeShareModuleCxxSpecJSI_getConstants};
|
|
2279
|
+
methodMap_["share"] = MethodMetadata {2, __hostFunction_NativeShareModuleCxxSpecJSI_share};
|
|
2303
2280
|
}
|
|
2304
2281
|
static jsi::Value __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2305
2282
|
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(
|
|
@@ -2312,6 +2289,16 @@ NativeSoundManagerCxxSpecJSI::NativeSoundManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
2312
2289
|
: TurboModule("SoundManager", jsInvoker) {
|
|
2313
2290
|
methodMap_["playTouchSound"] = MethodMetadata {0, __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound};
|
|
2314
2291
|
}
|
|
2292
|
+
static jsi::Value __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2293
|
+
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2294
|
+
rt
|
|
2295
|
+
);
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2299
|
+
: TurboModule("SourceCode", jsInvoker) {
|
|
2300
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants};
|
|
2301
|
+
}
|
|
2315
2302
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2316
2303
|
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2317
2304
|
rt
|
|
@@ -2415,6 +2402,37 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
|
2415
2402
|
methodMap_["setStyle"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle};
|
|
2416
2403
|
methodMap_["setHidden"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden};
|
|
2417
2404
|
}
|
|
2405
|
+
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2406
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2407
|
+
rt,
|
|
2408
|
+
args[0].asNumber(),
|
|
2409
|
+
args[1].asNumber(),
|
|
2410
|
+
args[2].asNumber(),
|
|
2411
|
+
args[3].asBool()
|
|
2412
|
+
);
|
|
2413
|
+
return jsi::Value::undefined();
|
|
2414
|
+
}
|
|
2415
|
+
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2416
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2417
|
+
rt,
|
|
2418
|
+
args[0].asNumber()
|
|
2419
|
+
);
|
|
2420
|
+
return jsi::Value::undefined();
|
|
2421
|
+
}
|
|
2422
|
+
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2423
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2424
|
+
rt,
|
|
2425
|
+
args[0].asBool()
|
|
2426
|
+
);
|
|
2427
|
+
return jsi::Value::undefined();
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
NativeTimingCxxSpecJSI::NativeTimingCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2431
|
+
: TurboModule("Timing", jsInvoker) {
|
|
2432
|
+
methodMap_["createTimer"] = MethodMetadata {4, __hostFunction_NativeTimingCxxSpecJSI_createTimer};
|
|
2433
|
+
methodMap_["deleteTimer"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_deleteTimer};
|
|
2434
|
+
methodMap_["setSendIdleEvents"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents};
|
|
2435
|
+
}
|
|
2418
2436
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2419
2437
|
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2420
2438
|
rt
|
|
@@ -2456,428 +2474,454 @@ NativeToastAndroidCxxSpecJSI::NativeToastAndroidCxxSpecJSI(std::shared_ptr<CallI
|
|
|
2456
2474
|
methodMap_["showWithGravity"] = MethodMetadata {3, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity};
|
|
2457
2475
|
methodMap_["showWithGravityAndOffset"] = MethodMetadata {5, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset};
|
|
2458
2476
|
}
|
|
2459
|
-
static jsi::Value
|
|
2460
|
-
static_cast<
|
|
2477
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2478
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2479
|
+
rt
|
|
2480
|
+
);
|
|
2481
|
+
}
|
|
2482
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_createView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2483
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
2484
|
+
rt,
|
|
2485
|
+
args[0].asNumber(),
|
|
2486
|
+
args[1].asString(rt),
|
|
2487
|
+
args[2].getNumber(),
|
|
2488
|
+
args[3].asObject(rt)
|
|
2489
|
+
);
|
|
2490
|
+
return jsi::Value::undefined();
|
|
2491
|
+
}
|
|
2492
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_updateView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2493
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
2461
2494
|
rt,
|
|
2462
2495
|
args[0].asNumber(),
|
|
2463
|
-
args[1].
|
|
2464
|
-
args[2].asObject(rt)
|
|
2496
|
+
args[1].asString(rt),
|
|
2497
|
+
args[2].asObject(rt)
|
|
2465
2498
|
);
|
|
2466
2499
|
return jsi::Value::undefined();
|
|
2467
2500
|
}
|
|
2468
|
-
static jsi::Value
|
|
2469
|
-
static_cast<
|
|
2501
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2502
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
2470
2503
|
rt,
|
|
2471
2504
|
args[0].asNumber(),
|
|
2472
|
-
args[1].asObject(rt),
|
|
2505
|
+
args[1].asObject(rt).asArray(rt),
|
|
2473
2506
|
args[2].asObject(rt).asFunction(rt)
|
|
2474
2507
|
);
|
|
2475
2508
|
return jsi::Value::undefined();
|
|
2476
2509
|
}
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
: TurboModule("SegmentFetcher", jsInvoker) {
|
|
2480
|
-
methodMap_["fetchSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment};
|
|
2481
|
-
methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment};
|
|
2482
|
-
}
|
|
2483
|
-
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2484
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2510
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2511
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
2485
2512
|
rt,
|
|
2486
2513
|
args[0].asNumber(),
|
|
2487
2514
|
args[1].asNumber(),
|
|
2488
|
-
args[2].
|
|
2489
|
-
args[3].asBool()
|
|
2515
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
2490
2516
|
);
|
|
2491
2517
|
return jsi::Value::undefined();
|
|
2492
2518
|
}
|
|
2493
|
-
static jsi::Value
|
|
2494
|
-
static_cast<
|
|
2519
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2520
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
2495
2521
|
rt,
|
|
2496
|
-
args[0].asNumber()
|
|
2522
|
+
args[0].asNumber(),
|
|
2523
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2497
2524
|
);
|
|
2498
2525
|
return jsi::Value::undefined();
|
|
2499
2526
|
}
|
|
2500
|
-
static jsi::Value
|
|
2501
|
-
static_cast<
|
|
2527
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2528
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
2502
2529
|
rt,
|
|
2503
|
-
args[0].
|
|
2530
|
+
args[0].asNumber(),
|
|
2531
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2504
2532
|
);
|
|
2505
2533
|
return jsi::Value::undefined();
|
|
2506
2534
|
}
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
}
|
|
2514
|
-
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2515
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
|
2516
|
-
rt
|
|
2535
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2536
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
2537
|
+
rt,
|
|
2538
|
+
args[0].asNumber(),
|
|
2539
|
+
args[1].asNumber(),
|
|
2540
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2517
2541
|
);
|
|
2518
2542
|
return jsi::Value::undefined();
|
|
2519
2543
|
}
|
|
2520
|
-
static jsi::Value
|
|
2521
|
-
static_cast<
|
|
2544
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2545
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
2522
2546
|
rt,
|
|
2523
|
-
args[0].asNumber()
|
|
2547
|
+
args[0].asNumber(),
|
|
2548
|
+
args[1].asNumber(),
|
|
2549
|
+
args[2].asObject(rt).asFunction(rt),
|
|
2550
|
+
args[3].asObject(rt).asFunction(rt)
|
|
2524
2551
|
);
|
|
2525
2552
|
return jsi::Value::undefined();
|
|
2526
2553
|
}
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2534
|
-
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
|
2535
|
-
rt
|
|
2554
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2555
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
2556
|
+
rt,
|
|
2557
|
+
args[0].asNumber(),
|
|
2558
|
+
args[1].asObject(rt).asFunction(rt),
|
|
2559
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2536
2560
|
);
|
|
2537
2561
|
return jsi::Value::undefined();
|
|
2538
2562
|
}
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2545
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
|
2546
|
-
rt
|
|
2563
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2564
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
2565
|
+
rt,
|
|
2566
|
+
args[0].asNumber(),
|
|
2567
|
+
args[1].asBool()
|
|
2547
2568
|
);
|
|
2548
2569
|
return jsi::Value::undefined();
|
|
2549
2570
|
}
|
|
2550
|
-
static jsi::Value
|
|
2551
|
-
static_cast<
|
|
2571
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2572
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->clearJSResponder(
|
|
2552
2573
|
rt
|
|
2553
2574
|
);
|
|
2554
2575
|
return jsi::Value::undefined();
|
|
2555
2576
|
}
|
|
2556
|
-
static jsi::Value
|
|
2557
|
-
static_cast<
|
|
2577
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2578
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
2558
2579
|
rt,
|
|
2559
|
-
args[0].
|
|
2580
|
+
args[0].asObject(rt),
|
|
2581
|
+
args[1].asObject(rt).asFunction(rt),
|
|
2582
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2560
2583
|
);
|
|
2561
2584
|
return jsi::Value::undefined();
|
|
2562
2585
|
}
|
|
2563
|
-
static jsi::Value
|
|
2564
|
-
static_cast<
|
|
2586
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2587
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
2565
2588
|
rt,
|
|
2566
|
-
args[0].
|
|
2589
|
+
args[0].asNumber(),
|
|
2590
|
+
args[1].asObject(rt).asArray(rt)
|
|
2567
2591
|
);
|
|
2568
2592
|
return jsi::Value::undefined();
|
|
2569
2593
|
}
|
|
2570
|
-
static jsi::Value
|
|
2571
|
-
static_cast<
|
|
2594
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2595
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
2572
2596
|
rt,
|
|
2573
|
-
args[0].
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
: TurboModule("DevMenu", jsInvoker) {
|
|
2580
|
-
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_show};
|
|
2581
|
-
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevMenuCxxSpecJSI_reload};
|
|
2582
|
-
methodMap_["debugRemotely"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely};
|
|
2583
|
-
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled};
|
|
2584
|
-
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled};
|
|
2585
|
-
}
|
|
2586
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2587
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
|
2588
|
-
rt
|
|
2597
|
+
args[0].asNumber(),
|
|
2598
|
+
args[1].asObject(rt).asArray(rt),
|
|
2599
|
+
args[2].asObject(rt).asArray(rt),
|
|
2600
|
+
args[3].asObject(rt).asArray(rt),
|
|
2601
|
+
args[4].asObject(rt).asArray(rt),
|
|
2602
|
+
args[5].asObject(rt).asArray(rt)
|
|
2589
2603
|
);
|
|
2590
2604
|
return jsi::Value::undefined();
|
|
2591
2605
|
}
|
|
2592
|
-
static jsi::Value
|
|
2593
|
-
static_cast<
|
|
2606
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2607
|
+
auto result = static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
2594
2608
|
rt,
|
|
2595
2609
|
args[0].asString(rt)
|
|
2596
2610
|
);
|
|
2597
|
-
return jsi::Value::
|
|
2611
|
+
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
2598
2612
|
}
|
|
2599
|
-
static jsi::Value
|
|
2600
|
-
static_cast<
|
|
2613
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2614
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getDefaultEventTypes(
|
|
2601
2615
|
rt
|
|
2602
2616
|
);
|
|
2603
|
-
return jsi::Value::undefined();
|
|
2604
2617
|
}
|
|
2605
|
-
static jsi::Value
|
|
2606
|
-
static_cast<
|
|
2618
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2619
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
2607
2620
|
rt,
|
|
2608
2621
|
args[0].asBool()
|
|
2609
2622
|
);
|
|
2610
2623
|
return jsi::Value::undefined();
|
|
2611
2624
|
}
|
|
2612
|
-
static jsi::Value
|
|
2613
|
-
static_cast<
|
|
2625
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2626
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
2614
2627
|
rt,
|
|
2615
|
-
args[0].
|
|
2628
|
+
args[0].asNumber(),
|
|
2629
|
+
args[1].asNumber()
|
|
2616
2630
|
);
|
|
2617
2631
|
return jsi::Value::undefined();
|
|
2618
2632
|
}
|
|
2619
|
-
static jsi::Value
|
|
2620
|
-
static_cast<
|
|
2633
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_showPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2634
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->showPopupMenu(
|
|
2621
2635
|
rt,
|
|
2622
|
-
args[0].
|
|
2636
|
+
args[0].asNumber(),
|
|
2637
|
+
args[1].asObject(rt).asArray(rt),
|
|
2638
|
+
args[2].asObject(rt).asFunction(rt),
|
|
2639
|
+
args[3].asObject(rt).asFunction(rt)
|
|
2623
2640
|
);
|
|
2624
2641
|
return jsi::Value::undefined();
|
|
2625
2642
|
}
|
|
2626
|
-
static jsi::Value
|
|
2627
|
-
static_cast<
|
|
2643
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2644
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dismissPopupMenu(
|
|
2628
2645
|
rt
|
|
2629
2646
|
);
|
|
2630
2647
|
return jsi::Value::undefined();
|
|
2631
2648
|
}
|
|
2632
|
-
static jsi::Value
|
|
2633
|
-
static_cast<
|
|
2634
|
-
rt,
|
|
2635
|
-
args[0].asString(rt)
|
|
2636
|
-
);
|
|
2637
|
-
return jsi::Value::undefined();
|
|
2638
|
-
}
|
|
2639
|
-
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2640
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
2649
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2650
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
2641
2651
|
rt,
|
|
2642
2652
|
args[0].asString(rt)
|
|
2643
2653
|
);
|
|
2644
|
-
return jsi::Value::undefined();
|
|
2645
2654
|
}
|
|
2646
|
-
static jsi::Value
|
|
2647
|
-
static_cast<
|
|
2655
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_focus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2656
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
2648
2657
|
rt,
|
|
2649
2658
|
args[0].asNumber()
|
|
2650
2659
|
);
|
|
2651
2660
|
return jsi::Value::undefined();
|
|
2652
2661
|
}
|
|
2653
|
-
static jsi::Value
|
|
2654
|
-
static_cast<
|
|
2655
|
-
rt,
|
|
2656
|
-
args[0].asBool()
|
|
2657
|
-
);
|
|
2658
|
-
return jsi::Value::undefined();
|
|
2659
|
-
}
|
|
2660
|
-
|
|
2661
|
-
NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2662
|
-
: TurboModule("DevSettings", jsInvoker) {
|
|
2663
|
-
methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_reload};
|
|
2664
|
-
methodMap_["reloadWithReason"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason};
|
|
2665
|
-
methodMap_["onFastRefresh"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh};
|
|
2666
|
-
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled};
|
|
2667
|
-
methodMap_["setIsDebuggingRemotely"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely};
|
|
2668
|
-
methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled};
|
|
2669
|
-
methodMap_["toggleElementInspector"] = MethodMetadata {0, __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector};
|
|
2670
|
-
methodMap_["addMenuItem"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem};
|
|
2671
|
-
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_addListener};
|
|
2672
|
-
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners};
|
|
2673
|
-
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
|
|
2674
|
-
}
|
|
2675
|
-
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2676
|
-
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2677
|
-
rt
|
|
2678
|
-
);
|
|
2679
|
-
}
|
|
2680
|
-
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2681
|
-
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
2662
|
+
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_blur(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2663
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
2682
2664
|
rt,
|
|
2683
|
-
args[0].
|
|
2684
|
-
args[1].asObject(rt).asFunction(rt),
|
|
2685
|
-
args[2].asObject(rt).asFunction(rt)
|
|
2665
|
+
args[0].asNumber()
|
|
2686
2666
|
);
|
|
2687
2667
|
return jsi::Value::undefined();
|
|
2688
2668
|
}
|
|
2689
2669
|
|
|
2690
|
-
|
|
2691
|
-
: TurboModule("
|
|
2692
|
-
methodMap_["getConstants"] = MethodMetadata {0,
|
|
2693
|
-
methodMap_["
|
|
2670
|
+
NativeUIManagerCxxSpecJSI::NativeUIManagerCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2671
|
+
: TurboModule("UIManager", jsInvoker) {
|
|
2672
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_getConstants};
|
|
2673
|
+
methodMap_["createView"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_createView};
|
|
2674
|
+
methodMap_["updateView"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_updateView};
|
|
2675
|
+
methodMap_["findSubviewIn"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn};
|
|
2676
|
+
methodMap_["dispatchViewManagerCommand"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand};
|
|
2677
|
+
methodMap_["measure"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_measure};
|
|
2678
|
+
methodMap_["measureInWindow"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow};
|
|
2679
|
+
methodMap_["viewIsDescendantOf"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf};
|
|
2680
|
+
methodMap_["measureLayout"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout};
|
|
2681
|
+
methodMap_["measureLayoutRelativeToParent"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent};
|
|
2682
|
+
methodMap_["setJSResponder"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder};
|
|
2683
|
+
methodMap_["clearJSResponder"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder};
|
|
2684
|
+
methodMap_["configureNextLayoutAnimation"] = MethodMetadata {3, __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation};
|
|
2685
|
+
methodMap_["setChildren"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_setChildren};
|
|
2686
|
+
methodMap_["manageChildren"] = MethodMetadata {6, __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren};
|
|
2687
|
+
methodMap_["getConstantsForViewManager"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager};
|
|
2688
|
+
methodMap_["getDefaultEventTypes"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes};
|
|
2689
|
+
methodMap_["setLayoutAnimationEnabledExperimental"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental};
|
|
2690
|
+
methodMap_["sendAccessibilityEvent"] = MethodMetadata {2, __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent};
|
|
2691
|
+
methodMap_["showPopupMenu"] = MethodMetadata {4, __hostFunction_NativeUIManagerCxxSpecJSI_showPopupMenu};
|
|
2692
|
+
methodMap_["dismissPopupMenu"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu};
|
|
2693
|
+
methodMap_["lazilyLoadView"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView};
|
|
2694
|
+
methodMap_["focus"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_focus};
|
|
2695
|
+
methodMap_["blur"] = MethodMetadata {1, __hostFunction_NativeUIManagerCxxSpecJSI_blur};
|
|
2694
2696
|
}
|
|
2695
|
-
static jsi::Value
|
|
2696
|
-
static_cast<
|
|
2697
|
+
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2698
|
+
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2697
2699
|
rt
|
|
2698
2700
|
);
|
|
2699
|
-
return jsi::Value::undefined();
|
|
2700
2701
|
}
|
|
2701
|
-
static jsi::Value
|
|
2702
|
-
static_cast<
|
|
2703
|
-
rt
|
|
2702
|
+
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2703
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
2704
|
+
rt,
|
|
2705
|
+
args[0].asNumber()
|
|
2704
2706
|
);
|
|
2705
2707
|
return jsi::Value::undefined();
|
|
2706
2708
|
}
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
: TurboModule("LogBox", jsInvoker) {
|
|
2710
|
-
methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_show};
|
|
2711
|
-
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_hide};
|
|
2712
|
-
}
|
|
2713
|
-
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2714
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2709
|
+
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2710
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
2715
2711
|
rt,
|
|
2716
|
-
args[0].asObject(rt),
|
|
2717
|
-
args[1].
|
|
2712
|
+
args[0].asObject(rt).asArray(rt),
|
|
2713
|
+
args[1].asNumber()
|
|
2718
2714
|
);
|
|
2719
2715
|
return jsi::Value::undefined();
|
|
2720
2716
|
}
|
|
2721
|
-
static jsi::Value
|
|
2722
|
-
static_cast<
|
|
2717
|
+
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_cancel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2718
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
|
2723
2719
|
rt
|
|
2724
2720
|
);
|
|
2725
2721
|
return jsi::Value::undefined();
|
|
2726
2722
|
}
|
|
2727
2723
|
|
|
2728
|
-
|
|
2729
|
-
: TurboModule("
|
|
2730
|
-
methodMap_["
|
|
2731
|
-
methodMap_["
|
|
2732
|
-
}
|
|
2733
|
-
|
|
2734
|
-
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2735
|
-
rt
|
|
2736
|
-
);
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
|
-
NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2740
|
-
: TurboModule("SourceCode", jsInvoker) {
|
|
2741
|
-
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants};
|
|
2724
|
+
NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2725
|
+
: TurboModule("Vibration", jsInvoker) {
|
|
2726
|
+
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_getConstants};
|
|
2727
|
+
methodMap_["vibrate"] = MethodMetadata {1, __hostFunction_NativeVibrationCxxSpecJSI_vibrate};
|
|
2728
|
+
methodMap_["vibrateByPattern"] = MethodMetadata {2, __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern};
|
|
2729
|
+
methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_cancel};
|
|
2742
2730
|
}
|
|
2743
|
-
static jsi::Value
|
|
2744
|
-
|
|
2745
|
-
rt
|
|
2731
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2732
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
2733
|
+
rt,
|
|
2734
|
+
args[0].asString(rt),
|
|
2735
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt)),
|
|
2736
|
+
args[2].asObject(rt),
|
|
2737
|
+
args[3].asNumber()
|
|
2746
2738
|
);
|
|
2739
|
+
return jsi::Value::undefined();
|
|
2747
2740
|
}
|
|
2748
|
-
static jsi::Value
|
|
2749
|
-
static_cast<
|
|
2750
|
-
rt
|
|
2741
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2742
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2743
|
+
rt,
|
|
2744
|
+
args[0].asString(rt),
|
|
2745
|
+
args[1].asNumber()
|
|
2751
2746
|
);
|
|
2752
2747
|
return jsi::Value::undefined();
|
|
2753
2748
|
}
|
|
2754
|
-
static jsi::Value
|
|
2755
|
-
|
|
2749
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2750
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2756
2751
|
rt,
|
|
2757
|
-
args[0].
|
|
2752
|
+
args[0].asString(rt),
|
|
2753
|
+
args[1].asNumber()
|
|
2758
2754
|
);
|
|
2755
|
+
return jsi::Value::undefined();
|
|
2759
2756
|
}
|
|
2760
|
-
static jsi::Value
|
|
2761
|
-
|
|
2757
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2758
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2762
2759
|
rt,
|
|
2763
2760
|
args[0].asNumber()
|
|
2764
2761
|
);
|
|
2762
|
+
return jsi::Value::undefined();
|
|
2765
2763
|
}
|
|
2766
|
-
static jsi::Value
|
|
2767
|
-
|
|
2764
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2765
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2768
2766
|
rt,
|
|
2769
|
-
args[0].asNumber()
|
|
2767
|
+
args[0].asNumber(),
|
|
2768
|
+
args[1].asString(rt),
|
|
2769
|
+
args[2].asNumber()
|
|
2770
2770
|
);
|
|
2771
|
+
return jsi::Value::undefined();
|
|
2771
2772
|
}
|
|
2772
|
-
static jsi::Value
|
|
2773
|
-
|
|
2773
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2774
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2774
2775
|
rt,
|
|
2775
2776
|
args[0].asString(rt)
|
|
2776
2777
|
);
|
|
2778
|
+
return jsi::Value::undefined();
|
|
2777
2779
|
}
|
|
2778
|
-
static jsi::Value
|
|
2779
|
-
|
|
2780
|
+
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2781
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2780
2782
|
rt,
|
|
2781
|
-
args[0].
|
|
2783
|
+
args[0].asNumber()
|
|
2782
2784
|
);
|
|
2785
|
+
return jsi::Value::undefined();
|
|
2783
2786
|
}
|
|
2784
|
-
|
|
2785
|
-
|
|
2787
|
+
|
|
2788
|
+
NativeWebSocketModuleCxxSpecJSI::NativeWebSocketModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2789
|
+
: TurboModule("WebSocketModule", jsInvoker) {
|
|
2790
|
+
methodMap_["connect"] = MethodMetadata {4, __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect};
|
|
2791
|
+
methodMap_["send"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_send};
|
|
2792
|
+
methodMap_["sendBinary"] = MethodMetadata {2, __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary};
|
|
2793
|
+
methodMap_["ping"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping};
|
|
2794
|
+
methodMap_["close"] = MethodMetadata {3, __hostFunction_NativeWebSocketModuleCxxSpecJSI_close};
|
|
2795
|
+
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener};
|
|
2796
|
+
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners};
|
|
2797
|
+
}
|
|
2798
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_mark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2799
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
|
2786
2800
|
rt,
|
|
2787
|
-
args[0].
|
|
2801
|
+
args[0].asString(rt),
|
|
2802
|
+
args[1].asNumber()
|
|
2788
2803
|
);
|
|
2804
|
+
return jsi::Value::undefined();
|
|
2789
2805
|
}
|
|
2790
|
-
static jsi::Value
|
|
2791
|
-
|
|
2806
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2807
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(
|
|
2792
2808
|
rt,
|
|
2793
|
-
args[0].
|
|
2809
|
+
args[0].asString(rt),
|
|
2810
|
+
args[1].asNumber(),
|
|
2811
|
+
args[2].asNumber(),
|
|
2812
|
+
count <= 3 || args[3].isNull() || args[3].isUndefined() ? std::nullopt : std::make_optional(args[3].asNumber()),
|
|
2813
|
+
count <= 4 || args[4].isNull() || args[4].isUndefined() ? std::nullopt : std::make_optional(args[4].asString(rt)),
|
|
2814
|
+
count <= 5 || args[5].isNull() || args[5].isUndefined() ? std::nullopt : std::make_optional(args[5].asString(rt))
|
|
2794
2815
|
);
|
|
2816
|
+
return jsi::Value::undefined();
|
|
2795
2817
|
}
|
|
2796
|
-
static jsi::Value
|
|
2797
|
-
return static_cast<
|
|
2798
|
-
rt
|
|
2799
|
-
args[0].getNumber()
|
|
2818
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2819
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
|
2820
|
+
rt
|
|
2800
2821
|
);
|
|
2801
2822
|
}
|
|
2802
|
-
static jsi::Value
|
|
2803
|
-
return static_cast<
|
|
2823
|
+
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2824
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
|
2825
|
+
rt
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2828
|
+
|
|
2829
|
+
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2830
|
+
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
|
2831
|
+
methodMap_["mark"] = MethodMetadata {2, __hostFunction_NativePerformanceCxxSpecJSI_mark};
|
|
2832
|
+
methodMap_["measure"] = MethodMetadata {6, __hostFunction_NativePerformanceCxxSpecJSI_measure};
|
|
2833
|
+
methodMap_["getSimpleMemoryInfo"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo};
|
|
2834
|
+
methodMap_["getReactNativeStartupTiming"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming};
|
|
2835
|
+
}
|
|
2836
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2837
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
|
2804
2838
|
rt,
|
|
2805
|
-
args[0].asNumber()
|
|
2806
|
-
args[1].asString(rt),
|
|
2807
|
-
args[2].asObject(rt)
|
|
2839
|
+
args[0].asNumber()
|
|
2808
2840
|
);
|
|
2841
|
+
return jsi::Value::undefined();
|
|
2809
2842
|
}
|
|
2810
|
-
static jsi::Value
|
|
2811
|
-
static_cast<
|
|
2843
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2844
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(
|
|
2812
2845
|
rt,
|
|
2813
|
-
args[0].
|
|
2846
|
+
args[0].asNumber()
|
|
2814
2847
|
);
|
|
2815
2848
|
return jsi::Value::undefined();
|
|
2816
2849
|
}
|
|
2817
|
-
static jsi::Value
|
|
2818
|
-
|
|
2850
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2851
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setIsBuffered(
|
|
2819
2852
|
rt,
|
|
2820
|
-
args[0].
|
|
2853
|
+
args[0].asObject(rt).asArray(rt),
|
|
2854
|
+
args[1].asBool()
|
|
2821
2855
|
);
|
|
2856
|
+
return jsi::Value::undefined();
|
|
2822
2857
|
}
|
|
2823
|
-
static jsi::Value
|
|
2824
|
-
static_cast<
|
|
2858
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2859
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
|
2825
2860
|
rt
|
|
2826
2861
|
);
|
|
2862
|
+
}
|
|
2863
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2864
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(
|
|
2865
|
+
rt,
|
|
2866
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asObject(rt).asFunction(rt))
|
|
2867
|
+
);
|
|
2827
2868
|
return jsi::Value::undefined();
|
|
2828
2869
|
}
|
|
2829
|
-
static jsi::Value
|
|
2830
|
-
|
|
2870
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2871
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
|
2831
2872
|
rt,
|
|
2832
2873
|
args[0].asObject(rt)
|
|
2833
2874
|
);
|
|
2875
|
+
return jsi::Value::undefined();
|
|
2834
2876
|
}
|
|
2835
|
-
static jsi::Value
|
|
2836
|
-
return static_cast<
|
|
2877
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2878
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
|
2837
2879
|
rt
|
|
2838
2880
|
);
|
|
2839
2881
|
}
|
|
2840
|
-
static jsi::Value
|
|
2841
|
-
static_cast<
|
|
2842
|
-
rt
|
|
2882
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2883
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
|
2884
|
+
rt,
|
|
2885
|
+
args[0].asNumber(),
|
|
2886
|
+
args[1].asNumber()
|
|
2843
2887
|
);
|
|
2844
2888
|
return jsi::Value::undefined();
|
|
2845
2889
|
}
|
|
2846
|
-
static jsi::Value
|
|
2847
|
-
|
|
2890
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2891
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(
|
|
2848
2892
|
rt,
|
|
2849
|
-
args[0].
|
|
2893
|
+
args[0].asNumber(),
|
|
2894
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2850
2895
|
);
|
|
2896
|
+
return jsi::Value::undefined();
|
|
2851
2897
|
}
|
|
2852
|
-
static jsi::Value
|
|
2853
|
-
return static_cast<
|
|
2898
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2899
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(
|
|
2900
|
+
rt,
|
|
2901
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
2902
|
+
count <= 1 || args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
2903
|
+
);
|
|
2904
|
+
}
|
|
2905
|
+
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getSupportedPerformanceEntryTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2906
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getSupportedPerformanceEntryTypes(
|
|
2854
2907
|
rt
|
|
2855
2908
|
);
|
|
2856
2909
|
}
|
|
2857
2910
|
|
|
2858
|
-
|
|
2859
|
-
: TurboModule("
|
|
2860
|
-
methodMap_["
|
|
2861
|
-
methodMap_["
|
|
2862
|
-
methodMap_["
|
|
2863
|
-
methodMap_["
|
|
2864
|
-
methodMap_["
|
|
2865
|
-
methodMap_["
|
|
2866
|
-
methodMap_["
|
|
2867
|
-
methodMap_["
|
|
2868
|
-
methodMap_["
|
|
2869
|
-
methodMap_["
|
|
2870
|
-
methodMap_["
|
|
2871
|
-
methodMap_["getValueWithCallback"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback};
|
|
2872
|
-
methodMap_["getValueWithPromise"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise};
|
|
2873
|
-
methodMap_["voidFuncThrows"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows};
|
|
2874
|
-
methodMap_["getObjectThrows"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows};
|
|
2875
|
-
methodMap_["promiseThrows"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows};
|
|
2876
|
-
methodMap_["voidFuncAssert"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAssert};
|
|
2877
|
-
methodMap_["getObjectAssert"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert};
|
|
2878
|
-
methodMap_["promiseAssert"] = MethodMetadata {0, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert};
|
|
2911
|
+
NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
2912
|
+
: TurboModule("NativePerformanceObserverCxx", jsInvoker) {
|
|
2913
|
+
methodMap_["startReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting};
|
|
2914
|
+
methodMap_["stopReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting};
|
|
2915
|
+
methodMap_["setIsBuffered"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered};
|
|
2916
|
+
methodMap_["popPendingEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries};
|
|
2917
|
+
methodMap_["setOnPerformanceEntryCallback"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback};
|
|
2918
|
+
methodMap_["logRawEntry"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry};
|
|
2919
|
+
methodMap_["getEventCounts"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts};
|
|
2920
|
+
methodMap_["setDurationThreshold"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold};
|
|
2921
|
+
methodMap_["clearEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries};
|
|
2922
|
+
methodMap_["getEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries};
|
|
2923
|
+
methodMap_["getSupportedPerformanceEntryTypes"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_getSupportedPerformanceEntryTypes};
|
|
2879
2924
|
}
|
|
2880
2925
|
|
|
2881
2926
|
|
|
2882
|
-
} // namespace react
|
|
2883
|
-
} // namespace facebook
|
|
2927
|
+
} // namespace facebook::react
|