react-native-windows 0.72.14 → 0.73.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 +16 -5
- package/Chakra/ChakraHelpers.cpp +1 -1
- package/Chakra/ChakraUtils.cpp +1 -1
- package/Chakra/ChakraValue.h +1 -1
- package/Common/packages.lock.json +13 -0
- package/Directory.Build.props +6 -2
- package/Folly/TEMP_UntilFollyUpdate/dynamic-inl.h +1 -10
- package/Folly/TEMP_UntilFollyUpdate/hash/Hash.h +1016 -0
- package/Folly/TEMP_UntilFollyUpdate/lang/ToAscii.h +1 -1
- package/Folly/cgmanifest.json +1 -1
- package/Folly/packages.lock.json +23 -0
- package/Libraries/Animated/Animated.js +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +1 -1
- package/Libraries/Animated/NativeAnimatedHelper.js +14 -10
- package/Libraries/Animated/NativeAnimatedModule.js +6 -2
- package/Libraries/Animated/NativeAnimatedTurboModule.js +7 -4
- package/Libraries/Animated/animations/Animation.js +57 -3
- package/Libraries/Animated/animations/DecayAnimation.js +9 -0
- package/Libraries/Animated/animations/SpringAnimation.js +8 -0
- package/Libraries/Animated/animations/TimingAnimation.js +8 -0
- package/Libraries/Animated/components/AnimatedFlatList.js +2 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +2 -0
- package/Libraries/Animated/components/AnimatedSectionList.js +2 -1
- package/Libraries/Animated/createAnimatedComponent.js +1 -0
- package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
- package/Libraries/Animated/nodes/AnimatedObject.js +146 -0
- package/Libraries/Animated/nodes/AnimatedProps.js +19 -7
- package/Libraries/Animated/nodes/AnimatedStyle.js +29 -55
- package/Libraries/Animated/nodes/AnimatedValueXY.js +3 -17
- package/Libraries/Animated/shouldUseTurboAnimatedModule.js +17 -0
- package/Libraries/Animated/useAnimatedProps.js +9 -10
- package/Libraries/AppState/AppState.d.ts +1 -1
- package/Libraries/AppState/NativeAppState.js +8 -4
- package/Libraries/AppTheme/AppTheme.js +5 -5
- package/Libraries/BatchedBridge/MessageQueue.js +45 -36
- package/Libraries/Blob/Blob.js +6 -2
- package/Libraries/Blob/BlobManager.js +9 -10
- package/Libraries/Blob/BlobRegistry.js +14 -9
- package/Libraries/Blob/File.js +1 -1
- package/Libraries/Blob/FileReader.js +1 -2
- package/Libraries/Components/Clipboard/Clipboard.d.ts +4 -4
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +3 -1
- package/Libraries/Components/Glyph/Glyph.js +1 -1
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +26 -6
- package/Libraries/Components/Keyboard/KeyboardExt.d.ts +4 -1
- package/Libraries/Components/Keyboard/KeyboardExt.js +3 -0
- package/Libraries/Components/Keyboard/KeyboardExt.js.map +1 -1
- package/Libraries/Components/Keyboard/KeyboardExtProps.d.ts +4 -29
- package/Libraries/Components/Keyboard/KeyboardExtProps.js +0 -17
- package/Libraries/Components/Keyboard/KeyboardExtProps.js.map +1 -1
- package/Libraries/Components/Pressable/Pressable.js +3 -2
- package/Libraries/Components/Pressable/Pressable.windows.js +4 -3
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +1 -1
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +20 -0
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.windows.js +7 -1
- package/Libraries/Components/SafeAreaView/SafeAreaView.js +7 -7
- package/Libraries/Components/SafeAreaView/SafeAreaView.windows.js +7 -10
- package/Libraries/Components/ScrollView/ScrollView.js +3 -1
- package/Libraries/Components/ScrollView/ScrollView.windows.js +3 -1
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +39 -46
- package/Libraries/Components/Switch/Switch.js +1 -0
- package/Libraries/Components/Switch/Switch.windows.js +259 -0
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +1 -0
- package/Libraries/Components/TextInput/TextInput.d.ts +49 -7
- package/Libraries/Components/TextInput/TextInput.flow.js +43 -10
- package/Libraries/Components/TextInput/TextInput.js +62 -10
- package/Libraries/Components/TextInput/TextInput.windows.js +100 -14
- package/Libraries/Components/ToastAndroid/{ToastAndroid.ios.js → ToastAndroid.js} +9 -1
- package/Libraries/Components/ToastAndroid/ToastAndroid.windows.js +9 -1
- package/Libraries/Components/Touchable/TouchableBounce.js +1 -1
- package/Libraries/Components/Touchable/TouchableHighlight.js +1 -1
- package/Libraries/Components/Touchable/TouchableHighlight.windows.js +1 -1
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -1
- package/Libraries/Components/Touchable/TouchableOpacity.js +4 -1
- package/Libraries/Components/Touchable/TouchableOpacity.windows.js +4 -1
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +1 -0
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.windows.js +1 -0
- package/Libraries/Components/TraceUpdateOverlay/TraceUpdateOverlay.js +16 -6
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +9 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.windows.js +1 -0
- package/Libraries/Components/View/View.js +46 -32
- package/Libraries/Components/View/View.windows.js +23 -7
- package/Libraries/Components/View/ViewAccessibility.d.ts +27 -1
- package/Libraries/Components/View/ViewAccessibility.windows.js +3 -0
- package/Libraries/Components/View/ViewNativeComponent.js +1 -0
- package/Libraries/Components/View/ViewPropTypes.d.ts +104 -1
- package/Libraries/Components/View/ViewPropTypes.js +18 -3
- package/Libraries/Components/View/ViewPropTypes.windows.js +33 -3
- package/Libraries/Core/Devtools/loadBundleFromServer.js +152 -0
- package/Libraries/Core/Devtools/symbolicateStackTrace.js +2 -1
- package/Libraries/Core/ExceptionsManager.js +16 -7
- package/Libraries/Core/ExtendedError.js +12 -0
- package/Libraries/Core/ReactNativeVersion.js +3 -3
- package/Libraries/Core/ReactNativeVersionCheck.js +0 -2
- package/Libraries/Core/__mocks__/NativeExceptionsManager.js +20 -0
- package/Libraries/Core/setUpDeveloperTools.js +5 -1
- package/Libraries/Core/setUpIntersectionObserver.js +16 -0
- package/Libraries/Core/setUpMutationObserver.js +16 -0
- package/Libraries/Core/setUpPerformance.js +6 -13
- package/Libraries/Core/setUpPerformanceObserver.js +16 -0
- package/Libraries/Core/setUpRegeneratorRuntime.js +4 -2
- package/Libraries/DOM/Nodes/ReactNativeElement.js +135 -18
- package/Libraries/DOM/Nodes/ReadOnlyCharacterData.js +72 -0
- package/Libraries/DOM/Nodes/ReadOnlyElement.js +209 -21
- package/Libraries/DOM/Nodes/ReadOnlyNode.js +206 -17
- package/Libraries/DOM/Nodes/ReadOnlyText.js +30 -0
- package/Libraries/DOM/Nodes/Utilities/Traversal.js +54 -0
- package/Libraries/EventEmitter/NativeEventEmitter.d.ts +0 -6
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +15 -4
- package/Libraries/Image/Image.android.js +8 -2
- package/Libraries/Image/Image.d.ts +1 -1
- package/Libraries/Image/Image.ios.js +4 -1
- package/Libraries/Image/Image.windows.js +6 -3
- package/Libraries/Image/ImageBackground.js +3 -0
- package/Libraries/Inspector/DevtoolsOverlay.js +6 -3
- package/Libraries/Inspector/NetworkOverlay.js +2 -2
- package/Libraries/Interaction/JSEventLoopWatchdog.js +1 -5
- package/Libraries/Interaction/PanResponder.js +1 -4
- package/Libraries/IntersectionObserver/IntersectionObserver.js +252 -0
- package/Libraries/IntersectionObserver/IntersectionObserverEntry.js +140 -0
- package/Libraries/IntersectionObserver/IntersectionObserverManager.js +221 -0
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +41 -0
- package/Libraries/IntersectionObserver/__mocks__/NativeIntersectionObserver.js +162 -0
- package/Libraries/LayoutAnimation/LayoutAnimation.js +1 -1
- package/Libraries/Lists/FlatList.d.ts +2 -1
- package/Libraries/Lists/FlatList.js +15 -5
- package/Libraries/Lists/SectionList.js +4 -0
- package/Libraries/LogBox/Data/LogBoxLog.js +4 -1
- package/Libraries/LogBox/Data/LogBoxSymbolication.js +5 -2
- package/Libraries/LogBox/Data/parseLogBoxLog.js +57 -20
- package/Libraries/LogBox/UI/AnsiHighlight.js +1 -1
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +24 -31
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +1 -1
- package/Libraries/LogBox/UI/LogBoxMessage.js +4 -7
- package/Libraries/MutationObserver/MutationObserver.js +184 -0
- package/Libraries/MutationObserver/MutationObserverManager.js +218 -0
- package/Libraries/MutationObserver/MutationRecord.js +82 -0
- package/Libraries/MutationObserver/NativeMutationObserver.js +58 -0
- package/Libraries/MutationObserver/__mocks__/NativeMutationObserver.js +327 -0
- package/Libraries/NativeComponent/BaseViewConfig.android.js +18 -3
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +33 -0
- package/Libraries/NativeComponent/BaseViewConfig.windows.js +34 -4
- package/Libraries/NativeComponent/NativeComponentRegistry.js +3 -5
- package/Libraries/NativeModules/specs/NativeSourceCode.js +6 -6
- package/Libraries/Network/RCTNetworking.android.js +2 -1
- package/Libraries/Network/XMLHttpRequest.js +1 -1
- package/Libraries/NewAppScreen/components/DebugInstructions.js +4 -4
- package/Libraries/NewAppScreen/components/DebugInstructions.windows.js +2 -2
- package/Libraries/NewAppScreen/components/LearnMoreLinks.js +9 -2
- package/Libraries/Performance/QuickPerformanceLogger.js +1 -1
- package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +1 -0
- package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +1 -0
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +3 -1
- package/Libraries/Pressability/Pressability.js +28 -3
- package/Libraries/Pressability/Pressability.windows.js +30 -5
- package/Libraries/ReactNative/AppContainer.js +2 -3
- package/Libraries/ReactNative/AppRegistry.d.ts +0 -5
- package/Libraries/ReactNative/AppRegistry.js +66 -53
- package/Libraries/ReactNative/BridgelessUIManager.js +38 -9
- package/Libraries/ReactNative/FabricUIManager.js +143 -34
- package/Libraries/ReactNative/I18nManager.js +5 -11
- package/Libraries/ReactNative/NativeI18nManager.js +7 -5
- package/Libraries/ReactNative/PaperUIManager.windows.js +2 -2
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +151 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +81 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +492 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/warnForStyleProps.js +32 -0
- package/Libraries/ReactNative/ReactNativeFeatureFlags.js +19 -3
- package/Libraries/ReactNative/UIManager.js +8 -0
- package/Libraries/ReactNative/__mocks__/FabricUIManager.js +648 -0
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +38 -2
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +27 -27
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +3 -3
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3 -3
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +27 -27
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +3 -3
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +3 -3
- package/Libraries/Renderer/shims/ReactFabric.js +5 -6
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +2 -3
- package/Libraries/Renderer/shims/ReactNative.js +2 -3
- package/Libraries/Renderer/shims/ReactNativeTypes.js +35 -17
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -3
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -3
- package/Libraries/Settings/{Settings.android.js → Settings.js} +4 -4
- package/Libraries/Share/Share.d.ts +3 -9
- package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +9 -4
- package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +28 -13
- package/Libraries/StyleSheet/PlatformColorValueTypes.windows.js +10 -6
- package/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.d.ts +10 -1
- package/Libraries/StyleSheet/StyleSheet.js +3 -0
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +31 -17
- package/Libraries/StyleSheet/StyleSheetTypes.js +90 -6
- package/Libraries/StyleSheet/flattenStyle.js +4 -0
- package/Libraries/StyleSheet/private/_TransformStyle.js +16 -2
- package/Libraries/StyleSheet/processColor.js +1 -2
- package/Libraries/StyleSheet/processTransformOrigin.js +136 -0
- package/Libraries/StyleSheet/splitLayoutProps.js +1 -0
- package/Libraries/Text/Text.d.ts +5 -5
- package/Libraries/Text/Text.js +17 -10
- package/Libraries/Text/Text.windows.js +53 -20
- package/Libraries/Text/TextProps.windows.js +275 -0
- package/Libraries/TurboModule/TurboModuleRegistry.js +47 -7
- package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +6 -0
- package/Libraries/Types/CoreEventTypes.d.ts +5 -2
- package/Libraries/Utilities/GlobalPerformanceLogger.js +2 -12
- package/Libraries/Utilities/NativeDeviceInfo.js +8 -9
- package/Libraries/Utilities/NativePlatformConstantsAndroid.js +23 -18
- package/Libraries/Utilities/NativePlatformConstantsIOS.js +16 -13
- package/Libraries/Utilities/NativePlatformConstantsWin.js +13 -10
- package/Libraries/Utilities/PerformanceLoggerContext.js +1 -1
- package/Libraries/Utilities/Platform.android.js +12 -8
- package/Libraries/Utilities/Platform.d.ts +1 -0
- package/Libraries/Utilities/Platform.flow.js +84 -0
- package/Libraries/Utilities/Platform.flow.windows.js +111 -0
- package/Libraries/Utilities/Platform.ios.js +12 -8
- package/Libraries/Utilities/Platform.windows.js +12 -8
- package/Libraries/Utilities/PolyfillFunctions.js +1 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -2
- package/Libraries/Utilities/SceneTracker.js +1 -1
- package/Libraries/Utilities/createPerformanceLogger.js +63 -32
- package/Libraries/Utilities/useColorScheme.js +7 -8
- package/Libraries/WebPerformance/MemoryInfo.js +1 -1
- package/Libraries/WebPerformance/NativePerformance.js +3 -8
- package/Libraries/WebPerformance/NativePerformanceObserver.js +4 -0
- package/Libraries/WebPerformance/Performance.js +42 -15
- package/Libraries/WebPerformance/PerformanceEntry.js +14 -6
- package/Libraries/WebPerformance/PerformanceEventTiming.js +18 -1
- package/Libraries/WebPerformance/ReactNativeStartupTiming.js +40 -14
- package/Libraries/WebPerformance/__mocks__/NativePerformance.js +4 -2
- package/Libraries/WebPerformance/__mocks__/NativePerformanceObserver.js +21 -3
- package/Libraries/__tests__/ViewWindows-test.js +3 -3
- package/Libraries/platform-types.d.ts +6 -2
- package/Libraries/promiseRejectionTrackingOptions.js +1 -3
- package/Libraries/vendor/emitter/EventEmitter.js +17 -17
- package/Microsoft.ReactNative/Composition.Input.idl +103 -0
- package/Microsoft.ReactNative/CompositionContext.idl +31 -8
- package/Microsoft.ReactNative/CompositionRootView.idl +8 -4
- package/Microsoft.ReactNative/CompositionSwitcher.idl +28 -17
- package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.cpp +15 -28
- package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.h +7 -10
- package/Microsoft.ReactNative/Fabric/ComponentView.h +42 -4
- package/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.cpp +57 -4
- package/Microsoft.ReactNative/Fabric/Composition/AbiCompositionViewComponentView.h +22 -1
- package/Microsoft.ReactNative/Fabric/Composition/ActivityIndicatorComponentView.cpp +137 -0
- package/Microsoft.ReactNative/Fabric/Composition/ActivityIndicatorComponentView.h +59 -0
- package/Microsoft.ReactNative/Fabric/Composition/ComponentViewRegistry.cpp +8 -2
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.cpp +575 -0
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.h +170 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +890 -226
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.h +38 -6
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper_emptyimpl.cpp +79 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +130 -27
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.h +6 -1
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +382 -228
- package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +35 -8
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHelpers.h +46 -8
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +5 -21
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.h +1 -1
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.cpp +232 -4
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.h +36 -1
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView.cpp +51 -14
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView.h +15 -6
- package/Microsoft.ReactNative/Fabric/Composition/CompositionRootView_emptyimpl.cpp +123 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionUIService_emptyimpl.cpp +18 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +333 -137
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +52 -8
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.cpp +32 -26
- package/Microsoft.ReactNative/Fabric/Composition/ImageComponentView.h +5 -3
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.cpp +183 -175
- package/Microsoft.ReactNative/Fabric/Composition/ParagraphComponentView.h +7 -4
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.cpp +101 -2
- package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.h +46 -2
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.cpp +36 -9
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.h +8 -2
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +247 -42
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +25 -8
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp +78 -50
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.h +12 -4
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentDescriptor.h +26 -28
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +429 -89
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +24 -3
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputProps.cpp +1 -0
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputProps.h +3 -2
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.cpp +5 -7
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.h +4 -6
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.cpp +1 -7
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.h +1 -17
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +74 -3
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.h +12 -0
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.cpp +53 -59
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.h +3 -2
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp +5 -4
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.h +2 -1
- package/Microsoft.ReactNative/Fabric/ImageRequest.cpp +1 -1
- package/Microsoft.ReactNative/Fabric/ReactTaggedView.h +1 -1
- package/Microsoft.ReactNative/Fabric/WindowsComponentDescriptorRegistry.cpp +3 -4
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformTouch.h +10 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewEventEmitter.cpp +59 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewEventEmitter.h +31 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewProps.cpp +69 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewProps.h +25 -2
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewTraitsInitializer.h +23 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/KeyEvent.h +113 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/WindowsViewEvents.h +75 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/core/graphicsConversions.h +18 -21
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Color.cpp +158 -7
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/Color.h +15 -17
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/TextLayoutManager.cpp +1 -1
- package/Microsoft.ReactNative/GlyphViewManager.cpp +1 -1
- package/Microsoft.ReactNative/IJSValueReader.idl +2 -2
- package/Microsoft.ReactNative/IJSValueWriter.idl +2 -2
- package/Microsoft.ReactNative/IReactCompositionViewComponentBuilder.idl +23 -1
- package/Microsoft.ReactNative/IReactContext.cpp +1 -1
- package/Microsoft.ReactNative/IReactNotificationService.cpp +4 -3
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +1 -4
- package/Microsoft.ReactNative/Modules/AlertModule.cpp +2 -2
- package/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.cpp +1 -2
- package/Microsoft.ReactNative/Modules/Animated/NativeAnimatedNodeManager.h +1 -1
- package/Microsoft.ReactNative/Modules/Animated/PropsAnimatedNode.cpp +3 -4
- package/Microsoft.ReactNative/Modules/AppStateModule.cpp +1 -1
- package/Microsoft.ReactNative/Modules/AppStateModule.h +2 -2
- package/Microsoft.ReactNative/Modules/AppearanceModule.h +1 -1
- package/Microsoft.ReactNative/Modules/DeviceInfoModule.cpp +4 -2
- package/Microsoft.ReactNative/Modules/DeviceInfoModule.h +1 -1
- package/Microsoft.ReactNative/Modules/I18nManagerModule.cpp +2 -2
- package/Microsoft.ReactNative/Modules/I18nManagerModule.h +1 -1
- package/Microsoft.ReactNative/Modules/NativeUIManager.cpp +21 -15
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.cpp +10 -6
- package/Microsoft.ReactNative/Modules/PaperUIManagerModule.h +4 -1
- package/Microsoft.ReactNative/QuirkSettings.idl +1 -1
- package/Microsoft.ReactNative/ReactApplication.cpp +13 -11
- package/Microsoft.ReactNative/ReactApplication.h +4 -4
- package/Microsoft.ReactNative/ReactCoreInjection.h +6 -5
- package/Microsoft.ReactNative/ReactHost/JSCallInvokerScheduler.cpp +2 -2
- package/Microsoft.ReactNative/ReactHost/MsoUtils.cpp +1 -1
- package/Microsoft.ReactNative/ReactHost/React.h +3 -6
- package/Microsoft.ReactNative/ReactHost/ReactHost.cpp +0 -16
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +8 -16
- package/Microsoft.ReactNative/ReactInstanceSettings.cpp +6 -5
- package/Microsoft.ReactNative/ReactInstanceSettings.h +7 -7
- package/Microsoft.ReactNative/ReactNativeHost.h +4 -4
- package/Microsoft.ReactNative/ReactRootView.cpp +5 -4
- package/Microsoft.ReactNative/ReactRootView.h +2 -2
- package/Microsoft.ReactNative/ReactSupport.h +1 -1
- package/Microsoft.ReactNative/RedBox.cpp +1 -1
- package/Microsoft.ReactNative/RedBoxHandler.idl +1 -1
- package/Microsoft.ReactNative/Utils/UwpPreparedScriptStore.h +1 -1
- package/Microsoft.ReactNative/Utils/ValueUtils.cpp +49 -21
- package/Microsoft.ReactNative/Utils/ValueUtils.h +2 -1
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.cpp +31 -59
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.h +3 -4
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.cpp +15 -46
- package/Microsoft.ReactNative/Views/DynamicAutomationProperties.h +5 -13
- package/Microsoft.ReactNative/Views/FlyoutViewManager.cpp +4 -4
- package/Microsoft.ReactNative/Views/FrameworkElementTransferProperties.cpp +2 -8
- package/Microsoft.ReactNative/Views/FrameworkElementViewManager.cpp +127 -86
- package/Microsoft.ReactNative/Views/ICompositionRootView.h +1 -1
- package/Microsoft.ReactNative/Views/Image/ImageViewManager.cpp +1 -1
- package/Microsoft.ReactNative/Views/Image/Microsoft.UI.Composition.Effects_Impl.h +2 -2
- package/Microsoft.ReactNative/Views/Image/ReactImage.cpp +1 -1
- package/Microsoft.ReactNative/Views/SIPEventHandler.cpp +5 -5
- package/Microsoft.ReactNative/Views/SIPEventHandler.h +1 -1
- package/Microsoft.ReactNative/Views/ShadowNodeBase.h +8 -5
- package/Microsoft.ReactNative/Views/SwitchViewManager.cpp +2 -2
- package/Microsoft.ReactNative/Views/Text/TextTransformVisitor.cpp +1 -1
- package/Microsoft.ReactNative/Views/TextInputViewManager.cpp +32 -14
- package/Microsoft.ReactNative/Views/TouchEventHandler.cpp +1 -1
- package/Microsoft.ReactNative/Views/ViewManagerBase.cpp +14 -2
- package/Microsoft.ReactNative/Views/ViewManagerBase.h +1 -1
- package/Microsoft.ReactNative/Views/ViewPanel.cpp +20 -219
- package/Microsoft.ReactNative/Views/ViewPanel.h +0 -30
- package/Microsoft.ReactNative/Views/ViewViewManager.cpp +17 -158
- package/Microsoft.ReactNative/Views/cppwinrt/DynamicAutomationPeer.idl +9 -12
- package/Microsoft.ReactNative/Views/cppwinrt/ViewPanel.idl +1 -9
- package/Microsoft.ReactNative/XamlHelper.cpp +1 -1
- package/Microsoft.ReactNative/XamlHelper.h +1 -1
- package/Microsoft.ReactNative/packages.lock.json +128 -0
- package/Microsoft.ReactNative.Cxx/JSI/JsiAbiApi.cpp +1 -1
- package/Microsoft.ReactNative.Cxx/JSI/JsiAbiApi.h +1 -1
- package/Microsoft.ReactNative.Cxx/JSI/JsiApiContext.cpp +2 -2
- package/Microsoft.ReactNative.Cxx/JSValue.h +2 -2
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +0 -1
- package/Microsoft.ReactNative.Cxx/NativeModules.h +4 -4
- package/Microsoft.ReactNative.Cxx/ReactHandleHelper.h +1 -1
- package/Microsoft.ReactNative.Cxx/ReactNonAbiValue.h +2 -2
- package/Microsoft.ReactNative.Cxx/ReactNotificationService.h +10 -9
- package/Microsoft.ReactNative.Cxx/ReactPropertyBag.h +13 -12
- package/Microsoft.ReactNative.Managed/JSValueReaderGenerator.cs +5 -5
- package/Microsoft.ReactNative.Managed/JSValueWriterGenerator.cs +5 -5
- package/Microsoft.ReactNative.Managed/Microsoft.ReactNative.Managed.csproj +8 -2
- package/Microsoft.ReactNative.Managed/ReactPackageBuilderExtensions.cs +1 -1
- package/Microsoft.ReactNative.Managed/ReflectionReactPackageProvider.cs +1 -1
- package/Microsoft.ReactNative.Managed/packages.lock.json +9 -9
- package/Microsoft.ReactNative.Managed.CodeGen/CodeAnalyzer.cs +2 -0
- package/Microsoft.ReactNative.Managed.CodeGen/CodeGenerator.Module.cs +4 -2
- package/Microsoft.ReactNative.Managed.CodeGen/CodeGenerator.ViewManager.cs +1 -1
- package/Microsoft.ReactNative.Managed.CodeGen/DiagnosticDescriptors.cs +1 -1
- package/Microsoft.ReactNative.Managed.CodeGen/packages.lock.json +3197 -0
- package/Mso/compilerAdapters/compilerFeatures.h +1 -1
- package/Mso/compilerAdapters/functionDecorations.h +6 -6
- package/Mso/debugAssertApi/debugAssertDetails.h +1 -1
- package/Mso/dispatchQueue/dispatchQueue.h +3 -3
- package/Mso/motifCpp/motifCppTest.h +1 -1
- package/Mso/motifCpp/testCheck.h +1 -1
- package/Mso/oacr/oacr.h +1 -1
- package/Mso/smartPtr/smartPointerBase.h +1 -1
- package/Mso/src/dispatchQueue/looperScheduler.cpp +2 -2
- package/Mso/src/dispatchQueue/queueService.cpp +1 -1
- package/Mso/src/dispatchQueue/taskQueue.h +1 -1
- package/Mso/src/dispatchQueue/threadPoolScheduler_win.cpp +2 -2
- package/Mso/src/dispatchQueue/uiScheduler_winrt.cpp +122 -45
- package/Mso/src/eventWaitHandle/eventWaitHandleImpl_win.cpp +2 -2
- package/Mso/src/future/futureImpl.cpp +5 -5
- package/Mso/src/future/futureImpl.h +1 -1
- package/PropertySheets/External/Microsoft.ReactNative.Common.props +3 -0
- package/PropertySheets/External/{Microsoft.ReactNative.WinAppSDK.Common.props → Microsoft.ReactNative.Composition.Common.props} +2 -2
- package/PropertySheets/External/{Microsoft.ReactNative.WinAppSDK.CSharpApp.props → Microsoft.ReactNative.Composition.CppApp.props} +7 -10
- package/PropertySheets/External/Microsoft.ReactNative.Composition.CppApp.targets +19 -0
- package/PropertySheets/External/Microsoft.ReactNative.Composition.Package.props +14 -0
- package/PropertySheets/External/Microsoft.ReactNative.Composition.Package.targets +18 -0
- package/PropertySheets/External/Microsoft.ReactNative.WindowsSdk.Default.props +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +4 -4
- package/PropertySheets/HybridCRT.props +34 -0
- package/PropertySheets/JSEngine.props +1 -2
- package/PropertySheets/React.Cpp.props +0 -1
- package/PropertySheets/Warnings.props +1 -1
- package/PropertySheets/WinUI.props +1 -1
- package/ReactCommon/ReactCommon.vcxproj +15 -9
- package/ReactCommon/ReactCommon.vcxproj.filters +0 -3
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsi/jsi/test/testlib.cpp +32 -5
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/Bridging.h +20 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/YogaLayoutableShadowNode.cpp +1038 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/YogaStylableProps.cpp +228 -38
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/conversions.h +895 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/mounting/ShadowTree.cpp +543 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/uimanager/UIManagerBinding.cpp +1509 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/bits/NumericBitfield.h +67 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/config/Config.h +93 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/LayoutResults.h +88 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/Node.cpp +606 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/Node.h +344 -0
- package/ReactCommon/Yoga.cpp +497 -3895
- package/ReactCommon/packages.lock.json +30 -0
- package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +22 -0
- package/Scripts/OfficeReact.Win32.nuspec +1 -0
- package/Scripts/rnw-dependencies.ps1 +79 -26
- package/Shared/BaseScriptStoreImpl.cpp +42 -13
- package/Shared/BaseScriptStoreImpl.h +1 -1
- package/Shared/Composition/AutoDraw.h +36 -0
- package/Shared/CxxMessageQueue.cpp +1 -1
- package/Shared/DevSettings.h +3 -0
- package/Shared/DevSupportManager.h +1 -1
- package/Shared/Hasher.cpp +64 -0
- package/Shared/Hasher.h +24 -0
- package/Shared/HermesRuntimeHolder.cpp +6 -6
- package/Shared/IDevSupportManager.h +1 -1
- package/Shared/JSI/ChakraApi.cpp +1 -1
- package/Shared/JSI/ChakraRuntime.cpp +10 -10
- package/Shared/JSI/ChakraRuntime.h +6 -6
- package/Shared/JSI/V8RuntimeHolder.cpp +1 -1
- package/Shared/Modules/IRequestBodyHandler.h +1 -1
- package/Shared/Modules/IUriHandler.h +1 -1
- package/Shared/Modules/PlatformConstantsModule.cpp +1 -1
- package/Shared/Modules/WebSocketModule.cpp +1 -1
- package/Shared/Networking/DefaultBlobResource.cpp +2 -2
- package/Shared/Networking/OriginPolicyHttpFilter.cpp +22 -16
- package/Shared/Networking/OriginPolicyHttpFilter.h +12 -11
- package/Shared/OInstance.cpp +9 -23
- package/Shared/OInstance.h +1 -1
- package/Shared/PackagerConnection.h +1 -1
- package/Shared/SafeLoadLibrary.cpp +8 -44
- package/Shared/SafeLoadLibrary.h +1 -5
- package/Shared/Shared.vcxitems +50 -20
- package/Shared/Shared.vcxitems.filters +26 -17
- package/Shared/Threading/BatchingQueueThread.cpp +5 -5
- package/Shared/Threading/BatchingQueueThread.h +4 -4
- package/Shared/TurboModuleManager.cpp +1 -1
- package/Shared/Utils.cpp +1 -1
- package/Shared/tracing/fbsystrace.h +1 -1
- package/codegen/NativeAnimatedModuleSpec.g.h +2 -0
- package/codegen/NativeAnimatedTurboModuleSpec.g.h +2 -0
- package/codegen/NativeAppStateSpec.g.h +11 -21
- package/codegen/NativeDeviceInfoSpec.g.h +4 -14
- package/codegen/NativeI18nManagerSpec.g.h +6 -16
- package/codegen/NativeIntersectionObserverSpec.g.h +96 -0
- package/codegen/NativeMutationObserverSpec.g.h +90 -0
- package/codegen/NativePerformanceObserverSpec.g.h +19 -13
- package/codegen/NativePerformanceSpec.g.h +6 -23
- package/codegen/NativePlatformConstantsAndroidSpec.g.h +22 -30
- package/codegen/NativePlatformConstantsIOSSpec.g.h +17 -25
- package/codegen/NativePlatformConstantsWinSpec.g.h +14 -22
- package/codegen/NativeSampleTurboModuleSpec.g.h +36 -0
- package/codegen/NativeSourceCodeSpec.g.h +3 -13
- package/codegen/react/components/rnwcore/EventEmitters.cpp +85 -58
- package/codegen/react/components/rnwcore/EventEmitters.h +17 -35
- package/codegen/react/components/rnwcore/Props.h +16 -17
- package/codegen/rnwcoreJSI-generated.cpp +1462 -319
- package/codegen/rnwcoreJSI.h +1609 -462
- package/fmt/packages.lock.json +13 -0
- package/index.windows.js +3 -3
- package/{Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js → jest/ReactNativeInternalFeatureFlagsMock.js} +2 -1
- package/jest/__tests__/setup-test.js +18 -0
- package/jest/mockModal.js +6 -4
- package/jest/setup.js +61 -30
- package/just-task.js +1 -0
- package/package.json +37 -42
- package/template/cs-app/proj/MyApp.csproj +0 -1
- package/template/cs-lib/proj/MyLib.csproj +0 -1
- package/templates/.clang-format +4 -0
- package/templates/cpp-app/metro.config.js +51 -0
- package/templates/cpp-app/template.config.js +119 -0
- package/templates/cpp-app/windows/ExperimentalFeatures.props +12 -0
- package/templates/cpp-app/windows/MyApp/MyApp.cpp +284 -0
- package/templates/cpp-app/windows/MyApp/MyApp.h +3 -0
- package/templates/cpp-app/windows/MyApp/MyApp.ico +0 -0
- package/templates/cpp-app/windows/MyApp/MyApp.rc +0 -0
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +142 -0
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj.filters +55 -0
- package/templates/cpp-app/windows/MyApp/_gitignore +1 -0
- package/templates/cpp-app/windows/MyApp/pch.cpp +1 -0
- package/templates/cpp-app/windows/MyApp/pch.h +35 -0
- package/templates/cpp-app/windows/MyApp/resource.h +18 -0
- package/templates/cpp-app/windows/MyApp/small.ico +0 -0
- package/templates/cpp-app/windows/MyApp/targetver.h +8 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/LockScreenLogo.scale-200.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/SplashScreen.scale-200.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/Square150x150Logo.scale-200.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/Square44x44Logo.scale-200.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/Square44x44Logo.targetsize-24_altform-unplated.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/StoreLogo.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/Images/Wide310x150Logo.scale-200.png +0 -0
- package/templates/cpp-app/windows/MyApp.Package/MyApp.Package.wapproj +78 -0
- package/{template/cs-app-WinAppSDK/MyApp → templates/cpp-app/windows/MyApp.Package}/Package.appxmanifest +9 -8
- package/templates/cpp-app/windows/MyApp.sln +176 -0
- package/templates/cpp-app/windows/_gitignore +41 -0
- package/templates/old/generateWrapper.js +67 -0
- package/templates/old/uwp-cpp-app/template.config.js +15 -0
- package/templates/old/uwp-cpp-lib/template.config.js +15 -0
- package/templates/old/uwp-cs-app/template.config.js +15 -0
- package/templates/old/uwp-cs-lib/template.config.js +15 -0
- package/types/experimental.d.ts +44 -0
- package/types/index.d.ts +2 -1
- package/types/modules/Devtools.d.ts +1 -0
- package/types/modules/globals.d.ts +16 -1
- package/Libraries/Components/View/ViewWindows.d.ts +0 -19
- package/Libraries/Components/View/ViewWindows.js +0 -22
- package/Libraries/Components/View/ViewWindows.js.map +0 -1
- package/Libraries/Components/View/ViewWindowsProps.d.ts +0 -69
- package/Libraries/Components/View/ViewWindowsProps.js +0 -8
- package/Libraries/Components/View/ViewWindowsProps.js.map +0 -1
- package/Libraries/Utilities/AcessibilityMapping.js +0 -154
- package/Libraries/Utilities/NativeDevSplitBundleLoader.js +0 -19
- package/Libraries/Utilities/useColorScheme.windows.js +0 -26
- package/Microsoft.ReactNative/Fabric/platform/react/components/view/windows/WindowsViewProps.cpp +0 -61
- package/Microsoft.ReactNative/Fabric/platform/react/components/view/windows/WindowsViewProps.h +0 -34
- package/Microsoft.ReactNative/Fabric/platform/react/components/view/windows/primitives.h +0 -42
- package/PropertySheets/External/Microsoft.ReactNative.WinAppSDK.CSharp.PackageReferences.props +0 -11
- package/PropertySheets/External/Microsoft.ReactNative.WinAppSDK.CSharpApp.targets +0 -51
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/TouchEventEmitter.cpp +0 -237
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/TouchEventEmitter.h +0 -59
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/ViewEventEmitter.cpp +0 -159
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/ViewEventEmitter.h +0 -94
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/ViewProps.cpp +0 -465
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/ViewProps.h +0 -116
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/ViewShadowNode.cpp +0 -98
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/view/primitives.h +0 -326
- package/Scripts/Microsoft.ReactNative.WindowsAppSDK.nuspec +0 -30
- package/Shared/V8JSIRuntimeHolder.cpp +0 -71
- package/Shared/V8JSIRuntimeHolder.h +0 -56
- package/codegen/NativeDevSplitBundleLoaderSpec.g.h +0 -34
- package/template/cs-app-WinAppSDK/MyApp/App.xaml +0 -16
- package/template/cs-app-WinAppSDK/MyApp/App.xaml.cs +0 -70
- package/template/cs-app-WinAppSDK/MyApp/MainWindow.xaml +0 -14
- package/template/cs-app-WinAppSDK/MyApp/MainWindow.xaml.cs +0 -38
- package/template/cs-app-WinAppSDK/MyApp/Properties/PublishProfiles/win10-arm64.pubxml +0 -19
- package/template/cs-app-WinAppSDK/MyApp/Properties/PublishProfiles/win10-x64.pubxml +0 -19
- package/template/cs-app-WinAppSDK/MyApp/Properties/PublishProfiles/win10-x86.pubxml +0 -19
- package/template/cs-app-WinAppSDK/MyApp/Properties/launchSettings.json +0 -10
- package/template/cs-app-WinAppSDK/MyApp/app.manifest +0 -15
- package/template/cs-app-WinAppSDK/proj/ExperimentalFeatures.props +0 -24
- package/template/cs-app-WinAppSDK/proj/MyApp.csproj +0 -53
- package/template/cs-app-WinAppSDK/proj/MyApp.sln +0 -43
- package/template/cs-app-WinAppSDK/proj/NuGet_Config +0 -19
- /package/Libraries/Components/DrawerAndroid/{DrawerLayoutAndroid.ios.js → DrawerLayoutAndroid.js} +0 -0
- /package/Libraries/{Renderer/public → ReactNative/ReactFabricPublicInstance}/ReactFabricPublicInstanceUtils.js +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
5
5
|
* once the code is regenerated.
|
|
6
6
|
*
|
|
7
|
-
* @generated by codegen project:
|
|
7
|
+
* @generated by codegen project: GenerateModuleCpp.js
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
#include "rnwcoreJSI.h"
|
|
@@ -13,18 +13,31 @@ namespace facebook {
|
|
|
13
13
|
namespace react {
|
|
14
14
|
|
|
15
15
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
16
|
-
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
16
|
+
return static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
17
|
+
rt
|
|
18
|
+
);
|
|
17
19
|
}
|
|
18
20
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
19
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
|
21
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showActionSheetWithOptions(
|
|
22
|
+
rt,
|
|
23
|
+
args[0].asObject(rt),
|
|
24
|
+
args[1].asObject(rt).asFunction(rt)
|
|
25
|
+
);
|
|
20
26
|
return jsi::Value::undefined();
|
|
21
27
|
}
|
|
22
28
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_showShareActionSheetWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
23
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
|
29
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->showShareActionSheetWithOptions(
|
|
30
|
+
rt,
|
|
31
|
+
args[0].asObject(rt),
|
|
32
|
+
args[1].asObject(rt).asFunction(rt),
|
|
33
|
+
args[2].asObject(rt).asFunction(rt)
|
|
34
|
+
);
|
|
24
35
|
return jsi::Value::undefined();
|
|
25
36
|
}
|
|
26
37
|
static jsi::Value __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
27
|
-
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->dismissActionSheet(
|
|
38
|
+
static_cast<NativeActionSheetManagerCxxSpecJSI *>(&turboModule)->dismissActionSheet(
|
|
39
|
+
rt
|
|
40
|
+
);
|
|
28
41
|
return jsi::Value::undefined();
|
|
29
42
|
}
|
|
30
43
|
|
|
@@ -36,7 +49,11 @@ NativeActionSheetManagerCxxSpecJSI::NativeActionSheetManagerCxxSpecJSI(std::shar
|
|
|
36
49
|
methodMap_["dismissActionSheet"] = MethodMetadata {0, __hostFunction_NativeActionSheetManagerCxxSpecJSI_dismissActionSheet};
|
|
37
50
|
}
|
|
38
51
|
static jsi::Value __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
39
|
-
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
|
52
|
+
static_cast<NativeAlertManagerCxxSpecJSI *>(&turboModule)->alertWithArgs(
|
|
53
|
+
rt,
|
|
54
|
+
args[0].asObject(rt),
|
|
55
|
+
args[1].asObject(rt).asFunction(rt)
|
|
56
|
+
);
|
|
40
57
|
return jsi::Value::undefined();
|
|
41
58
|
}
|
|
42
59
|
|
|
@@ -45,10 +62,17 @@ NativeAlertManagerCxxSpecJSI::NativeAlertManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
45
62
|
methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerCxxSpecJSI_alertWithArgs};
|
|
46
63
|
}
|
|
47
64
|
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
48
|
-
return static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->getConstants(
|
|
65
|
+
return static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->getConstants(
|
|
66
|
+
rt
|
|
67
|
+
);
|
|
49
68
|
}
|
|
50
69
|
static jsi::Value __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
51
|
-
static_cast<NativeDialogManagerWindowsCxxSpecJSI *>(&turboModule)->showAlert(
|
|
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
|
+
);
|
|
52
76
|
return jsi::Value::undefined();
|
|
53
77
|
}
|
|
54
78
|
|
|
@@ -58,99 +82,185 @@ NativeDialogManagerWindowsCxxSpecJSI::NativeDialogManagerWindowsCxxSpecJSI(std::
|
|
|
58
82
|
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerWindowsCxxSpecJSI_showAlert};
|
|
59
83
|
}
|
|
60
84
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
61
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
|
85
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
|
86
|
+
rt
|
|
87
|
+
);
|
|
62
88
|
return jsi::Value::undefined();
|
|
63
89
|
}
|
|
64
90
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
65
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
|
91
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
|
92
|
+
rt
|
|
93
|
+
);
|
|
66
94
|
return jsi::Value::undefined();
|
|
67
95
|
}
|
|
68
96
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
69
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
97
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
98
|
+
rt,
|
|
99
|
+
args[0].asNumber(),
|
|
100
|
+
args[1].asObject(rt)
|
|
101
|
+
);
|
|
70
102
|
return jsi::Value::undefined();
|
|
71
103
|
}
|
|
72
104
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
73
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
105
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
106
|
+
rt,
|
|
107
|
+
args[0].asNumber(),
|
|
108
|
+
args[1].asObject(rt)
|
|
109
|
+
);
|
|
74
110
|
return jsi::Value::undefined();
|
|
75
111
|
}
|
|
76
112
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
77
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
113
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
114
|
+
rt,
|
|
115
|
+
args[0].asNumber(),
|
|
116
|
+
args[1].asObject(rt).asFunction(rt)
|
|
117
|
+
);
|
|
78
118
|
return jsi::Value::undefined();
|
|
79
119
|
}
|
|
80
120
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
81
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
121
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
122
|
+
rt,
|
|
123
|
+
args[0].asNumber()
|
|
124
|
+
);
|
|
82
125
|
return jsi::Value::undefined();
|
|
83
126
|
}
|
|
84
127
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
85
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
128
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
129
|
+
rt,
|
|
130
|
+
args[0].asNumber()
|
|
131
|
+
);
|
|
86
132
|
return jsi::Value::undefined();
|
|
87
133
|
}
|
|
88
134
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
89
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
135
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
136
|
+
rt,
|
|
137
|
+
args[0].asNumber(),
|
|
138
|
+
args[1].asNumber()
|
|
139
|
+
);
|
|
90
140
|
return jsi::Value::undefined();
|
|
91
141
|
}
|
|
92
142
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
93
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
143
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
144
|
+
rt,
|
|
145
|
+
args[0].asNumber(),
|
|
146
|
+
args[1].asNumber()
|
|
147
|
+
);
|
|
94
148
|
return jsi::Value::undefined();
|
|
95
149
|
}
|
|
96
150
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
97
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
151
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
152
|
+
rt,
|
|
153
|
+
args[0].asNumber(),
|
|
154
|
+
args[1].asNumber(),
|
|
155
|
+
args[2].asObject(rt),
|
|
156
|
+
args[3].asObject(rt).asFunction(rt)
|
|
157
|
+
);
|
|
98
158
|
return jsi::Value::undefined();
|
|
99
159
|
}
|
|
100
160
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
101
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
161
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
162
|
+
rt,
|
|
163
|
+
args[0].asNumber()
|
|
164
|
+
);
|
|
102
165
|
return jsi::Value::undefined();
|
|
103
166
|
}
|
|
104
167
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
105
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
168
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
169
|
+
rt,
|
|
170
|
+
args[0].asNumber(),
|
|
171
|
+
args[1].asNumber()
|
|
172
|
+
);
|
|
106
173
|
return jsi::Value::undefined();
|
|
107
174
|
}
|
|
108
175
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
109
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
176
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
177
|
+
rt,
|
|
178
|
+
args[0].asNumber(),
|
|
179
|
+
args[1].asNumber()
|
|
180
|
+
);
|
|
110
181
|
return jsi::Value::undefined();
|
|
111
182
|
}
|
|
112
183
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
113
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
184
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
185
|
+
rt,
|
|
186
|
+
args[0].asNumber()
|
|
187
|
+
);
|
|
114
188
|
return jsi::Value::undefined();
|
|
115
189
|
}
|
|
116
190
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
117
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
191
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
192
|
+
rt,
|
|
193
|
+
args[0].asNumber()
|
|
194
|
+
);
|
|
118
195
|
return jsi::Value::undefined();
|
|
119
196
|
}
|
|
120
197
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
121
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
198
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
199
|
+
rt,
|
|
200
|
+
args[0].asNumber(),
|
|
201
|
+
args[1].asNumber()
|
|
202
|
+
);
|
|
122
203
|
return jsi::Value::undefined();
|
|
123
204
|
}
|
|
124
205
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
125
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
206
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
207
|
+
rt,
|
|
208
|
+
args[0].asNumber(),
|
|
209
|
+
args[1].asNumber()
|
|
210
|
+
);
|
|
126
211
|
return jsi::Value::undefined();
|
|
127
212
|
}
|
|
128
213
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
129
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
214
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
215
|
+
rt,
|
|
216
|
+
args[0].asNumber()
|
|
217
|
+
);
|
|
130
218
|
return jsi::Value::undefined();
|
|
131
219
|
}
|
|
132
220
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
133
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
221
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
222
|
+
rt,
|
|
223
|
+
args[0].asNumber()
|
|
224
|
+
);
|
|
134
225
|
return jsi::Value::undefined();
|
|
135
226
|
}
|
|
136
227
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
137
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
228
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
229
|
+
rt,
|
|
230
|
+
args[0].asNumber(),
|
|
231
|
+
args[1].asString(rt),
|
|
232
|
+
args[2].asObject(rt)
|
|
233
|
+
);
|
|
138
234
|
return jsi::Value::undefined();
|
|
139
235
|
}
|
|
140
236
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
141
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
237
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
238
|
+
rt,
|
|
239
|
+
args[0].asNumber(),
|
|
240
|
+
args[1].asString(rt),
|
|
241
|
+
args[2].asNumber()
|
|
242
|
+
);
|
|
142
243
|
return jsi::Value::undefined();
|
|
143
244
|
}
|
|
144
245
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
145
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
246
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
247
|
+
rt,
|
|
248
|
+
args[0].asString(rt)
|
|
249
|
+
);
|
|
146
250
|
return jsi::Value::undefined();
|
|
147
251
|
}
|
|
148
252
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
149
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
253
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
254
|
+
rt,
|
|
255
|
+
args[0].asNumber()
|
|
256
|
+
);
|
|
150
257
|
return jsi::Value::undefined();
|
|
151
258
|
}
|
|
152
259
|
static jsi::Value __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
153
|
-
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
260
|
+
static_cast<NativeAnimatedModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
261
|
+
rt,
|
|
262
|
+
args[0].asObject(rt).asArray(rt)
|
|
263
|
+
);
|
|
154
264
|
return jsi::Value::undefined();
|
|
155
265
|
}
|
|
156
266
|
|
|
@@ -182,99 +292,185 @@ NativeAnimatedModuleCxxSpecJSI::NativeAnimatedModuleCxxSpecJSI(std::shared_ptr<C
|
|
|
182
292
|
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
|
183
293
|
}
|
|
184
294
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
185
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
|
295
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startOperationBatch(
|
|
296
|
+
rt
|
|
297
|
+
);
|
|
186
298
|
return jsi::Value::undefined();
|
|
187
299
|
}
|
|
188
300
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_finishOperationBatch(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
189
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
|
301
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->finishOperationBatch(
|
|
302
|
+
rt
|
|
303
|
+
);
|
|
190
304
|
return jsi::Value::undefined();
|
|
191
305
|
}
|
|
192
306
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_createAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
193
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
307
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->createAnimatedNode(
|
|
308
|
+
rt,
|
|
309
|
+
args[0].asNumber(),
|
|
310
|
+
args[1].asObject(rt)
|
|
311
|
+
);
|
|
194
312
|
return jsi::Value::undefined();
|
|
195
313
|
}
|
|
196
314
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_updateAnimatedNodeConfig(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
197
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
315
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->updateAnimatedNodeConfig(
|
|
316
|
+
rt,
|
|
317
|
+
args[0].asNumber(),
|
|
318
|
+
args[1].asObject(rt)
|
|
319
|
+
);
|
|
198
320
|
return jsi::Value::undefined();
|
|
199
321
|
}
|
|
200
322
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
201
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
323
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
324
|
+
rt,
|
|
325
|
+
args[0].asNumber(),
|
|
326
|
+
args[1].asObject(rt).asFunction(rt)
|
|
327
|
+
);
|
|
202
328
|
return jsi::Value::undefined();
|
|
203
329
|
}
|
|
204
330
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
205
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
331
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startListeningToAnimatedNodeValue(
|
|
332
|
+
rt,
|
|
333
|
+
args[0].asNumber()
|
|
334
|
+
);
|
|
206
335
|
return jsi::Value::undefined();
|
|
207
336
|
}
|
|
208
337
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopListeningToAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
209
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
338
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopListeningToAnimatedNodeValue(
|
|
339
|
+
rt,
|
|
340
|
+
args[0].asNumber()
|
|
341
|
+
);
|
|
210
342
|
return jsi::Value::undefined();
|
|
211
343
|
}
|
|
212
344
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
213
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
345
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodes(
|
|
346
|
+
rt,
|
|
347
|
+
args[0].asNumber(),
|
|
348
|
+
args[1].asNumber()
|
|
349
|
+
);
|
|
214
350
|
return jsi::Value::undefined();
|
|
215
351
|
}
|
|
216
352
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
217
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
353
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodes(
|
|
354
|
+
rt,
|
|
355
|
+
args[0].asNumber(),
|
|
356
|
+
args[1].asNumber()
|
|
357
|
+
);
|
|
218
358
|
return jsi::Value::undefined();
|
|
219
359
|
}
|
|
220
360
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_startAnimatingNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
221
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
361
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->startAnimatingNode(
|
|
362
|
+
rt,
|
|
363
|
+
args[0].asNumber(),
|
|
364
|
+
args[1].asNumber(),
|
|
365
|
+
args[2].asObject(rt),
|
|
366
|
+
args[3].asObject(rt).asFunction(rt)
|
|
367
|
+
);
|
|
222
368
|
return jsi::Value::undefined();
|
|
223
369
|
}
|
|
224
370
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_stopAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
225
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
371
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->stopAnimation(
|
|
372
|
+
rt,
|
|
373
|
+
args[0].asNumber()
|
|
374
|
+
);
|
|
226
375
|
return jsi::Value::undefined();
|
|
227
376
|
}
|
|
228
377
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
229
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
378
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeValue(
|
|
379
|
+
rt,
|
|
380
|
+
args[0].asNumber(),
|
|
381
|
+
args[1].asNumber()
|
|
382
|
+
);
|
|
230
383
|
return jsi::Value::undefined();
|
|
231
384
|
}
|
|
232
385
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_setAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
233
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
386
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->setAnimatedNodeOffset(
|
|
387
|
+
rt,
|
|
388
|
+
args[0].asNumber(),
|
|
389
|
+
args[1].asNumber()
|
|
390
|
+
);
|
|
234
391
|
return jsi::Value::undefined();
|
|
235
392
|
}
|
|
236
393
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_flattenAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
237
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
394
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->flattenAnimatedNodeOffset(
|
|
395
|
+
rt,
|
|
396
|
+
args[0].asNumber()
|
|
397
|
+
);
|
|
238
398
|
return jsi::Value::undefined();
|
|
239
399
|
}
|
|
240
400
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_extractAnimatedNodeOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
241
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
401
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->extractAnimatedNodeOffset(
|
|
402
|
+
rt,
|
|
403
|
+
args[0].asNumber()
|
|
404
|
+
);
|
|
242
405
|
return jsi::Value::undefined();
|
|
243
406
|
}
|
|
244
407
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_connectAnimatedNodeToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
245
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
408
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->connectAnimatedNodeToView(
|
|
409
|
+
rt,
|
|
410
|
+
args[0].asNumber(),
|
|
411
|
+
args[1].asNumber()
|
|
412
|
+
);
|
|
246
413
|
return jsi::Value::undefined();
|
|
247
414
|
}
|
|
248
415
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_disconnectAnimatedNodeFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
249
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
416
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->disconnectAnimatedNodeFromView(
|
|
417
|
+
rt,
|
|
418
|
+
args[0].asNumber(),
|
|
419
|
+
args[1].asNumber()
|
|
420
|
+
);
|
|
250
421
|
return jsi::Value::undefined();
|
|
251
422
|
}
|
|
252
423
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_restoreDefaultValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
253
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
424
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->restoreDefaultValues(
|
|
425
|
+
rt,
|
|
426
|
+
args[0].asNumber()
|
|
427
|
+
);
|
|
254
428
|
return jsi::Value::undefined();
|
|
255
429
|
}
|
|
256
430
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_dropAnimatedNode(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
257
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
431
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->dropAnimatedNode(
|
|
432
|
+
rt,
|
|
433
|
+
args[0].asNumber()
|
|
434
|
+
);
|
|
258
435
|
return jsi::Value::undefined();
|
|
259
436
|
}
|
|
260
437
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addAnimatedEventToView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
261
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
438
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addAnimatedEventToView(
|
|
439
|
+
rt,
|
|
440
|
+
args[0].asNumber(),
|
|
441
|
+
args[1].asString(rt),
|
|
442
|
+
args[2].asObject(rt)
|
|
443
|
+
);
|
|
262
444
|
return jsi::Value::undefined();
|
|
263
445
|
}
|
|
264
446
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeAnimatedEventFromView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
265
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
447
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeAnimatedEventFromView(
|
|
448
|
+
rt,
|
|
449
|
+
args[0].asNumber(),
|
|
450
|
+
args[1].asString(rt),
|
|
451
|
+
args[2].asNumber()
|
|
452
|
+
);
|
|
266
453
|
return jsi::Value::undefined();
|
|
267
454
|
}
|
|
268
455
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
269
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
456
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
457
|
+
rt,
|
|
458
|
+
args[0].asString(rt)
|
|
459
|
+
);
|
|
270
460
|
return jsi::Value::undefined();
|
|
271
461
|
}
|
|
272
462
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
273
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
463
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
464
|
+
rt,
|
|
465
|
+
args[0].asNumber()
|
|
466
|
+
);
|
|
274
467
|
return jsi::Value::undefined();
|
|
275
468
|
}
|
|
276
469
|
static jsi::Value __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
277
|
-
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
470
|
+
static_cast<NativeAnimatedTurboModuleCxxSpecJSI *>(&turboModule)->queueAndExecuteBatchedOperations(
|
|
471
|
+
rt,
|
|
472
|
+
args[0].asObject(rt).asArray(rt)
|
|
473
|
+
);
|
|
278
474
|
return jsi::Value::undefined();
|
|
279
475
|
}
|
|
280
476
|
|
|
@@ -306,18 +502,30 @@ NativeAnimatedTurboModuleCxxSpecJSI::NativeAnimatedTurboModuleCxxSpecJSI(std::sh
|
|
|
306
502
|
methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleCxxSpecJSI_queueAndExecuteBatchedOperations};
|
|
307
503
|
}
|
|
308
504
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
309
|
-
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(
|
|
505
|
+
return static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getConstants(
|
|
506
|
+
rt
|
|
507
|
+
);
|
|
310
508
|
}
|
|
311
509
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_getCurrentAppState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
312
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
510
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->getCurrentAppState(
|
|
511
|
+
rt,
|
|
512
|
+
args[0].asObject(rt).asFunction(rt),
|
|
513
|
+
args[1].asObject(rt).asFunction(rt)
|
|
514
|
+
);
|
|
313
515
|
return jsi::Value::undefined();
|
|
314
516
|
}
|
|
315
517
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
316
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
518
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->addListener(
|
|
519
|
+
rt,
|
|
520
|
+
args[0].asString(rt)
|
|
521
|
+
);
|
|
317
522
|
return jsi::Value::undefined();
|
|
318
523
|
}
|
|
319
524
|
static jsi::Value __hostFunction_NativeAppStateCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
320
|
-
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
525
|
+
static_cast<NativeAppStateCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
526
|
+
rt,
|
|
527
|
+
args[0].asNumber()
|
|
528
|
+
);
|
|
321
529
|
return jsi::Value::undefined();
|
|
322
530
|
}
|
|
323
531
|
|
|
@@ -329,7 +537,9 @@ NativeAppStateCxxSpecJSI::NativeAppStateCxxSpecJSI(std::shared_ptr<CallInvoker>
|
|
|
329
537
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateCxxSpecJSI_removeListeners};
|
|
330
538
|
}
|
|
331
539
|
static jsi::Value __hostFunction_NativeAppThemeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
332
|
-
return static_cast<NativeAppThemeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
540
|
+
return static_cast<NativeAppThemeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
541
|
+
rt
|
|
542
|
+
);
|
|
333
543
|
}
|
|
334
544
|
|
|
335
545
|
NativeAppThemeCxxSpecJSI::NativeAppThemeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -337,30 +547,51 @@ NativeAppThemeCxxSpecJSI::NativeAppThemeCxxSpecJSI(std::shared_ptr<CallInvoker>
|
|
|
337
547
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppThemeCxxSpecJSI_getConstants};
|
|
338
548
|
}
|
|
339
549
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
340
|
-
return static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
550
|
+
return static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
551
|
+
rt
|
|
552
|
+
);
|
|
341
553
|
}
|
|
342
554
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addNetworkingHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
343
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addNetworkingHandler(
|
|
555
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addNetworkingHandler(
|
|
556
|
+
rt
|
|
557
|
+
);
|
|
344
558
|
return jsi::Value::undefined();
|
|
345
559
|
}
|
|
346
560
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_addWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
347
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
|
561
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->addWebSocketHandler(
|
|
562
|
+
rt,
|
|
563
|
+
args[0].asNumber()
|
|
564
|
+
);
|
|
348
565
|
return jsi::Value::undefined();
|
|
349
566
|
}
|
|
350
567
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_removeWebSocketHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
351
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
|
568
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->removeWebSocketHandler(
|
|
569
|
+
rt,
|
|
570
|
+
args[0].asNumber()
|
|
571
|
+
);
|
|
352
572
|
return jsi::Value::undefined();
|
|
353
573
|
}
|
|
354
574
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_sendOverSocket(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
355
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
|
575
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->sendOverSocket(
|
|
576
|
+
rt,
|
|
577
|
+
args[0].asObject(rt),
|
|
578
|
+
args[1].asNumber()
|
|
579
|
+
);
|
|
356
580
|
return jsi::Value::undefined();
|
|
357
581
|
}
|
|
358
582
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_createFromParts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
359
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
|
583
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->createFromParts(
|
|
584
|
+
rt,
|
|
585
|
+
args[0].asObject(rt).asArray(rt),
|
|
586
|
+
args[1].asString(rt)
|
|
587
|
+
);
|
|
360
588
|
return jsi::Value::undefined();
|
|
361
589
|
}
|
|
362
590
|
static jsi::Value __hostFunction_NativeBlobModuleCxxSpecJSI_release(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
363
|
-
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
|
591
|
+
static_cast<NativeBlobModuleCxxSpecJSI *>(&turboModule)->release(
|
|
592
|
+
rt,
|
|
593
|
+
args[0].asString(rt)
|
|
594
|
+
);
|
|
364
595
|
return jsi::Value::undefined();
|
|
365
596
|
}
|
|
366
597
|
|
|
@@ -375,10 +606,17 @@ NativeBlobModuleCxxSpecJSI::NativeBlobModuleCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
375
606
|
methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleCxxSpecJSI_release};
|
|
376
607
|
}
|
|
377
608
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsDataURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
378
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
609
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsDataURL(
|
|
610
|
+
rt,
|
|
611
|
+
args[0].asObject(rt)
|
|
612
|
+
);
|
|
379
613
|
}
|
|
380
614
|
static jsi::Value __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
381
|
-
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
615
|
+
return static_cast<NativeFileReaderModuleCxxSpecJSI *>(&turboModule)->readAsText(
|
|
616
|
+
rt,
|
|
617
|
+
args[0].asObject(rt),
|
|
618
|
+
args[1].asString(rt)
|
|
619
|
+
);
|
|
382
620
|
}
|
|
383
621
|
|
|
384
622
|
NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -387,15 +625,24 @@ NativeFileReaderModuleCxxSpecJSI::NativeFileReaderModuleCxxSpecJSI(std::shared_p
|
|
|
387
625
|
methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleCxxSpecJSI_readAsText};
|
|
388
626
|
}
|
|
389
627
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_startReportAProblemFlow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
390
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(
|
|
628
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->startReportAProblemFlow(
|
|
629
|
+
rt
|
|
630
|
+
);
|
|
391
631
|
return jsi::Value::undefined();
|
|
392
632
|
}
|
|
393
633
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
394
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
634
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
635
|
+
rt,
|
|
636
|
+
args[0].asObject(rt),
|
|
637
|
+
args[1].asObject(rt)
|
|
638
|
+
);
|
|
395
639
|
return jsi::Value::undefined();
|
|
396
640
|
}
|
|
397
641
|
static jsi::Value __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
398
|
-
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(
|
|
642
|
+
static_cast<NativeBugReportingCxxSpecJSI *>(&turboModule)->setCategoryID(
|
|
643
|
+
rt,
|
|
644
|
+
args[0].asString(rt)
|
|
645
|
+
);
|
|
399
646
|
return jsi::Value::undefined();
|
|
400
647
|
}
|
|
401
648
|
|
|
@@ -406,23 +653,43 @@ NativeBugReportingCxxSpecJSI::NativeBugReportingCxxSpecJSI(std::shared_ptr<CallI
|
|
|
406
653
|
methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingCxxSpecJSI_setCategoryID};
|
|
407
654
|
}
|
|
408
655
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportFatalException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
409
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
656
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportFatalException(
|
|
657
|
+
rt,
|
|
658
|
+
args[0].asString(rt),
|
|
659
|
+
args[1].asObject(rt).asArray(rt),
|
|
660
|
+
args[2].asNumber()
|
|
661
|
+
);
|
|
410
662
|
return jsi::Value::undefined();
|
|
411
663
|
}
|
|
412
664
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportSoftException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
413
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
665
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportSoftException(
|
|
666
|
+
rt,
|
|
667
|
+
args[0].asString(rt),
|
|
668
|
+
args[1].asObject(rt).asArray(rt),
|
|
669
|
+
args[2].asNumber()
|
|
670
|
+
);
|
|
414
671
|
return jsi::Value::undefined();
|
|
415
672
|
}
|
|
416
673
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_reportException(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
417
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
674
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->reportException(
|
|
675
|
+
rt,
|
|
676
|
+
args[0].asObject(rt)
|
|
677
|
+
);
|
|
418
678
|
return jsi::Value::undefined();
|
|
419
679
|
}
|
|
420
680
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_updateExceptionMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
421
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(
|
|
681
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->updateExceptionMessage(
|
|
682
|
+
rt,
|
|
683
|
+
args[0].asString(rt),
|
|
684
|
+
args[1].asObject(rt).asArray(rt),
|
|
685
|
+
args[2].asNumber()
|
|
686
|
+
);
|
|
422
687
|
return jsi::Value::undefined();
|
|
423
688
|
}
|
|
424
689
|
static jsi::Value __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
425
|
-
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(
|
|
690
|
+
static_cast<NativeExceptionsManagerCxxSpecJSI *>(&turboModule)->dismissRedbox(
|
|
691
|
+
rt
|
|
692
|
+
);
|
|
426
693
|
return jsi::Value::undefined();
|
|
427
694
|
}
|
|
428
695
|
|
|
@@ -435,19 +702,29 @@ NativeExceptionsManagerCxxSpecJSI::NativeExceptionsManagerCxxSpecJSI(std::shared
|
|
|
435
702
|
methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerCxxSpecJSI_dismissRedbox};
|
|
436
703
|
}
|
|
437
704
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
438
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(
|
|
705
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setConsolePatchSettings(
|
|
706
|
+
rt,
|
|
707
|
+
args[0].asString(rt)
|
|
708
|
+
);
|
|
439
709
|
return jsi::Value::undefined();
|
|
440
710
|
}
|
|
441
711
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getConsolePatchSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
442
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(
|
|
712
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getConsolePatchSettings(
|
|
713
|
+
rt
|
|
714
|
+
);
|
|
443
715
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
444
716
|
}
|
|
445
717
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_setProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
446
|
-
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(
|
|
718
|
+
static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->setProfilingSettings(
|
|
719
|
+
rt,
|
|
720
|
+
args[0].asString(rt)
|
|
721
|
+
);
|
|
447
722
|
return jsi::Value::undefined();
|
|
448
723
|
}
|
|
449
724
|
static jsi::Value __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
450
|
-
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(
|
|
725
|
+
auto result = static_cast<NativeDevToolsSettingsManagerCxxSpecJSI *>(&turboModule)->getProfilingSettings(
|
|
726
|
+
rt
|
|
727
|
+
);
|
|
451
728
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
452
729
|
}
|
|
453
730
|
|
|
@@ -459,7 +736,11 @@ NativeDevToolsSettingsManagerCxxSpecJSI::NativeDevToolsSettingsManagerCxxSpecJSI
|
|
|
459
736
|
methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerCxxSpecJSI_getProfilingSettings};
|
|
460
737
|
}
|
|
461
738
|
static jsi::Value __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
462
|
-
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
739
|
+
static_cast<NativeJSCHeapCaptureCxxSpecJSI *>(&turboModule)->captureComplete(
|
|
740
|
+
rt,
|
|
741
|
+
args[0].asString(rt),
|
|
742
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt))
|
|
743
|
+
);
|
|
463
744
|
return jsi::Value::undefined();
|
|
464
745
|
}
|
|
465
746
|
|
|
@@ -468,10 +749,18 @@ NativeJSCHeapCaptureCxxSpecJSI::NativeJSCHeapCaptureCxxSpecJSI(std::shared_ptr<C
|
|
|
468
749
|
methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureCxxSpecJSI_captureComplete};
|
|
469
750
|
}
|
|
470
751
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
471
|
-
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(
|
|
752
|
+
return static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->getConstants(
|
|
753
|
+
rt
|
|
754
|
+
);
|
|
472
755
|
}
|
|
473
756
|
static jsi::Value __hostFunction_NativeImageEditorCxxSpecJSI_cropImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
474
|
-
static_cast<NativeImageEditorCxxSpecJSI *>(&turboModule)->cropImage(
|
|
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
|
+
);
|
|
475
764
|
return jsi::Value::undefined();
|
|
476
765
|
}
|
|
477
766
|
|
|
@@ -481,23 +770,42 @@ NativeImageEditorCxxSpecJSI::NativeImageEditorCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
481
770
|
methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorCxxSpecJSI_cropImage};
|
|
482
771
|
}
|
|
483
772
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
484
|
-
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
773
|
+
static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
774
|
+
rt,
|
|
775
|
+
args[0].asNumber()
|
|
776
|
+
);
|
|
485
777
|
return jsi::Value::undefined();
|
|
486
778
|
}
|
|
487
779
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
488
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
780
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
781
|
+
rt
|
|
782
|
+
);
|
|
489
783
|
}
|
|
490
784
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
491
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
785
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSize(
|
|
786
|
+
rt,
|
|
787
|
+
args[0].asString(rt)
|
|
788
|
+
);
|
|
492
789
|
}
|
|
493
790
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
494
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
791
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
792
|
+
rt,
|
|
793
|
+
args[0].asString(rt),
|
|
794
|
+
args[1].asObject(rt)
|
|
795
|
+
);
|
|
495
796
|
}
|
|
496
797
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
497
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
798
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
799
|
+
rt,
|
|
800
|
+
args[0].asString(rt),
|
|
801
|
+
args[1].asNumber()
|
|
802
|
+
);
|
|
498
803
|
}
|
|
499
804
|
static jsi::Value __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
500
|
-
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
805
|
+
return static_cast<NativeImageLoaderAndroidCxxSpecJSI *>(&turboModule)->queryCache(
|
|
806
|
+
rt,
|
|
807
|
+
args[0].asObject(rt).asArray(rt)
|
|
808
|
+
);
|
|
501
809
|
}
|
|
502
810
|
|
|
503
811
|
NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -510,22 +818,42 @@ NativeImageLoaderAndroidCxxSpecJSI::NativeImageLoaderAndroidCxxSpecJSI(std::shar
|
|
|
510
818
|
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderAndroidCxxSpecJSI_queryCache};
|
|
511
819
|
}
|
|
512
820
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
513
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
821
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
822
|
+
rt
|
|
823
|
+
);
|
|
514
824
|
}
|
|
515
825
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSize(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
516
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
826
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSize(
|
|
827
|
+
rt,
|
|
828
|
+
args[0].asString(rt)
|
|
829
|
+
);
|
|
517
830
|
}
|
|
518
831
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_getSizeWithHeaders(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
519
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
832
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->getSizeWithHeaders(
|
|
833
|
+
rt,
|
|
834
|
+
args[0].asString(rt),
|
|
835
|
+
args[1].asObject(rt)
|
|
836
|
+
);
|
|
520
837
|
}
|
|
521
838
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
522
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
839
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImage(
|
|
840
|
+
rt,
|
|
841
|
+
args[0].asString(rt)
|
|
842
|
+
);
|
|
523
843
|
}
|
|
524
844
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_prefetchImageWithMetadata(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
525
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
845
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->prefetchImageWithMetadata(
|
|
846
|
+
rt,
|
|
847
|
+
args[0].asString(rt),
|
|
848
|
+
args[1].asString(rt),
|
|
849
|
+
args[2].getNumber()
|
|
850
|
+
);
|
|
526
851
|
}
|
|
527
852
|
static jsi::Value __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
528
|
-
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
853
|
+
return static_cast<NativeImageLoaderIOSCxxSpecJSI *>(&turboModule)->queryCache(
|
|
854
|
+
rt,
|
|
855
|
+
args[0].asObject(rt).asArray(rt)
|
|
856
|
+
);
|
|
529
857
|
}
|
|
530
858
|
|
|
531
859
|
NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -538,10 +866,17 @@ NativeImageLoaderIOSCxxSpecJSI::NativeImageLoaderIOSCxxSpecJSI(std::shared_ptr<C
|
|
|
538
866
|
methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSCxxSpecJSI_queryCache};
|
|
539
867
|
}
|
|
540
868
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
541
|
-
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
869
|
+
return static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
870
|
+
rt
|
|
871
|
+
);
|
|
542
872
|
}
|
|
543
873
|
static jsi::Value __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
544
|
-
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
874
|
+
static_cast<NativeImageStoreAndroidCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
875
|
+
rt,
|
|
876
|
+
args[0].asString(rt),
|
|
877
|
+
args[1].asObject(rt).asFunction(rt),
|
|
878
|
+
args[2].asObject(rt).asFunction(rt)
|
|
879
|
+
);
|
|
545
880
|
return jsi::Value::undefined();
|
|
546
881
|
}
|
|
547
882
|
|
|
@@ -551,22 +886,41 @@ NativeImageStoreAndroidCxxSpecJSI::NativeImageStoreAndroidCxxSpecJSI(std::shared
|
|
|
551
886
|
methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreAndroidCxxSpecJSI_getBase64ForTag};
|
|
552
887
|
}
|
|
553
888
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
554
|
-
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
889
|
+
return static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
890
|
+
rt
|
|
891
|
+
);
|
|
555
892
|
}
|
|
556
893
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_getBase64ForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
557
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
894
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->getBase64ForTag(
|
|
895
|
+
rt,
|
|
896
|
+
args[0].asString(rt),
|
|
897
|
+
args[1].asObject(rt).asFunction(rt),
|
|
898
|
+
args[2].asObject(rt).asFunction(rt)
|
|
899
|
+
);
|
|
558
900
|
return jsi::Value::undefined();
|
|
559
901
|
}
|
|
560
902
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_hasImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
561
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
903
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->hasImageForTag(
|
|
904
|
+
rt,
|
|
905
|
+
args[0].asString(rt),
|
|
906
|
+
args[1].asObject(rt).asFunction(rt)
|
|
907
|
+
);
|
|
562
908
|
return jsi::Value::undefined();
|
|
563
909
|
}
|
|
564
910
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_removeImageForTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
565
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
911
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->removeImageForTag(
|
|
912
|
+
rt,
|
|
913
|
+
args[0].asString(rt)
|
|
914
|
+
);
|
|
566
915
|
return jsi::Value::undefined();
|
|
567
916
|
}
|
|
568
917
|
static jsi::Value __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
569
|
-
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
918
|
+
static_cast<NativeImageStoreIOSCxxSpecJSI *>(&turboModule)->addImageFromBase64(
|
|
919
|
+
rt,
|
|
920
|
+
args[0].asString(rt),
|
|
921
|
+
args[1].asObject(rt).asFunction(rt),
|
|
922
|
+
args[2].asObject(rt).asFunction(rt)
|
|
923
|
+
);
|
|
570
924
|
return jsi::Value::undefined();
|
|
571
925
|
}
|
|
572
926
|
|
|
@@ -579,19 +933,29 @@ NativeImageStoreIOSCxxSpecJSI::NativeImageStoreIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
|
579
933
|
methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSCxxSpecJSI_addImageFromBase64};
|
|
580
934
|
}
|
|
581
935
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setGlobalOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
582
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
936
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setGlobalOptions(
|
|
937
|
+
rt,
|
|
938
|
+
args[0].asObject(rt)
|
|
939
|
+
);
|
|
583
940
|
return jsi::Value::undefined();
|
|
584
941
|
}
|
|
585
942
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_setContext(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
586
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
|
943
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->setContext(
|
|
944
|
+
rt,
|
|
945
|
+
args[0].asString(rt)
|
|
946
|
+
);
|
|
587
947
|
return jsi::Value::undefined();
|
|
588
948
|
}
|
|
589
949
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
590
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->beginScroll(
|
|
950
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->beginScroll(
|
|
951
|
+
rt
|
|
952
|
+
);
|
|
591
953
|
return jsi::Value::undefined();
|
|
592
954
|
}
|
|
593
955
|
static jsi::Value __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
594
|
-
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->endScroll(
|
|
956
|
+
static_cast<NativeFrameRateLoggerCxxSpecJSI *>(&turboModule)->endScroll(
|
|
957
|
+
rt
|
|
958
|
+
);
|
|
595
959
|
return jsi::Value::undefined();
|
|
596
960
|
}
|
|
597
961
|
|
|
@@ -602,20 +966,76 @@ NativeFrameRateLoggerCxxSpecJSI::NativeFrameRateLoggerCxxSpecJSI(std::shared_ptr
|
|
|
602
966
|
methodMap_["beginScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_beginScroll};
|
|
603
967
|
methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerCxxSpecJSI_endScroll};
|
|
604
968
|
}
|
|
969
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
970
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
971
|
+
rt,
|
|
972
|
+
args[0].asObject(rt)
|
|
973
|
+
);
|
|
974
|
+
return jsi::Value::undefined();
|
|
975
|
+
}
|
|
976
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
977
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
978
|
+
rt,
|
|
979
|
+
args[0].asNumber(),
|
|
980
|
+
jsi::Value(rt, args[1])
|
|
981
|
+
);
|
|
982
|
+
return jsi::Value::undefined();
|
|
983
|
+
}
|
|
984
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
985
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
986
|
+
rt,
|
|
987
|
+
args[0].asObject(rt).asFunction(rt)
|
|
988
|
+
);
|
|
989
|
+
return jsi::Value::undefined();
|
|
990
|
+
}
|
|
991
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
992
|
+
static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
|
993
|
+
rt
|
|
994
|
+
);
|
|
995
|
+
return jsi::Value::undefined();
|
|
996
|
+
}
|
|
997
|
+
static jsi::Value __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
998
|
+
return static_cast<NativeIntersectionObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
999
|
+
rt
|
|
1000
|
+
);
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
NativeIntersectionObserverCxxSpecJSI::NativeIntersectionObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1004
|
+
: TurboModule("NativeIntersectionObserverCxx", jsInvoker) {
|
|
1005
|
+
methodMap_["observe"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_observe};
|
|
1006
|
+
methodMap_["unobserve"] = MethodMetadata {2, __hostFunction_NativeIntersectionObserverCxxSpecJSI_unobserve};
|
|
1007
|
+
methodMap_["connect"] = MethodMetadata {1, __hostFunction_NativeIntersectionObserverCxxSpecJSI_connect};
|
|
1008
|
+
methodMap_["disconnect"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_disconnect};
|
|
1009
|
+
methodMap_["takeRecords"] = MethodMetadata {0, __hostFunction_NativeIntersectionObserverCxxSpecJSI_takeRecords};
|
|
1010
|
+
}
|
|
605
1011
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
606
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1012
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1013
|
+
rt
|
|
1014
|
+
);
|
|
607
1015
|
}
|
|
608
1016
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
609
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1017
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1018
|
+
rt,
|
|
1019
|
+
args[0].asString(rt)
|
|
1020
|
+
);
|
|
610
1021
|
}
|
|
611
1022
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
612
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1023
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openURL(
|
|
1024
|
+
rt,
|
|
1025
|
+
args[0].asString(rt)
|
|
1026
|
+
);
|
|
613
1027
|
}
|
|
614
1028
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
615
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1029
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1030
|
+
rt
|
|
1031
|
+
);
|
|
616
1032
|
}
|
|
617
1033
|
static jsi::Value __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
618
|
-
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1034
|
+
return static_cast<NativeIntentAndroidCxxSpecJSI *>(&turboModule)->sendIntent(
|
|
1035
|
+
rt,
|
|
1036
|
+
args[0].asString(rt),
|
|
1037
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asObject(rt).asArray(rt))
|
|
1038
|
+
);
|
|
619
1039
|
}
|
|
620
1040
|
|
|
621
1041
|
NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -627,23 +1047,39 @@ NativeIntentAndroidCxxSpecJSI::NativeIntentAndroidCxxSpecJSI(std::shared_ptr<Cal
|
|
|
627
1047
|
methodMap_["sendIntent"] = MethodMetadata {2, __hostFunction_NativeIntentAndroidCxxSpecJSI_sendIntent};
|
|
628
1048
|
}
|
|
629
1049
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_getInitialURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
630
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1050
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->getInitialURL(
|
|
1051
|
+
rt
|
|
1052
|
+
);
|
|
631
1053
|
}
|
|
632
1054
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_canOpenURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
633
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1055
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->canOpenURL(
|
|
1056
|
+
rt,
|
|
1057
|
+
args[0].asString(rt)
|
|
1058
|
+
);
|
|
634
1059
|
}
|
|
635
1060
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openURL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
636
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1061
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openURL(
|
|
1062
|
+
rt,
|
|
1063
|
+
args[0].asString(rt)
|
|
1064
|
+
);
|
|
637
1065
|
}
|
|
638
1066
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_openSettings(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
639
|
-
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1067
|
+
return static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->openSettings(
|
|
1068
|
+
rt
|
|
1069
|
+
);
|
|
640
1070
|
}
|
|
641
1071
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
642
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1072
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1073
|
+
rt,
|
|
1074
|
+
args[0].asString(rt)
|
|
1075
|
+
);
|
|
643
1076
|
return jsi::Value::undefined();
|
|
644
1077
|
}
|
|
645
1078
|
static jsi::Value __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
646
|
-
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1079
|
+
static_cast<NativeLinkingManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1080
|
+
rt,
|
|
1081
|
+
args[0].asNumber()
|
|
1082
|
+
);
|
|
647
1083
|
return jsi::Value::undefined();
|
|
648
1084
|
}
|
|
649
1085
|
|
|
@@ -657,11 +1093,17 @@ NativeLinkingManagerCxxSpecJSI::NativeLinkingManagerCxxSpecJSI(std::shared_ptr<C
|
|
|
657
1093
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerCxxSpecJSI_removeListeners};
|
|
658
1094
|
}
|
|
659
1095
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
660
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1096
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->addListener(
|
|
1097
|
+
rt,
|
|
1098
|
+
args[0].asString(rt)
|
|
1099
|
+
);
|
|
661
1100
|
return jsi::Value::undefined();
|
|
662
1101
|
}
|
|
663
1102
|
static jsi::Value __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
664
|
-
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1103
|
+
static_cast<NativeModalManagerCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1104
|
+
rt,
|
|
1105
|
+
args[0].asNumber()
|
|
1106
|
+
);
|
|
665
1107
|
return jsi::Value::undefined();
|
|
666
1108
|
}
|
|
667
1109
|
|
|
@@ -670,24 +1112,90 @@ NativeModalManagerCxxSpecJSI::NativeModalManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
670
1112
|
methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_addListener};
|
|
671
1113
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerCxxSpecJSI_removeListeners};
|
|
672
1114
|
}
|
|
1115
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_observe(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1116
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->observe(
|
|
1117
|
+
rt,
|
|
1118
|
+
args[0].asObject(rt)
|
|
1119
|
+
);
|
|
1120
|
+
return jsi::Value::undefined();
|
|
1121
|
+
}
|
|
1122
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_unobserve(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1123
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->unobserve(
|
|
1124
|
+
rt,
|
|
1125
|
+
args[0].asNumber(),
|
|
1126
|
+
jsi::Value(rt, args[1])
|
|
1127
|
+
);
|
|
1128
|
+
return jsi::Value::undefined();
|
|
1129
|
+
}
|
|
1130
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1131
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->connect(
|
|
1132
|
+
rt,
|
|
1133
|
+
args[0].asObject(rt).asFunction(rt),
|
|
1134
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1135
|
+
);
|
|
1136
|
+
return jsi::Value::undefined();
|
|
1137
|
+
}
|
|
1138
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_disconnect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1139
|
+
static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->disconnect(
|
|
1140
|
+
rt
|
|
1141
|
+
);
|
|
1142
|
+
return jsi::Value::undefined();
|
|
1143
|
+
}
|
|
1144
|
+
static jsi::Value __hostFunction_NativeMutationObserverCxxSpecJSI_takeRecords(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1145
|
+
return static_cast<NativeMutationObserverCxxSpecJSI *>(&turboModule)->takeRecords(
|
|
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
|
+
}
|
|
673
1158
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
674
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1159
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1160
|
+
rt,
|
|
1161
|
+
args[0].asString(rt),
|
|
1162
|
+
args[1].asString(rt),
|
|
1163
|
+
args[2].asNumber(),
|
|
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()
|
|
1170
|
+
);
|
|
675
1171
|
return jsi::Value::undefined();
|
|
676
1172
|
}
|
|
677
1173
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
678
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1174
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1175
|
+
rt,
|
|
1176
|
+
args[0].asNumber()
|
|
1177
|
+
);
|
|
679
1178
|
return jsi::Value::undefined();
|
|
680
1179
|
}
|
|
681
1180
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
682
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1181
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1182
|
+
rt,
|
|
1183
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1184
|
+
);
|
|
683
1185
|
return jsi::Value::undefined();
|
|
684
1186
|
}
|
|
685
1187
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
686
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1188
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->addListener(
|
|
1189
|
+
rt,
|
|
1190
|
+
args[0].asString(rt)
|
|
1191
|
+
);
|
|
687
1192
|
return jsi::Value::undefined();
|
|
688
1193
|
}
|
|
689
1194
|
static jsi::Value __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
690
|
-
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1195
|
+
static_cast<NativeNetworkingAndroidCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1196
|
+
rt,
|
|
1197
|
+
args[0].asNumber()
|
|
1198
|
+
);
|
|
691
1199
|
return jsi::Value::undefined();
|
|
692
1200
|
}
|
|
693
1201
|
|
|
@@ -700,23 +1208,39 @@ NativeNetworkingAndroidCxxSpecJSI::NativeNetworkingAndroidCxxSpecJSI(std::shared
|
|
|
700
1208
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingAndroidCxxSpecJSI_removeListeners};
|
|
701
1209
|
}
|
|
702
1210
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_sendRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
703
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1211
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->sendRequest(
|
|
1212
|
+
rt,
|
|
1213
|
+
args[0].asObject(rt),
|
|
1214
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1215
|
+
);
|
|
704
1216
|
return jsi::Value::undefined();
|
|
705
1217
|
}
|
|
706
1218
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_abortRequest(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
707
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1219
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->abortRequest(
|
|
1220
|
+
rt,
|
|
1221
|
+
args[0].asNumber()
|
|
1222
|
+
);
|
|
708
1223
|
return jsi::Value::undefined();
|
|
709
1224
|
}
|
|
710
1225
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_clearCookies(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
711
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1226
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->clearCookies(
|
|
1227
|
+
rt,
|
|
1228
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1229
|
+
);
|
|
712
1230
|
return jsi::Value::undefined();
|
|
713
1231
|
}
|
|
714
1232
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
715
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1233
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1234
|
+
rt,
|
|
1235
|
+
args[0].asString(rt)
|
|
1236
|
+
);
|
|
716
1237
|
return jsi::Value::undefined();
|
|
717
1238
|
}
|
|
718
1239
|
static jsi::Value __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
719
|
-
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1240
|
+
static_cast<NativeNetworkingIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1241
|
+
rt,
|
|
1242
|
+
args[0].asNumber()
|
|
1243
|
+
);
|
|
720
1244
|
return jsi::Value::undefined();
|
|
721
1245
|
}
|
|
722
1246
|
|
|
@@ -729,7 +1253,12 @@ NativeNetworkingIOSCxxSpecJSI::NativeNetworkingIOSCxxSpecJSI(std::shared_ptr<Cal
|
|
|
729
1253
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSCxxSpecJSI_removeListeners};
|
|
730
1254
|
}
|
|
731
1255
|
static jsi::Value __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
732
|
-
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(
|
|
1256
|
+
static_cast<NativeJSCSamplingProfilerCxxSpecJSI *>(&turboModule)->operationComplete(
|
|
1257
|
+
rt,
|
|
1258
|
+
args[0].asNumber(),
|
|
1259
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asString(rt)),
|
|
1260
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asString(rt))
|
|
1261
|
+
);
|
|
733
1262
|
return jsi::Value::undefined();
|
|
734
1263
|
}
|
|
735
1264
|
|
|
@@ -738,16 +1267,28 @@ NativeJSCSamplingProfilerCxxSpecJSI::NativeJSCSamplingProfilerCxxSpecJSI(std::sh
|
|
|
738
1267
|
methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerCxxSpecJSI_operationComplete};
|
|
739
1268
|
}
|
|
740
1269
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_checkPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
741
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
1270
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->checkPermission(
|
|
1271
|
+
rt,
|
|
1272
|
+
args[0].asString(rt)
|
|
1273
|
+
);
|
|
742
1274
|
}
|
|
743
1275
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestPermission(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
744
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
1276
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestPermission(
|
|
1277
|
+
rt,
|
|
1278
|
+
args[0].asString(rt)
|
|
1279
|
+
);
|
|
745
1280
|
}
|
|
746
1281
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_shouldShowRequestPermissionRationale(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
747
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
1282
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->shouldShowRequestPermissionRationale(
|
|
1283
|
+
rt,
|
|
1284
|
+
args[0].asString(rt)
|
|
1285
|
+
);
|
|
748
1286
|
}
|
|
749
1287
|
static jsi::Value __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
750
|
-
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
1288
|
+
return static_cast<NativePermissionsAndroidCxxSpecJSI *>(&turboModule)->requestMultiplePermissions(
|
|
1289
|
+
rt,
|
|
1290
|
+
args[0].asObject(rt).asArray(rt)
|
|
1291
|
+
);
|
|
751
1292
|
}
|
|
752
1293
|
|
|
753
1294
|
NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -758,76 +1299,129 @@ NativePermissionsAndroidCxxSpecJSI::NativePermissionsAndroidCxxSpecJSI(std::shar
|
|
|
758
1299
|
methodMap_["requestMultiplePermissions"] = MethodMetadata {1, __hostFunction_NativePermissionsAndroidCxxSpecJSI_requestMultiplePermissions};
|
|
759
1300
|
}
|
|
760
1301
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
761
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1302
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1303
|
+
rt
|
|
1304
|
+
);
|
|
762
1305
|
}
|
|
763
1306
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_onFinishRemoteNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
764
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
1307
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->onFinishRemoteNotification(
|
|
1308
|
+
rt,
|
|
1309
|
+
args[0].asString(rt),
|
|
1310
|
+
args[1].asString(rt)
|
|
1311
|
+
);
|
|
765
1312
|
return jsi::Value::undefined();
|
|
766
1313
|
}
|
|
767
1314
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_setApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
768
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
1315
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->setApplicationIconBadgeNumber(
|
|
1316
|
+
rt,
|
|
1317
|
+
args[0].asNumber()
|
|
1318
|
+
);
|
|
769
1319
|
return jsi::Value::undefined();
|
|
770
1320
|
}
|
|
771
1321
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getApplicationIconBadgeNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
772
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
1322
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getApplicationIconBadgeNumber(
|
|
1323
|
+
rt,
|
|
1324
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1325
|
+
);
|
|
773
1326
|
return jsi::Value::undefined();
|
|
774
1327
|
}
|
|
775
1328
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_requestPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
776
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
1329
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->requestPermissions(
|
|
1330
|
+
rt,
|
|
1331
|
+
args[0].asObject(rt)
|
|
1332
|
+
);
|
|
777
1333
|
}
|
|
778
1334
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_abandonPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
779
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(
|
|
1335
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->abandonPermissions(
|
|
1336
|
+
rt
|
|
1337
|
+
);
|
|
780
1338
|
return jsi::Value::undefined();
|
|
781
1339
|
}
|
|
782
1340
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_checkPermissions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
783
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
1341
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->checkPermissions(
|
|
1342
|
+
rt,
|
|
1343
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1344
|
+
);
|
|
784
1345
|
return jsi::Value::undefined();
|
|
785
1346
|
}
|
|
786
1347
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_presentLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
787
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
1348
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->presentLocalNotification(
|
|
1349
|
+
rt,
|
|
1350
|
+
args[0].asObject(rt)
|
|
1351
|
+
);
|
|
788
1352
|
return jsi::Value::undefined();
|
|
789
1353
|
}
|
|
790
1354
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_scheduleLocalNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
791
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
1355
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->scheduleLocalNotification(
|
|
1356
|
+
rt,
|
|
1357
|
+
args[0].asObject(rt)
|
|
1358
|
+
);
|
|
792
1359
|
return jsi::Value::undefined();
|
|
793
1360
|
}
|
|
794
1361
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelAllLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
795
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(
|
|
1362
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelAllLocalNotifications(
|
|
1363
|
+
rt
|
|
1364
|
+
);
|
|
796
1365
|
return jsi::Value::undefined();
|
|
797
1366
|
}
|
|
798
1367
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_cancelLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
799
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
1368
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->cancelLocalNotifications(
|
|
1369
|
+
rt,
|
|
1370
|
+
args[0].asObject(rt)
|
|
1371
|
+
);
|
|
800
1372
|
return jsi::Value::undefined();
|
|
801
1373
|
}
|
|
802
1374
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getInitialNotification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
803
|
-
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(
|
|
1375
|
+
return static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getInitialNotification(
|
|
1376
|
+
rt
|
|
1377
|
+
);
|
|
804
1378
|
}
|
|
805
1379
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getScheduledLocalNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
806
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
1380
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getScheduledLocalNotifications(
|
|
1381
|
+
rt,
|
|
1382
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1383
|
+
);
|
|
807
1384
|
return jsi::Value::undefined();
|
|
808
1385
|
}
|
|
809
1386
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeAllDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
810
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(
|
|
1387
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeAllDeliveredNotifications(
|
|
1388
|
+
rt
|
|
1389
|
+
);
|
|
811
1390
|
return jsi::Value::undefined();
|
|
812
1391
|
}
|
|
813
1392
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
814
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
1393
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeDeliveredNotifications(
|
|
1394
|
+
rt,
|
|
1395
|
+
args[0].asObject(rt).asArray(rt)
|
|
1396
|
+
);
|
|
815
1397
|
return jsi::Value::undefined();
|
|
816
1398
|
}
|
|
817
1399
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getDeliveredNotifications(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
818
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
1400
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getDeliveredNotifications(
|
|
1401
|
+
rt,
|
|
1402
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1403
|
+
);
|
|
819
1404
|
return jsi::Value::undefined();
|
|
820
1405
|
}
|
|
821
1406
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_getAuthorizationStatus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
822
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
1407
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->getAuthorizationStatus(
|
|
1408
|
+
rt,
|
|
1409
|
+
args[0].asObject(rt).asFunction(rt)
|
|
1410
|
+
);
|
|
823
1411
|
return jsi::Value::undefined();
|
|
824
1412
|
}
|
|
825
1413
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
826
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1414
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
1415
|
+
rt,
|
|
1416
|
+
args[0].asString(rt)
|
|
1417
|
+
);
|
|
827
1418
|
return jsi::Value::undefined();
|
|
828
1419
|
}
|
|
829
1420
|
static jsi::Value __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
830
|
-
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1421
|
+
static_cast<NativePushNotificationManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1422
|
+
rt,
|
|
1423
|
+
args[0].asNumber()
|
|
1424
|
+
);
|
|
831
1425
|
return jsi::Value::undefined();
|
|
832
1426
|
}
|
|
833
1427
|
|
|
@@ -854,11 +1448,17 @@ NativePushNotificationManagerIOSCxxSpecJSI::NativePushNotificationManagerIOSCxxS
|
|
|
854
1448
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativePushNotificationManagerIOSCxxSpecJSI_removeListeners};
|
|
855
1449
|
}
|
|
856
1450
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskFinished(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
857
|
-
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
1451
|
+
static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskFinished(
|
|
1452
|
+
rt,
|
|
1453
|
+
args[0].asNumber()
|
|
1454
|
+
);
|
|
858
1455
|
return jsi::Value::undefined();
|
|
859
1456
|
}
|
|
860
1457
|
static jsi::Value __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
861
|
-
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
1458
|
+
return static_cast<NativeHeadlessJsTaskSupportCxxSpecJSI *>(&turboModule)->notifyTaskRetry(
|
|
1459
|
+
rt,
|
|
1460
|
+
args[0].asNumber()
|
|
1461
|
+
);
|
|
862
1462
|
}
|
|
863
1463
|
|
|
864
1464
|
NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -867,18 +1467,29 @@ NativeHeadlessJsTaskSupportCxxSpecJSI::NativeHeadlessJsTaskSupportCxxSpecJSI(std
|
|
|
867
1467
|
methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportCxxSpecJSI_notifyTaskRetry};
|
|
868
1468
|
}
|
|
869
1469
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
870
|
-
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1470
|
+
return static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1471
|
+
rt
|
|
1472
|
+
);
|
|
871
1473
|
}
|
|
872
1474
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_allowRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
873
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1475
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->allowRTL(
|
|
1476
|
+
rt,
|
|
1477
|
+
args[0].asBool()
|
|
1478
|
+
);
|
|
874
1479
|
return jsi::Value::undefined();
|
|
875
1480
|
}
|
|
876
1481
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_forceRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
877
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1482
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->forceRTL(
|
|
1483
|
+
rt,
|
|
1484
|
+
args[0].asBool()
|
|
1485
|
+
);
|
|
878
1486
|
return jsi::Value::undefined();
|
|
879
1487
|
}
|
|
880
1488
|
static jsi::Value __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
881
|
-
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1489
|
+
static_cast<NativeI18nManagerCxxSpecJSI *>(&turboModule)->swapLeftAndRightInRTL(
|
|
1490
|
+
rt,
|
|
1491
|
+
args[0].asBool()
|
|
1492
|
+
);
|
|
882
1493
|
return jsi::Value::undefined();
|
|
883
1494
|
}
|
|
884
1495
|
|
|
@@ -890,103 +1501,209 @@ NativeI18nManagerCxxSpecJSI::NativeI18nManagerCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
890
1501
|
methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerCxxSpecJSI_swapLeftAndRightInRTL};
|
|
891
1502
|
}
|
|
892
1503
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
893
|
-
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1504
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1505
|
+
rt
|
|
1506
|
+
);
|
|
894
1507
|
}
|
|
895
1508
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getConstantsForViewManager(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
896
|
-
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
1509
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getConstantsForViewManager(
|
|
1510
|
+
rt,
|
|
1511
|
+
args[0].asString(rt)
|
|
1512
|
+
);
|
|
897
1513
|
}
|
|
898
1514
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_getDefaultEventTypes(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
899
|
-
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getDefaultEventTypes(
|
|
1515
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->getDefaultEventTypes(
|
|
1516
|
+
rt
|
|
1517
|
+
);
|
|
900
1518
|
}
|
|
901
1519
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_lazilyLoadView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
902
|
-
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
1520
|
+
return static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->lazilyLoadView(
|
|
1521
|
+
rt,
|
|
1522
|
+
args[0].asString(rt)
|
|
1523
|
+
);
|
|
903
1524
|
}
|
|
904
1525
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_createView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
905
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
1526
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->createView(
|
|
1527
|
+
rt,
|
|
1528
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1529
|
+
args[1].asString(rt),
|
|
1530
|
+
args[2].getNumber(),
|
|
1531
|
+
args[3].asObject(rt)
|
|
1532
|
+
);
|
|
906
1533
|
return jsi::Value::undefined();
|
|
907
1534
|
}
|
|
908
1535
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_updateView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
909
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
1536
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->updateView(
|
|
1537
|
+
rt,
|
|
1538
|
+
args[0].asNumber(),
|
|
1539
|
+
args[1].asString(rt),
|
|
1540
|
+
args[2].asObject(rt)
|
|
1541
|
+
);
|
|
910
1542
|
return jsi::Value::undefined();
|
|
911
1543
|
}
|
|
912
1544
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_focus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
913
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
1545
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->focus(
|
|
1546
|
+
rt,
|
|
1547
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber())
|
|
1548
|
+
);
|
|
914
1549
|
return jsi::Value::undefined();
|
|
915
1550
|
}
|
|
916
1551
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_blur(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
917
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
1552
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->blur(
|
|
1553
|
+
rt,
|
|
1554
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber())
|
|
1555
|
+
);
|
|
918
1556
|
return jsi::Value::undefined();
|
|
919
1557
|
}
|
|
920
1558
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_findSubviewIn(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
921
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
1559
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->findSubviewIn(
|
|
1560
|
+
rt,
|
|
1561
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1562
|
+
args[1].asObject(rt).asArray(rt),
|
|
1563
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1564
|
+
);
|
|
922
1565
|
return jsi::Value::undefined();
|
|
923
1566
|
}
|
|
924
1567
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dispatchViewManagerCommand(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
925
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
1568
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dispatchViewManagerCommand(
|
|
1569
|
+
rt,
|
|
1570
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1571
|
+
args[1].asNumber(),
|
|
1572
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asObject(rt).asArray(rt))
|
|
1573
|
+
);
|
|
926
1574
|
return jsi::Value::undefined();
|
|
927
1575
|
}
|
|
928
1576
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
929
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
1577
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measure(
|
|
1578
|
+
rt,
|
|
1579
|
+
args[0].asNumber(),
|
|
1580
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1581
|
+
);
|
|
930
1582
|
return jsi::Value::undefined();
|
|
931
1583
|
}
|
|
932
1584
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureInWindow(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
933
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
1585
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureInWindow(
|
|
1586
|
+
rt,
|
|
1587
|
+
args[0].asNumber(),
|
|
1588
|
+
args[1].asObject(rt).asFunction(rt)
|
|
1589
|
+
);
|
|
934
1590
|
return jsi::Value::undefined();
|
|
935
1591
|
}
|
|
936
1592
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_viewIsDescendantOf(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
937
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
1593
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->viewIsDescendantOf(
|
|
1594
|
+
rt,
|
|
1595
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1596
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
1597
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1598
|
+
);
|
|
938
1599
|
return jsi::Value::undefined();
|
|
939
1600
|
}
|
|
940
1601
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayout(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
941
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
1602
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayout(
|
|
1603
|
+
rt,
|
|
1604
|
+
args[0].asNumber(),
|
|
1605
|
+
args[1].asNumber(),
|
|
1606
|
+
args[2].asObject(rt).asFunction(rt),
|
|
1607
|
+
args[3].asObject(rt).asFunction(rt)
|
|
1608
|
+
);
|
|
942
1609
|
return jsi::Value::undefined();
|
|
943
1610
|
}
|
|
944
1611
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_measureLayoutRelativeToParent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
945
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
1612
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->measureLayoutRelativeToParent(
|
|
1613
|
+
rt,
|
|
1614
|
+
args[0].asNumber(),
|
|
1615
|
+
args[1].asObject(rt).asFunction(rt),
|
|
1616
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1617
|
+
);
|
|
946
1618
|
return jsi::Value::undefined();
|
|
947
1619
|
}
|
|
948
1620
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
949
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
1621
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setJSResponder(
|
|
1622
|
+
rt,
|
|
1623
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1624
|
+
args[1].asBool()
|
|
1625
|
+
);
|
|
950
1626
|
return jsi::Value::undefined();
|
|
951
1627
|
}
|
|
952
1628
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_clearJSResponder(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
953
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->clearJSResponder(
|
|
1629
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->clearJSResponder(
|
|
1630
|
+
rt
|
|
1631
|
+
);
|
|
954
1632
|
return jsi::Value::undefined();
|
|
955
1633
|
}
|
|
956
1634
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_configureNextLayoutAnimation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
957
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
1635
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->configureNextLayoutAnimation(
|
|
1636
|
+
rt,
|
|
1637
|
+
args[0].asObject(rt),
|
|
1638
|
+
args[1].asObject(rt).asFunction(rt),
|
|
1639
|
+
args[2].asObject(rt).asFunction(rt)
|
|
1640
|
+
);
|
|
958
1641
|
return jsi::Value::undefined();
|
|
959
1642
|
}
|
|
960
1643
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_removeSubviewsFromContainerWithID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
961
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->removeSubviewsFromContainerWithID(
|
|
1644
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->removeSubviewsFromContainerWithID(
|
|
1645
|
+
rt,
|
|
1646
|
+
args[0].asNumber()
|
|
1647
|
+
);
|
|
962
1648
|
return jsi::Value::undefined();
|
|
963
1649
|
}
|
|
964
1650
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_replaceExistingNonRootView(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
965
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->replaceExistingNonRootView(
|
|
1651
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->replaceExistingNonRootView(
|
|
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())
|
|
1655
|
+
);
|
|
966
1656
|
return jsi::Value::undefined();
|
|
967
1657
|
}
|
|
968
1658
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
969
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
1659
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setChildren(
|
|
1660
|
+
rt,
|
|
1661
|
+
args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asNumber()),
|
|
1662
|
+
args[1].asObject(rt).asArray(rt)
|
|
1663
|
+
);
|
|
970
1664
|
return jsi::Value::undefined();
|
|
971
1665
|
}
|
|
972
1666
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_manageChildren(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
973
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
1667
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->manageChildren(
|
|
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
|
+
);
|
|
974
1676
|
return jsi::Value::undefined();
|
|
975
1677
|
}
|
|
976
1678
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_setLayoutAnimationEnabledExperimental(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
977
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
1679
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->setLayoutAnimationEnabledExperimental(
|
|
1680
|
+
rt,
|
|
1681
|
+
args[0].asBool()
|
|
1682
|
+
);
|
|
978
1683
|
return jsi::Value::undefined();
|
|
979
1684
|
}
|
|
980
1685
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_sendAccessibilityEvent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
981
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->sendAccessibilityEvent(
|
|
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
|
+
);
|
|
982
1691
|
return jsi::Value::undefined();
|
|
983
1692
|
}
|
|
984
1693
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_showPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
985
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->showPopupMenu(
|
|
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
|
+
);
|
|
986
1701
|
return jsi::Value::undefined();
|
|
987
1702
|
}
|
|
988
1703
|
static jsi::Value __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
989
|
-
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dismissPopupMenu(
|
|
1704
|
+
static_cast<NativeUIManagerCxxSpecJSI *>(&turboModule)->dismissPopupMenu(
|
|
1705
|
+
rt
|
|
1706
|
+
);
|
|
990
1707
|
return jsi::Value::undefined();
|
|
991
1708
|
}
|
|
992
1709
|
|
|
@@ -1020,14 +1737,22 @@ NativeUIManagerCxxSpecJSI::NativeUIManagerCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
1020
1737
|
methodMap_["dismissPopupMenu"] = MethodMetadata {0, __hostFunction_NativeUIManagerCxxSpecJSI_dismissPopupMenu};
|
|
1021
1738
|
}
|
|
1022
1739
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1023
|
-
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1740
|
+
return static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1741
|
+
rt
|
|
1742
|
+
);
|
|
1024
1743
|
}
|
|
1025
1744
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_setValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1026
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
1745
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->setValues(
|
|
1746
|
+
rt,
|
|
1747
|
+
args[0].asObject(rt)
|
|
1748
|
+
);
|
|
1027
1749
|
return jsi::Value::undefined();
|
|
1028
1750
|
}
|
|
1029
1751
|
static jsi::Value __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1030
|
-
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
1752
|
+
static_cast<NativeSettingsManagerCxxSpecJSI *>(&turboModule)->deleteValues(
|
|
1753
|
+
rt,
|
|
1754
|
+
args[0].asObject(rt).asArray(rt)
|
|
1755
|
+
);
|
|
1031
1756
|
return jsi::Value::undefined();
|
|
1032
1757
|
}
|
|
1033
1758
|
|
|
@@ -1038,10 +1763,16 @@ NativeSettingsManagerCxxSpecJSI::NativeSettingsManagerCxxSpecJSI(std::shared_ptr
|
|
|
1038
1763
|
methodMap_["deleteValues"] = MethodMetadata {1, __hostFunction_NativeSettingsManagerCxxSpecJSI_deleteValues};
|
|
1039
1764
|
}
|
|
1040
1765
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1041
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1766
|
+
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1767
|
+
rt
|
|
1768
|
+
);
|
|
1042
1769
|
}
|
|
1043
1770
|
static jsi::Value __hostFunction_NativeShareModuleCxxSpecJSI_share(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1044
|
-
return static_cast<NativeShareModuleCxxSpecJSI *>(&turboModule)->share(
|
|
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
|
+
);
|
|
1045
1776
|
}
|
|
1046
1777
|
|
|
1047
1778
|
NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1050,19 +1781,30 @@ NativeShareModuleCxxSpecJSI::NativeShareModuleCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
1050
1781
|
methodMap_["share"] = MethodMetadata {2, __hostFunction_NativeShareModuleCxxSpecJSI_share};
|
|
1051
1782
|
}
|
|
1052
1783
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_getColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1053
|
-
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
|
1784
|
+
auto result = static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->getColorScheme(
|
|
1785
|
+
rt
|
|
1786
|
+
);
|
|
1054
1787
|
return result ? jsi::Value(std::move(*result)) : jsi::Value::null();
|
|
1055
1788
|
}
|
|
1056
1789
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_setColorScheme(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1057
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
1790
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->setColorScheme(
|
|
1791
|
+
rt,
|
|
1792
|
+
args[0].asString(rt)
|
|
1793
|
+
);
|
|
1058
1794
|
return jsi::Value::undefined();
|
|
1059
1795
|
}
|
|
1060
1796
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1061
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
1797
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->addListener(
|
|
1798
|
+
rt,
|
|
1799
|
+
args[0].asString(rt)
|
|
1800
|
+
);
|
|
1062
1801
|
return jsi::Value::undefined();
|
|
1063
1802
|
}
|
|
1064
1803
|
static jsi::Value __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1065
|
-
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1804
|
+
static_cast<NativeAppearanceCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
1805
|
+
rt,
|
|
1806
|
+
args[0].asNumber()
|
|
1807
|
+
);
|
|
1066
1808
|
return jsi::Value::undefined();
|
|
1067
1809
|
}
|
|
1068
1810
|
|
|
@@ -1074,7 +1816,9 @@ NativeAppearanceCxxSpecJSI::NativeAppearanceCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1074
1816
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceCxxSpecJSI_removeListeners};
|
|
1075
1817
|
}
|
|
1076
1818
|
static jsi::Value __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1077
|
-
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1819
|
+
return static_cast<NativeDeviceInfoCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1820
|
+
rt
|
|
1821
|
+
);
|
|
1078
1822
|
}
|
|
1079
1823
|
|
|
1080
1824
|
NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1082,11 +1826,18 @@ NativeDeviceInfoCxxSpecJSI::NativeDeviceInfoCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1082
1826
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoCxxSpecJSI_getConstants};
|
|
1083
1827
|
}
|
|
1084
1828
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1085
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
1829
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->showMessage(
|
|
1830
|
+
rt,
|
|
1831
|
+
args[0].asString(rt),
|
|
1832
|
+
args[1].isNull() || args[1].isUndefined() ? std::nullopt : std::make_optional(args[1].asNumber()),
|
|
1833
|
+
args[2].isNull() || args[2].isUndefined() ? std::nullopt : std::make_optional(args[2].asNumber())
|
|
1834
|
+
);
|
|
1086
1835
|
return jsi::Value::undefined();
|
|
1087
1836
|
}
|
|
1088
1837
|
static jsi::Value __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1089
|
-
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(
|
|
1838
|
+
static_cast<NativeDevLoadingViewCxxSpecJSI *>(&turboModule)->hide(
|
|
1839
|
+
rt
|
|
1840
|
+
);
|
|
1090
1841
|
return jsi::Value::undefined();
|
|
1091
1842
|
}
|
|
1092
1843
|
|
|
@@ -1095,19 +1846,15 @@ NativeDevLoadingViewCxxSpecJSI::NativeDevLoadingViewCxxSpecJSI(std::shared_ptr<C
|
|
|
1095
1846
|
methodMap_["showMessage"] = MethodMetadata {3, __hostFunction_NativeDevLoadingViewCxxSpecJSI_showMessage};
|
|
1096
1847
|
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewCxxSpecJSI_hide};
|
|
1097
1848
|
}
|
|
1098
|
-
static jsi::Value __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1099
|
-
return static_cast<NativeDevSplitBundleLoaderCxxSpecJSI *>(&turboModule)->loadBundle(rt, args[0].asString(rt));
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
|
-
NativeDevSplitBundleLoaderCxxSpecJSI::NativeDevSplitBundleLoaderCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1103
|
-
: TurboModule("DevSplitBundleLoader", jsInvoker) {
|
|
1104
|
-
methodMap_["loadBundle"] = MethodMetadata {1, __hostFunction_NativeDevSplitBundleLoaderCxxSpecJSI_loadBundle};
|
|
1105
|
-
}
|
|
1106
1849
|
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1107
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1850
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1851
|
+
rt
|
|
1852
|
+
);
|
|
1108
1853
|
}
|
|
1109
1854
|
static jsi::Value __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1110
|
-
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
|
1855
|
+
return static_cast<NativePlatformConstantsAndroidCxxSpecJSI *>(&turboModule)->getAndroidID(
|
|
1856
|
+
rt
|
|
1857
|
+
);
|
|
1111
1858
|
}
|
|
1112
1859
|
|
|
1113
1860
|
NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1116,7 +1863,9 @@ NativePlatformConstantsAndroidCxxSpecJSI::NativePlatformConstantsAndroidCxxSpecJ
|
|
|
1116
1863
|
methodMap_["getAndroidID"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsAndroidCxxSpecJSI_getAndroidID};
|
|
1117
1864
|
}
|
|
1118
1865
|
static jsi::Value __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1119
|
-
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1866
|
+
return static_cast<NativePlatformConstantsIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1867
|
+
rt
|
|
1868
|
+
);
|
|
1120
1869
|
}
|
|
1121
1870
|
|
|
1122
1871
|
NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1124,7 +1873,9 @@ NativePlatformConstantsIOSCxxSpecJSI::NativePlatformConstantsIOSCxxSpecJSI(std::
|
|
|
1124
1873
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSCxxSpecJSI_getConstants};
|
|
1125
1874
|
}
|
|
1126
1875
|
static jsi::Value __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1127
|
-
return static_cast<NativePlatformConstantsWinCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1876
|
+
return static_cast<NativePlatformConstantsWinCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1877
|
+
rt
|
|
1878
|
+
);
|
|
1128
1879
|
}
|
|
1129
1880
|
|
|
1130
1881
|
NativePlatformConstantsWinCxxSpecJSI::NativePlatformConstantsWinCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1132,18 +1883,29 @@ NativePlatformConstantsWinCxxSpecJSI::NativePlatformConstantsWinCxxSpecJSI(std::
|
|
|
1132
1883
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsWinCxxSpecJSI_getConstants};
|
|
1133
1884
|
}
|
|
1134
1885
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1135
|
-
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1886
|
+
return static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->getConstants(
|
|
1887
|
+
rt
|
|
1888
|
+
);
|
|
1136
1889
|
}
|
|
1137
1890
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrate(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1138
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
1891
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrate(
|
|
1892
|
+
rt,
|
|
1893
|
+
args[0].asNumber()
|
|
1894
|
+
);
|
|
1139
1895
|
return jsi::Value::undefined();
|
|
1140
1896
|
}
|
|
1141
1897
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_vibrateByPattern(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1142
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
1898
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->vibrateByPattern(
|
|
1899
|
+
rt,
|
|
1900
|
+
args[0].asObject(rt).asArray(rt),
|
|
1901
|
+
args[1].asNumber()
|
|
1902
|
+
);
|
|
1143
1903
|
return jsi::Value::undefined();
|
|
1144
1904
|
}
|
|
1145
1905
|
static jsi::Value __hostFunction_NativeVibrationCxxSpecJSI_cancel(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1146
|
-
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
|
1906
|
+
static_cast<NativeVibrationCxxSpecJSI *>(&turboModule)->cancel(
|
|
1907
|
+
rt
|
|
1908
|
+
);
|
|
1147
1909
|
return jsi::Value::undefined();
|
|
1148
1910
|
}
|
|
1149
1911
|
|
|
@@ -1155,65 +1917,118 @@ NativeVibrationCxxSpecJSI::NativeVibrationCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
1155
1917
|
methodMap_["cancel"] = MethodMetadata {0, __hostFunction_NativeVibrationCxxSpecJSI_cancel};
|
|
1156
1918
|
}
|
|
1157
1919
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_mark(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1158
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
|
1920
|
+
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->mark(
|
|
1921
|
+
rt,
|
|
1922
|
+
args[0].asString(rt),
|
|
1923
|
+
args[1].asNumber()
|
|
1924
|
+
);
|
|
1159
1925
|
return jsi::Value::undefined();
|
|
1160
1926
|
}
|
|
1161
1927
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_measure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1162
|
-
static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->measure(
|
|
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
|
+
);
|
|
1163
1937
|
return jsi::Value::undefined();
|
|
1164
1938
|
}
|
|
1165
1939
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1166
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
|
1940
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getSimpleMemoryInfo(
|
|
1941
|
+
rt
|
|
1942
|
+
);
|
|
1167
1943
|
}
|
|
1168
1944
|
static jsi::Value __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1169
|
-
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
|
1945
|
+
return static_cast<NativePerformanceCxxSpecJSI *>(&turboModule)->getReactNativeStartupTiming(
|
|
1946
|
+
rt
|
|
1947
|
+
);
|
|
1170
1948
|
}
|
|
1171
1949
|
|
|
1172
1950
|
NativePerformanceCxxSpecJSI::NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1173
1951
|
: TurboModule("NativePerformanceCxx", jsInvoker) {
|
|
1174
|
-
methodMap_["mark"] = MethodMetadata {
|
|
1952
|
+
methodMap_["mark"] = MethodMetadata {2, __hostFunction_NativePerformanceCxxSpecJSI_mark};
|
|
1175
1953
|
methodMap_["measure"] = MethodMetadata {6, __hostFunction_NativePerformanceCxxSpecJSI_measure};
|
|
1176
1954
|
methodMap_["getSimpleMemoryInfo"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getSimpleMemoryInfo};
|
|
1177
1955
|
methodMap_["getReactNativeStartupTiming"] = MethodMetadata {0, __hostFunction_NativePerformanceCxxSpecJSI_getReactNativeStartupTiming};
|
|
1178
1956
|
}
|
|
1179
1957
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1180
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
|
1958
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->startReporting(
|
|
1959
|
+
rt,
|
|
1960
|
+
args[0].asNumber()
|
|
1961
|
+
);
|
|
1181
1962
|
return jsi::Value::undefined();
|
|
1182
1963
|
}
|
|
1183
1964
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1184
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(
|
|
1965
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->stopReporting(
|
|
1966
|
+
rt,
|
|
1967
|
+
args[0].asNumber()
|
|
1968
|
+
);
|
|
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
|
+
);
|
|
1185
1977
|
return jsi::Value::undefined();
|
|
1186
1978
|
}
|
|
1187
1979
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1188
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
|
1980
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->popPendingEntries(
|
|
1981
|
+
rt
|
|
1982
|
+
);
|
|
1189
1983
|
}
|
|
1190
1984
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1191
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setOnPerformanceEntryCallback(
|
|
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
|
+
);
|
|
1192
1989
|
return jsi::Value::undefined();
|
|
1193
1990
|
}
|
|
1194
1991
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1195
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
|
1992
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->logRawEntry(
|
|
1993
|
+
rt,
|
|
1994
|
+
args[0].asObject(rt)
|
|
1995
|
+
);
|
|
1196
1996
|
return jsi::Value::undefined();
|
|
1197
1997
|
}
|
|
1198
1998
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEventCounts(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1199
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
|
1999
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEventCounts(
|
|
2000
|
+
rt
|
|
2001
|
+
);
|
|
1200
2002
|
}
|
|
1201
2003
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_setDurationThreshold(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1202
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
|
2004
|
+
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->setDurationThreshold(
|
|
2005
|
+
rt,
|
|
2006
|
+
args[0].asNumber(),
|
|
2007
|
+
args[1].asNumber()
|
|
2008
|
+
);
|
|
1203
2009
|
return jsi::Value::undefined();
|
|
1204
2010
|
}
|
|
1205
2011
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_clearEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1206
|
-
static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->clearEntries(
|
|
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
|
+
);
|
|
1207
2017
|
return jsi::Value::undefined();
|
|
1208
2018
|
}
|
|
1209
2019
|
static jsi::Value __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1210
|
-
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(
|
|
2020
|
+
return static_cast<NativePerformanceObserverCxxSpecJSI *>(&turboModule)->getEntries(
|
|
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
|
+
);
|
|
1211
2025
|
}
|
|
1212
2026
|
|
|
1213
2027
|
NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
1214
2028
|
: TurboModule("NativePerformanceObserverCxx", jsInvoker) {
|
|
1215
2029
|
methodMap_["startReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_startReporting};
|
|
1216
2030
|
methodMap_["stopReporting"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_stopReporting};
|
|
2031
|
+
methodMap_["setIsBuffered"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_setIsBuffered};
|
|
1217
2032
|
methodMap_["popPendingEntries"] = MethodMetadata {0, __hostFunction_NativePerformanceObserverCxxSpecJSI_popPendingEntries};
|
|
1218
2033
|
methodMap_["setOnPerformanceEntryCallback"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_setOnPerformanceEntryCallback};
|
|
1219
2034
|
methodMap_["logRawEntry"] = MethodMetadata {1, __hostFunction_NativePerformanceObserverCxxSpecJSI_logRawEntry};
|
|
@@ -1223,31 +2038,59 @@ NativePerformanceObserverCxxSpecJSI::NativePerformanceObserverCxxSpecJSI(std::sh
|
|
|
1223
2038
|
methodMap_["getEntries"] = MethodMetadata {2, __hostFunction_NativePerformanceObserverCxxSpecJSI_getEntries};
|
|
1224
2039
|
}
|
|
1225
2040
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_connect(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1226
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->connect(
|
|
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
|
+
);
|
|
1227
2048
|
return jsi::Value::undefined();
|
|
1228
2049
|
}
|
|
1229
2050
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_send(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1230
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2051
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->send(
|
|
2052
|
+
rt,
|
|
2053
|
+
args[0].asString(rt),
|
|
2054
|
+
args[1].asNumber()
|
|
2055
|
+
);
|
|
1231
2056
|
return jsi::Value::undefined();
|
|
1232
2057
|
}
|
|
1233
2058
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_sendBinary(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1234
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2059
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->sendBinary(
|
|
2060
|
+
rt,
|
|
2061
|
+
args[0].asString(rt),
|
|
2062
|
+
args[1].asNumber()
|
|
2063
|
+
);
|
|
1235
2064
|
return jsi::Value::undefined();
|
|
1236
2065
|
}
|
|
1237
2066
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_ping(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1238
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2067
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->ping(
|
|
2068
|
+
rt,
|
|
2069
|
+
args[0].asNumber()
|
|
2070
|
+
);
|
|
1239
2071
|
return jsi::Value::undefined();
|
|
1240
2072
|
}
|
|
1241
2073
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_close(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1242
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2074
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->close(
|
|
2075
|
+
rt,
|
|
2076
|
+
args[0].asNumber(),
|
|
2077
|
+
args[1].asString(rt),
|
|
2078
|
+
args[2].asNumber()
|
|
2079
|
+
);
|
|
1243
2080
|
return jsi::Value::undefined();
|
|
1244
2081
|
}
|
|
1245
2082
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1246
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2083
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->addListener(
|
|
2084
|
+
rt,
|
|
2085
|
+
args[0].asString(rt)
|
|
2086
|
+
);
|
|
1247
2087
|
return jsi::Value::undefined();
|
|
1248
2088
|
}
|
|
1249
2089
|
static jsi::Value __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1250
|
-
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2090
|
+
static_cast<NativeWebSocketModuleCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2091
|
+
rt,
|
|
2092
|
+
args[0].asNumber()
|
|
2093
|
+
);
|
|
1251
2094
|
return jsi::Value::undefined();
|
|
1252
2095
|
}
|
|
1253
2096
|
|
|
@@ -1262,27 +2105,46 @@ NativeWebSocketModuleCxxSpecJSI::NativeWebSocketModuleCxxSpecJSI(std::shared_ptr
|
|
|
1262
2105
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeWebSocketModuleCxxSpecJSI_removeListeners};
|
|
1263
2106
|
}
|
|
1264
2107
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isReduceMotionEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1265
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
2108
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isReduceMotionEnabled(
|
|
2109
|
+
rt,
|
|
2110
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2111
|
+
);
|
|
1266
2112
|
return jsi::Value::undefined();
|
|
1267
2113
|
}
|
|
1268
2114
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isTouchExplorationEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1269
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
2115
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isTouchExplorationEnabled(
|
|
2116
|
+
rt,
|
|
2117
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2118
|
+
);
|
|
1270
2119
|
return jsi::Value::undefined();
|
|
1271
2120
|
}
|
|
1272
2121
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_isAccessibilityServiceEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1273
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
2122
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->isAccessibilityServiceEnabled(
|
|
2123
|
+
rt,
|
|
2124
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2125
|
+
);
|
|
1274
2126
|
return jsi::Value::undefined();
|
|
1275
2127
|
}
|
|
1276
2128
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1277
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
2129
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
2130
|
+
rt,
|
|
2131
|
+
args[0].asNumber()
|
|
2132
|
+
);
|
|
1278
2133
|
return jsi::Value::undefined();
|
|
1279
2134
|
}
|
|
1280
2135
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1281
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
2136
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
2137
|
+
rt,
|
|
2138
|
+
args[0].asString(rt)
|
|
2139
|
+
);
|
|
1282
2140
|
return jsi::Value::undefined();
|
|
1283
2141
|
}
|
|
1284
2142
|
static jsi::Value __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1285
|
-
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
2143
|
+
static_cast<NativeAccessibilityInfoCxxSpecJSI *>(&turboModule)->getRecommendedTimeoutMillis(
|
|
2144
|
+
rt,
|
|
2145
|
+
args[0].asNumber(),
|
|
2146
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2147
|
+
);
|
|
1286
2148
|
return jsi::Value::undefined();
|
|
1287
2149
|
}
|
|
1288
2150
|
|
|
@@ -1296,47 +2158,88 @@ NativeAccessibilityInfoCxxSpecJSI::NativeAccessibilityInfoCxxSpecJSI(std::shared
|
|
|
1296
2158
|
methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoCxxSpecJSI_getRecommendedTimeoutMillis};
|
|
1297
2159
|
}
|
|
1298
2160
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentBoldTextState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1299
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
2161
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentBoldTextState(
|
|
2162
|
+
rt,
|
|
2163
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2164
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2165
|
+
);
|
|
1300
2166
|
return jsi::Value::undefined();
|
|
1301
2167
|
}
|
|
1302
2168
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentGrayscaleState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1303
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
2169
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentGrayscaleState(
|
|
2170
|
+
rt,
|
|
2171
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2172
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2173
|
+
);
|
|
1304
2174
|
return jsi::Value::undefined();
|
|
1305
2175
|
}
|
|
1306
2176
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentInvertColorsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1307
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
2177
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentInvertColorsState(
|
|
2178
|
+
rt,
|
|
2179
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2180
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2181
|
+
);
|
|
1308
2182
|
return jsi::Value::undefined();
|
|
1309
2183
|
}
|
|
1310
2184
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceMotionState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1311
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
2185
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceMotionState(
|
|
2186
|
+
rt,
|
|
2187
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2188
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2189
|
+
);
|
|
1312
2190
|
return jsi::Value::undefined();
|
|
1313
2191
|
}
|
|
1314
2192
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentPrefersCrossFadeTransitionsState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1315
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
2193
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentPrefersCrossFadeTransitionsState(
|
|
2194
|
+
rt,
|
|
2195
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2196
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2197
|
+
);
|
|
1316
2198
|
return jsi::Value::undefined();
|
|
1317
2199
|
}
|
|
1318
2200
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentReduceTransparencyState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1319
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
2201
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentReduceTransparencyState(
|
|
2202
|
+
rt,
|
|
2203
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2204
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2205
|
+
);
|
|
1320
2206
|
return jsi::Value::undefined();
|
|
1321
2207
|
}
|
|
1322
2208
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_getCurrentVoiceOverState(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1323
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
2209
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->getCurrentVoiceOverState(
|
|
2210
|
+
rt,
|
|
2211
|
+
args[0].asObject(rt).asFunction(rt),
|
|
2212
|
+
args[1].asObject(rt).asFunction(rt)
|
|
2213
|
+
);
|
|
1324
2214
|
return jsi::Value::undefined();
|
|
1325
2215
|
}
|
|
1326
2216
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityContentSizeMultipliers(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1327
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
2217
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityContentSizeMultipliers(
|
|
2218
|
+
rt,
|
|
2219
|
+
args[0].asObject(rt)
|
|
2220
|
+
);
|
|
1328
2221
|
return jsi::Value::undefined();
|
|
1329
2222
|
}
|
|
1330
2223
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_setAccessibilityFocus(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1331
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
2224
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->setAccessibilityFocus(
|
|
2225
|
+
rt,
|
|
2226
|
+
args[0].asNumber()
|
|
2227
|
+
);
|
|
1332
2228
|
return jsi::Value::undefined();
|
|
1333
2229
|
}
|
|
1334
2230
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibility(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1335
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
2231
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibility(
|
|
2232
|
+
rt,
|
|
2233
|
+
args[0].asString(rt)
|
|
2234
|
+
);
|
|
1336
2235
|
return jsi::Value::undefined();
|
|
1337
2236
|
}
|
|
1338
2237
|
static jsi::Value __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1339
|
-
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
2238
|
+
static_cast<NativeAccessibilityManagerCxxSpecJSI *>(&turboModule)->announceForAccessibilityWithOptions(
|
|
2239
|
+
rt,
|
|
2240
|
+
args[0].asString(rt),
|
|
2241
|
+
args[1].asObject(rt)
|
|
2242
|
+
);
|
|
1340
2243
|
return jsi::Value::undefined();
|
|
1341
2244
|
}
|
|
1342
2245
|
|
|
@@ -1355,13 +2258,20 @@ NativeAccessibilityManagerCxxSpecJSI::NativeAccessibilityManagerCxxSpecJSI(std::
|
|
|
1355
2258
|
methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerCxxSpecJSI_announceForAccessibilityWithOptions};
|
|
1356
2259
|
}
|
|
1357
2260
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1358
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2261
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2262
|
+
rt
|
|
2263
|
+
);
|
|
1359
2264
|
}
|
|
1360
2265
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1361
|
-
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(
|
|
2266
|
+
return static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->getString(
|
|
2267
|
+
rt
|
|
2268
|
+
);
|
|
1362
2269
|
}
|
|
1363
2270
|
static jsi::Value __hostFunction_NativeClipboardCxxSpecJSI_setString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1364
|
-
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
2271
|
+
static_cast<NativeClipboardCxxSpecJSI *>(&turboModule)->setString(
|
|
2272
|
+
rt,
|
|
2273
|
+
args[0].asString(rt)
|
|
2274
|
+
);
|
|
1365
2275
|
return jsi::Value::undefined();
|
|
1366
2276
|
}
|
|
1367
2277
|
|
|
@@ -1372,11 +2282,17 @@ NativeClipboardCxxSpecJSI::NativeClipboardCxxSpecJSI(std::shared_ptr<CallInvoker
|
|
|
1372
2282
|
methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardCxxSpecJSI_setString};
|
|
1373
2283
|
}
|
|
1374
2284
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1375
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
2285
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->addListener(
|
|
2286
|
+
rt,
|
|
2287
|
+
args[0].asString(rt)
|
|
2288
|
+
);
|
|
1376
2289
|
return jsi::Value::undefined();
|
|
1377
2290
|
}
|
|
1378
2291
|
static jsi::Value __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1379
|
-
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2292
|
+
static_cast<NativeKeyboardObserverCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2293
|
+
rt,
|
|
2294
|
+
args[0].asNumber()
|
|
2295
|
+
);
|
|
1380
2296
|
return jsi::Value::undefined();
|
|
1381
2297
|
}
|
|
1382
2298
|
|
|
@@ -1386,7 +2302,9 @@ NativeKeyboardObserverCxxSpecJSI::NativeKeyboardObserverCxxSpecJSI(std::shared_p
|
|
|
1386
2302
|
methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverCxxSpecJSI_removeListeners};
|
|
1387
2303
|
}
|
|
1388
2304
|
static jsi::Value __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1389
|
-
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(
|
|
2305
|
+
static_cast<NativeSoundManagerCxxSpecJSI *>(&turboModule)->playTouchSound(
|
|
2306
|
+
rt
|
|
2307
|
+
);
|
|
1390
2308
|
return jsi::Value::undefined();
|
|
1391
2309
|
}
|
|
1392
2310
|
|
|
@@ -1395,22 +2313,37 @@ NativeSoundManagerCxxSpecJSI::NativeSoundManagerCxxSpecJSI(std::shared_ptr<CallI
|
|
|
1395
2313
|
methodMap_["playTouchSound"] = MethodMetadata {0, __hostFunction_NativeSoundManagerCxxSpecJSI_playTouchSound};
|
|
1396
2314
|
}
|
|
1397
2315
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1398
|
-
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2316
|
+
return static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2317
|
+
rt
|
|
2318
|
+
);
|
|
1399
2319
|
}
|
|
1400
2320
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setColor(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1401
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
|
2321
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setColor(
|
|
2322
|
+
rt,
|
|
2323
|
+
args[0].asNumber(),
|
|
2324
|
+
args[1].asBool()
|
|
2325
|
+
);
|
|
1402
2326
|
return jsi::Value::undefined();
|
|
1403
2327
|
}
|
|
1404
2328
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setTranslucent(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1405
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
|
2329
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setTranslucent(
|
|
2330
|
+
rt,
|
|
2331
|
+
args[0].asBool()
|
|
2332
|
+
);
|
|
1406
2333
|
return jsi::Value::undefined();
|
|
1407
2334
|
}
|
|
1408
2335
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1409
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2336
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2337
|
+
rt,
|
|
2338
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt))
|
|
2339
|
+
);
|
|
1410
2340
|
return jsi::Value::undefined();
|
|
1411
2341
|
}
|
|
1412
2342
|
static jsi::Value __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1413
|
-
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2343
|
+
static_cast<NativeStatusBarManagerAndroidCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2344
|
+
rt,
|
|
2345
|
+
args[0].asBool()
|
|
2346
|
+
);
|
|
1414
2347
|
return jsi::Value::undefined();
|
|
1415
2348
|
}
|
|
1416
2349
|
|
|
@@ -1423,30 +2356,52 @@ NativeStatusBarManagerAndroidCxxSpecJSI::NativeStatusBarManagerAndroidCxxSpecJSI
|
|
|
1423
2356
|
methodMap_["setHidden"] = MethodMetadata {1, __hostFunction_NativeStatusBarManagerAndroidCxxSpecJSI_setHidden};
|
|
1424
2357
|
}
|
|
1425
2358
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1426
|
-
return static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2359
|
+
return static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2360
|
+
rt
|
|
2361
|
+
);
|
|
1427
2362
|
}
|
|
1428
2363
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_getHeight(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1429
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
|
2364
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->getHeight(
|
|
2365
|
+
rt,
|
|
2366
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2367
|
+
);
|
|
1430
2368
|
return jsi::Value::undefined();
|
|
1431
2369
|
}
|
|
1432
2370
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setNetworkActivityIndicatorVisible(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1433
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
|
2371
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setNetworkActivityIndicatorVisible(
|
|
2372
|
+
rt,
|
|
2373
|
+
args[0].asBool()
|
|
2374
|
+
);
|
|
1434
2375
|
return jsi::Value::undefined();
|
|
1435
2376
|
}
|
|
1436
2377
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1437
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2378
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->addListener(
|
|
2379
|
+
rt,
|
|
2380
|
+
args[0].asString(rt)
|
|
2381
|
+
);
|
|
1438
2382
|
return jsi::Value::undefined();
|
|
1439
2383
|
}
|
|
1440
2384
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1441
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2385
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2386
|
+
rt,
|
|
2387
|
+
args[0].asNumber()
|
|
2388
|
+
);
|
|
1442
2389
|
return jsi::Value::undefined();
|
|
1443
2390
|
}
|
|
1444
2391
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setStyle(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1445
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2392
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setStyle(
|
|
2393
|
+
rt,
|
|
2394
|
+
count <= 0 || args[0].isNull() || args[0].isUndefined() ? std::nullopt : std::make_optional(args[0].asString(rt)),
|
|
2395
|
+
args[1].asBool()
|
|
2396
|
+
);
|
|
1446
2397
|
return jsi::Value::undefined();
|
|
1447
2398
|
}
|
|
1448
2399
|
static jsi::Value __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1449
|
-
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2400
|
+
static_cast<NativeStatusBarManagerIOSCxxSpecJSI *>(&turboModule)->setHidden(
|
|
2401
|
+
rt,
|
|
2402
|
+
args[0].asBool(),
|
|
2403
|
+
args[1].asString(rt)
|
|
2404
|
+
);
|
|
1450
2405
|
return jsi::Value::undefined();
|
|
1451
2406
|
}
|
|
1452
2407
|
|
|
@@ -1461,18 +2416,36 @@ NativeStatusBarManagerIOSCxxSpecJSI::NativeStatusBarManagerIOSCxxSpecJSI(std::sh
|
|
|
1461
2416
|
methodMap_["setHidden"] = MethodMetadata {2, __hostFunction_NativeStatusBarManagerIOSCxxSpecJSI_setHidden};
|
|
1462
2417
|
}
|
|
1463
2418
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1464
|
-
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2419
|
+
return static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2420
|
+
rt
|
|
2421
|
+
);
|
|
1465
2422
|
}
|
|
1466
2423
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1467
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
|
2424
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->show(
|
|
2425
|
+
rt,
|
|
2426
|
+
args[0].asString(rt),
|
|
2427
|
+
args[1].asNumber()
|
|
2428
|
+
);
|
|
1468
2429
|
return jsi::Value::undefined();
|
|
1469
2430
|
}
|
|
1470
2431
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravity(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1471
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
|
2432
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravity(
|
|
2433
|
+
rt,
|
|
2434
|
+
args[0].asString(rt),
|
|
2435
|
+
args[1].asNumber(),
|
|
2436
|
+
args[2].asNumber()
|
|
2437
|
+
);
|
|
1472
2438
|
return jsi::Value::undefined();
|
|
1473
2439
|
}
|
|
1474
2440
|
static jsi::Value __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1475
|
-
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
|
2441
|
+
static_cast<NativeToastAndroidCxxSpecJSI *>(&turboModule)->showWithGravityAndOffset(
|
|
2442
|
+
rt,
|
|
2443
|
+
args[0].asString(rt),
|
|
2444
|
+
args[1].asNumber(),
|
|
2445
|
+
args[2].asNumber(),
|
|
2446
|
+
args[3].asNumber(),
|
|
2447
|
+
args[4].asNumber()
|
|
2448
|
+
);
|
|
1476
2449
|
return jsi::Value::undefined();
|
|
1477
2450
|
}
|
|
1478
2451
|
|
|
@@ -1484,11 +2457,21 @@ NativeToastAndroidCxxSpecJSI::NativeToastAndroidCxxSpecJSI(std::shared_ptr<CallI
|
|
|
1484
2457
|
methodMap_["showWithGravityAndOffset"] = MethodMetadata {5, __hostFunction_NativeToastAndroidCxxSpecJSI_showWithGravityAndOffset};
|
|
1485
2458
|
}
|
|
1486
2459
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_fetchSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1487
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2460
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->fetchSegment(
|
|
2461
|
+
rt,
|
|
2462
|
+
args[0].asNumber(),
|
|
2463
|
+
args[1].asObject(rt),
|
|
2464
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2465
|
+
);
|
|
1488
2466
|
return jsi::Value::undefined();
|
|
1489
2467
|
}
|
|
1490
2468
|
static jsi::Value __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1491
|
-
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2469
|
+
static_cast<NativeSegmentFetcherCxxSpecJSI *>(&turboModule)->getSegment(
|
|
2470
|
+
rt,
|
|
2471
|
+
args[0].asNumber(),
|
|
2472
|
+
args[1].asObject(rt),
|
|
2473
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2474
|
+
);
|
|
1492
2475
|
return jsi::Value::undefined();
|
|
1493
2476
|
}
|
|
1494
2477
|
|
|
@@ -1498,15 +2481,27 @@ NativeSegmentFetcherCxxSpecJSI::NativeSegmentFetcherCxxSpecJSI(std::shared_ptr<C
|
|
|
1498
2481
|
methodMap_["getSegment"] = MethodMetadata {3, __hostFunction_NativeSegmentFetcherCxxSpecJSI_getSegment};
|
|
1499
2482
|
}
|
|
1500
2483
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_createTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1501
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2484
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->createTimer(
|
|
2485
|
+
rt,
|
|
2486
|
+
args[0].asNumber(),
|
|
2487
|
+
args[1].asNumber(),
|
|
2488
|
+
args[2].asNumber(),
|
|
2489
|
+
args[3].asBool()
|
|
2490
|
+
);
|
|
1502
2491
|
return jsi::Value::undefined();
|
|
1503
2492
|
}
|
|
1504
2493
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_deleteTimer(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1505
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2494
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->deleteTimer(
|
|
2495
|
+
rt,
|
|
2496
|
+
args[0].asNumber()
|
|
2497
|
+
);
|
|
1506
2498
|
return jsi::Value::undefined();
|
|
1507
2499
|
}
|
|
1508
2500
|
static jsi::Value __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1509
|
-
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2501
|
+
static_cast<NativeTimingCxxSpecJSI *>(&turboModule)->setSendIdleEvents(
|
|
2502
|
+
rt,
|
|
2503
|
+
args[0].asBool()
|
|
2504
|
+
);
|
|
1510
2505
|
return jsi::Value::undefined();
|
|
1511
2506
|
}
|
|
1512
2507
|
|
|
@@ -1517,11 +2512,16 @@ NativeTimingCxxSpecJSI::NativeTimingCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1517
2512
|
methodMap_["setSendIdleEvents"] = MethodMetadata {1, __hostFunction_NativeTimingCxxSpecJSI_setSendIdleEvents};
|
|
1518
2513
|
}
|
|
1519
2514
|
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_startRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1520
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
|
2515
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->startRecordingFps(
|
|
2516
|
+
rt
|
|
2517
|
+
);
|
|
1521
2518
|
return jsi::Value::undefined();
|
|
1522
2519
|
}
|
|
1523
2520
|
static jsi::Value __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1524
|
-
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(
|
|
2521
|
+
static_cast<NativeAnimationsDebugModuleCxxSpecJSI *>(&turboModule)->stopRecordingFps(
|
|
2522
|
+
rt,
|
|
2523
|
+
args[0].asNumber()
|
|
2524
|
+
);
|
|
1525
2525
|
return jsi::Value::undefined();
|
|
1526
2526
|
}
|
|
1527
2527
|
|
|
@@ -1531,7 +2531,9 @@ NativeAnimationsDebugModuleCxxSpecJSI::NativeAnimationsDebugModuleCxxSpecJSI(std
|
|
|
1531
2531
|
methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleCxxSpecJSI_stopRecordingFps};
|
|
1532
2532
|
}
|
|
1533
2533
|
static jsi::Value __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1534
|
-
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
|
2534
|
+
static_cast<NativeDeviceEventManagerCxxSpecJSI *>(&turboModule)->invokeDefaultBackPressHandler(
|
|
2535
|
+
rt
|
|
2536
|
+
);
|
|
1535
2537
|
return jsi::Value::undefined();
|
|
1536
2538
|
}
|
|
1537
2539
|
|
|
@@ -1540,23 +2542,36 @@ NativeDeviceEventManagerCxxSpecJSI::NativeDeviceEventManagerCxxSpecJSI(std::shar
|
|
|
1540
2542
|
methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerCxxSpecJSI_invokeDefaultBackPressHandler};
|
|
1541
2543
|
}
|
|
1542
2544
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1543
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
|
2545
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->show(
|
|
2546
|
+
rt
|
|
2547
|
+
);
|
|
1544
2548
|
return jsi::Value::undefined();
|
|
1545
2549
|
}
|
|
1546
2550
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1547
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(
|
|
2551
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->reload(
|
|
2552
|
+
rt
|
|
2553
|
+
);
|
|
1548
2554
|
return jsi::Value::undefined();
|
|
1549
2555
|
}
|
|
1550
2556
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_debugRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1551
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(
|
|
2557
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->debugRemotely(
|
|
2558
|
+
rt,
|
|
2559
|
+
args[0].asBool()
|
|
2560
|
+
);
|
|
1552
2561
|
return jsi::Value::undefined();
|
|
1553
2562
|
}
|
|
1554
2563
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1555
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2564
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2565
|
+
rt,
|
|
2566
|
+
args[0].asBool()
|
|
2567
|
+
);
|
|
1556
2568
|
return jsi::Value::undefined();
|
|
1557
2569
|
}
|
|
1558
2570
|
static jsi::Value __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1559
|
-
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2571
|
+
static_cast<NativeDevMenuCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2572
|
+
rt,
|
|
2573
|
+
args[0].asBool()
|
|
2574
|
+
);
|
|
1560
2575
|
return jsi::Value::undefined();
|
|
1561
2576
|
}
|
|
1562
2577
|
|
|
@@ -1569,47 +2584,77 @@ NativeDevMenuCxxSpecJSI::NativeDevMenuCxxSpecJSI(std::shared_ptr<CallInvoker> js
|
|
|
1569
2584
|
methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuCxxSpecJSI_setHotLoadingEnabled};
|
|
1570
2585
|
}
|
|
1571
2586
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reload(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1572
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
|
2587
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reload(
|
|
2588
|
+
rt
|
|
2589
|
+
);
|
|
1573
2590
|
return jsi::Value::undefined();
|
|
1574
2591
|
}
|
|
1575
2592
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_reloadWithReason(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1576
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
2593
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->reloadWithReason(
|
|
2594
|
+
rt,
|
|
2595
|
+
args[0].asString(rt)
|
|
2596
|
+
);
|
|
1577
2597
|
return jsi::Value::undefined();
|
|
1578
2598
|
}
|
|
1579
2599
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_onFastRefresh(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1580
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(
|
|
2600
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->onFastRefresh(
|
|
2601
|
+
rt
|
|
2602
|
+
);
|
|
1581
2603
|
return jsi::Value::undefined();
|
|
1582
2604
|
}
|
|
1583
2605
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setHotLoadingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1584
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2606
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setHotLoadingEnabled(
|
|
2607
|
+
rt,
|
|
2608
|
+
args[0].asBool()
|
|
2609
|
+
);
|
|
1585
2610
|
return jsi::Value::undefined();
|
|
1586
2611
|
}
|
|
1587
2612
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsDebuggingRemotely(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1588
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(
|
|
2613
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsDebuggingRemotely(
|
|
2614
|
+
rt,
|
|
2615
|
+
args[0].asBool()
|
|
2616
|
+
);
|
|
1589
2617
|
return jsi::Value::undefined();
|
|
1590
2618
|
}
|
|
1591
2619
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setProfilingEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1592
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2620
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setProfilingEnabled(
|
|
2621
|
+
rt,
|
|
2622
|
+
args[0].asBool()
|
|
2623
|
+
);
|
|
1593
2624
|
return jsi::Value::undefined();
|
|
1594
2625
|
}
|
|
1595
2626
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_toggleElementInspector(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1596
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(
|
|
2627
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->toggleElementInspector(
|
|
2628
|
+
rt
|
|
2629
|
+
);
|
|
1597
2630
|
return jsi::Value::undefined();
|
|
1598
2631
|
}
|
|
1599
2632
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addMenuItem(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1600
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
2633
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addMenuItem(
|
|
2634
|
+
rt,
|
|
2635
|
+
args[0].asString(rt)
|
|
2636
|
+
);
|
|
1601
2637
|
return jsi::Value::undefined();
|
|
1602
2638
|
}
|
|
1603
2639
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_addListener(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1604
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
2640
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->addListener(
|
|
2641
|
+
rt,
|
|
2642
|
+
args[0].asString(rt)
|
|
2643
|
+
);
|
|
1605
2644
|
return jsi::Value::undefined();
|
|
1606
2645
|
}
|
|
1607
2646
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_removeListeners(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1608
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2647
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->removeListeners(
|
|
2648
|
+
rt,
|
|
2649
|
+
args[0].asNumber()
|
|
2650
|
+
);
|
|
1609
2651
|
return jsi::Value::undefined();
|
|
1610
2652
|
}
|
|
1611
2653
|
static jsi::Value __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1612
|
-
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
2654
|
+
static_cast<NativeDevSettingsCxxSpecJSI *>(&turboModule)->setIsShakeToShowDevMenuEnabled(
|
|
2655
|
+
rt,
|
|
2656
|
+
args[0].asBool()
|
|
2657
|
+
);
|
|
1613
2658
|
return jsi::Value::undefined();
|
|
1614
2659
|
}
|
|
1615
2660
|
|
|
@@ -1628,10 +2673,17 @@ NativeDevSettingsCxxSpecJSI::NativeDevSettingsCxxSpecJSI(std::shared_ptr<CallInv
|
|
|
1628
2673
|
methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsCxxSpecJSI_setIsShakeToShowDevMenuEnabled};
|
|
1629
2674
|
}
|
|
1630
2675
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1631
|
-
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2676
|
+
return static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2677
|
+
rt
|
|
2678
|
+
);
|
|
1632
2679
|
}
|
|
1633
2680
|
static jsi::Value __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1634
|
-
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
2681
|
+
static_cast<NativeDialogManagerAndroidCxxSpecJSI *>(&turboModule)->showAlert(
|
|
2682
|
+
rt,
|
|
2683
|
+
args[0].asObject(rt),
|
|
2684
|
+
args[1].asObject(rt).asFunction(rt),
|
|
2685
|
+
args[2].asObject(rt).asFunction(rt)
|
|
2686
|
+
);
|
|
1635
2687
|
return jsi::Value::undefined();
|
|
1636
2688
|
}
|
|
1637
2689
|
|
|
@@ -1641,11 +2693,15 @@ NativeDialogManagerAndroidCxxSpecJSI::NativeDialogManagerAndroidCxxSpecJSI(std::
|
|
|
1641
2693
|
methodMap_["showAlert"] = MethodMetadata {3, __hostFunction_NativeDialogManagerAndroidCxxSpecJSI_showAlert};
|
|
1642
2694
|
}
|
|
1643
2695
|
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_show(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1644
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(
|
|
2696
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->show(
|
|
2697
|
+
rt
|
|
2698
|
+
);
|
|
1645
2699
|
return jsi::Value::undefined();
|
|
1646
2700
|
}
|
|
1647
2701
|
static jsi::Value __hostFunction_NativeLogBoxCxxSpecJSI_hide(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1648
|
-
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(
|
|
2702
|
+
static_cast<NativeLogBoxCxxSpecJSI *>(&turboModule)->hide(
|
|
2703
|
+
rt
|
|
2704
|
+
);
|
|
1649
2705
|
return jsi::Value::undefined();
|
|
1650
2706
|
}
|
|
1651
2707
|
|
|
@@ -1655,11 +2711,17 @@ NativeLogBoxCxxSpecJSI::NativeLogBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1655
2711
|
methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxCxxSpecJSI_hide};
|
|
1656
2712
|
}
|
|
1657
2713
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_setExtraData(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1658
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2714
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->setExtraData(
|
|
2715
|
+
rt,
|
|
2716
|
+
args[0].asObject(rt),
|
|
2717
|
+
args[1].asString(rt)
|
|
2718
|
+
);
|
|
1659
2719
|
return jsi::Value::undefined();
|
|
1660
2720
|
}
|
|
1661
2721
|
static jsi::Value __hostFunction_NativeRedBoxCxxSpecJSI_dismiss(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1662
|
-
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(
|
|
2722
|
+
static_cast<NativeRedBoxCxxSpecJSI *>(&turboModule)->dismiss(
|
|
2723
|
+
rt
|
|
2724
|
+
);
|
|
1663
2725
|
return jsi::Value::undefined();
|
|
1664
2726
|
}
|
|
1665
2727
|
|
|
@@ -1669,7 +2731,9 @@ NativeRedBoxCxxSpecJSI::NativeRedBoxCxxSpecJSI(std::shared_ptr<CallInvoker> jsIn
|
|
|
1669
2731
|
methodMap_["dismiss"] = MethodMetadata {0, __hostFunction_NativeRedBoxCxxSpecJSI_dismiss};
|
|
1670
2732
|
}
|
|
1671
2733
|
static jsi::Value __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1672
|
-
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2734
|
+
return static_cast<NativeSourceCodeCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2735
|
+
rt
|
|
2736
|
+
);
|
|
1673
2737
|
}
|
|
1674
2738
|
|
|
1675
2739
|
NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1677,45 +2741,118 @@ NativeSourceCodeCxxSpecJSI::NativeSourceCodeCxxSpecJSI(std::shared_ptr<CallInvok
|
|
|
1677
2741
|
methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeSourceCodeCxxSpecJSI_getConstants};
|
|
1678
2742
|
}
|
|
1679
2743
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getConstants(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1680
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2744
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getConstants(
|
|
2745
|
+
rt
|
|
2746
|
+
);
|
|
1681
2747
|
}
|
|
1682
2748
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFunc(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1683
|
-
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFunc(
|
|
2749
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFunc(
|
|
2750
|
+
rt
|
|
2751
|
+
);
|
|
1684
2752
|
return jsi::Value::undefined();
|
|
1685
2753
|
}
|
|
1686
2754
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getBool(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1687
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
2755
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getBool(
|
|
2756
|
+
rt,
|
|
2757
|
+
args[0].asBool()
|
|
2758
|
+
);
|
|
1688
2759
|
}
|
|
1689
2760
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getEnum(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1690
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
2761
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getEnum(
|
|
2762
|
+
rt,
|
|
2763
|
+
args[0].asNumber()
|
|
2764
|
+
);
|
|
1691
2765
|
}
|
|
1692
2766
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getNumber(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1693
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2767
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getNumber(
|
|
2768
|
+
rt,
|
|
2769
|
+
args[0].asNumber()
|
|
2770
|
+
);
|
|
1694
2771
|
}
|
|
1695
2772
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getString(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1696
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2773
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getString(
|
|
2774
|
+
rt,
|
|
2775
|
+
args[0].asString(rt)
|
|
2776
|
+
);
|
|
1697
2777
|
}
|
|
1698
2778
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getArray(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1699
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2779
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getArray(
|
|
2780
|
+
rt,
|
|
2781
|
+
args[0].asObject(rt).asArray(rt)
|
|
2782
|
+
);
|
|
1700
2783
|
}
|
|
1701
2784
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1702
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2785
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObject(
|
|
2786
|
+
rt,
|
|
2787
|
+
args[0].asObject(rt)
|
|
2788
|
+
);
|
|
1703
2789
|
}
|
|
1704
2790
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getUnsafeObject(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1705
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2791
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getUnsafeObject(
|
|
2792
|
+
rt,
|
|
2793
|
+
args[0].asObject(rt)
|
|
2794
|
+
);
|
|
1706
2795
|
}
|
|
1707
2796
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getRootTag(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1708
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2797
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getRootTag(
|
|
2798
|
+
rt,
|
|
2799
|
+
args[0].getNumber()
|
|
2800
|
+
);
|
|
1709
2801
|
}
|
|
1710
2802
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1711
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2803
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValue(
|
|
2804
|
+
rt,
|
|
2805
|
+
args[0].asNumber(),
|
|
2806
|
+
args[1].asString(rt),
|
|
2807
|
+
args[2].asObject(rt)
|
|
2808
|
+
);
|
|
1712
2809
|
}
|
|
1713
2810
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1714
|
-
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2811
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithCallback(
|
|
2812
|
+
rt,
|
|
2813
|
+
args[0].asObject(rt).asFunction(rt)
|
|
2814
|
+
);
|
|
1715
2815
|
return jsi::Value::undefined();
|
|
1716
2816
|
}
|
|
1717
2817
|
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithPromise(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
1718
|
-
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2818
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getValueWithPromise(
|
|
2819
|
+
rt,
|
|
2820
|
+
args[0].asBool()
|
|
2821
|
+
);
|
|
2822
|
+
}
|
|
2823
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2824
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFuncThrows(
|
|
2825
|
+
rt
|
|
2826
|
+
);
|
|
2827
|
+
return jsi::Value::undefined();
|
|
2828
|
+
}
|
|
2829
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2830
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectThrows(
|
|
2831
|
+
rt,
|
|
2832
|
+
args[0].asObject(rt)
|
|
2833
|
+
);
|
|
2834
|
+
}
|
|
2835
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseThrows(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2836
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->promiseThrows(
|
|
2837
|
+
rt
|
|
2838
|
+
);
|
|
2839
|
+
}
|
|
2840
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_voidFuncAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2841
|
+
static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->voidFuncAssert(
|
|
2842
|
+
rt
|
|
2843
|
+
);
|
|
2844
|
+
return jsi::Value::undefined();
|
|
2845
|
+
}
|
|
2846
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getObjectAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2847
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->getObjectAssert(
|
|
2848
|
+
rt,
|
|
2849
|
+
args[0].asObject(rt)
|
|
2850
|
+
);
|
|
2851
|
+
}
|
|
2852
|
+
static jsi::Value __hostFunction_NativeSampleTurboModuleCxxSpecJSI_promiseAssert(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
|
|
2853
|
+
return static_cast<NativeSampleTurboModuleCxxSpecJSI *>(&turboModule)->promiseAssert(
|
|
2854
|
+
rt
|
|
2855
|
+
);
|
|
1719
2856
|
}
|
|
1720
2857
|
|
|
1721
2858
|
NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
|
@@ -1733,6 +2870,12 @@ NativeSampleTurboModuleCxxSpecJSI::NativeSampleTurboModuleCxxSpecJSI(std::shared
|
|
|
1733
2870
|
methodMap_["getValue"] = MethodMetadata {3, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValue};
|
|
1734
2871
|
methodMap_["getValueWithCallback"] = MethodMetadata {1, __hostFunction_NativeSampleTurboModuleCxxSpecJSI_getValueWithCallback};
|
|
1735
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};
|
|
1736
2879
|
}
|
|
1737
2880
|
|
|
1738
2881
|
|