@office-iss/react-native-win32 0.0.0-canary.25 → 0.0.0-canary.250
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/.eslintignore +13 -0
- package/.eslintrc.js +22 -0
- package/.flowconfig +63 -35
- package/CHANGELOG.json +5087 -1
- package/CHANGELOG.md +2033 -4
- package/IntegrationTests/AccessibilityManagerTest.js +8 -11
- package/IntegrationTests/AppEventsTest.js +3 -3
- package/IntegrationTests/GlobalEvalWithSourceUrlTest.js +12 -5
- package/IntegrationTests/ImageCachePolicyTest.js +5 -5
- package/IntegrationTests/ImageSnapshotTest.js +2 -2
- package/IntegrationTests/IntegrationTestHarnessTest.js +9 -6
- package/IntegrationTests/IntegrationTestsApp.js +16 -21
- package/IntegrationTests/LayoutEventsTest.js +14 -12
- package/IntegrationTests/LoggingTestModule.js +10 -12
- package/IntegrationTests/PromiseTest.js +2 -1
- package/IntegrationTests/SimpleSnapshotTest.js +2 -4
- package/IntegrationTests/SyncMethodTest.js +2 -2
- package/IntegrationTests/TimersTest.js +20 -5
- package/IntegrationTests/WebSocketTest.js +5 -5
- package/IntegrationTests/launchWebSocketServer.sh +12 -0
- package/IntegrationTests/websocket_integration_test_server.js +3 -3
- package/Libraries/ActionSheetIOS/ActionSheetIOS.d.ts +86 -0
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +38 -11
- package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +5 -43
- package/Libraries/Alert/Alert.d.ts +91 -0
- package/Libraries/Alert/Alert.js +28 -10
- package/Libraries/Alert/Alert.win32.js +8 -6
- package/Libraries/Alert/NativeAlertManager.js +5 -26
- package/Libraries/Alert/RCTAlertManager.android.js +2 -4
- package/Libraries/Alert/RCTAlertManager.ios.js +2 -3
- package/Libraries/Animated/Animated.d.ts +626 -0
- package/Libraries/Animated/Animated.js +48 -0
- package/Libraries/Animated/AnimatedEvent.js +256 -0
- package/Libraries/Animated/AnimatedImplementation.js +752 -0
- package/Libraries/Animated/AnimatedMock.js +195 -0
- package/Libraries/Animated/AnimatedPlatformConfig.js +13 -0
- package/Libraries/Animated/AnimatedWeb.js +26 -0
- package/Libraries/Animated/Easing.d.ts +37 -0
- package/Libraries/Animated/Easing.js +250 -0
- package/Libraries/Animated/NativeAnimatedHelper.js +615 -0
- package/Libraries/Animated/NativeAnimatedHelper.win32.js +617 -0
- package/Libraries/Animated/NativeAnimatedModule.js +13 -0
- package/Libraries/Animated/NativeAnimatedTurboModule.js +13 -0
- package/Libraries/Animated/SpringConfig.js +98 -0
- package/Libraries/Animated/animations/Animation.js +126 -0
- package/Libraries/Animated/animations/DecayAnimation.js +133 -0
- package/Libraries/Animated/animations/SpringAnimation.js +378 -0
- package/Libraries/Animated/animations/TimingAnimation.js +180 -0
- package/Libraries/Animated/bezier.js +164 -0
- package/Libraries/Animated/components/AnimatedFlatList.js +20 -0
- package/Libraries/Animated/components/AnimatedImage.js +22 -0
- package/Libraries/Animated/components/AnimatedScrollView.js +136 -0
- package/Libraries/Animated/components/AnimatedSectionList.js +20 -0
- package/Libraries/Animated/components/AnimatedText.js +22 -0
- package/Libraries/Animated/components/AnimatedView.js +20 -0
- package/Libraries/Animated/createAnimatedComponent.js +73 -0
- package/Libraries/Animated/nodes/AnimatedAddition.js +64 -0
- package/Libraries/Animated/nodes/AnimatedColor.js +320 -0
- package/Libraries/Animated/nodes/AnimatedDiffClamp.js +72 -0
- package/Libraries/Animated/nodes/AnimatedDivision.js +80 -0
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +415 -0
- package/Libraries/Animated/nodes/AnimatedModulo.js +63 -0
- package/Libraries/Animated/nodes/AnimatedMultiplication.js +63 -0
- package/Libraries/Animated/nodes/AnimatedNode.js +197 -0
- package/Libraries/Animated/nodes/AnimatedObject.js +146 -0
- package/Libraries/Animated/nodes/AnimatedProps.js +186 -0
- package/Libraries/Animated/nodes/AnimatedStyle.js +130 -0
- package/Libraries/Animated/nodes/AnimatedSubtraction.js +64 -0
- package/Libraries/Animated/nodes/AnimatedTracking.js +100 -0
- package/Libraries/Animated/nodes/AnimatedTransform.js +130 -0
- package/Libraries/Animated/nodes/AnimatedValue.js +302 -0
- package/Libraries/Animated/nodes/AnimatedValueXY.js +236 -0
- package/Libraries/Animated/nodes/AnimatedWithChildren.js +88 -0
- package/Libraries/Animated/shouldUseTurboAnimatedModule.js +17 -0
- package/Libraries/Animated/useAnimatedProps.js +248 -0
- package/Libraries/Animated/useAnimatedValue.d.ts +15 -0
- package/Libraries/Animated/useAnimatedValue.js +25 -0
- package/Libraries/AppState/AppState.d.ts +58 -0
- package/Libraries/AppState/AppState.js +91 -144
- package/Libraries/AppState/NativeAppState.js +5 -22
- package/Libraries/BatchedBridge/BatchedBridge.js +2 -2
- package/Libraries/BatchedBridge/MessageQueue.js +136 -114
- package/Libraries/BatchedBridge/NativeModules.d.ts +25 -0
- package/Libraries/BatchedBridge/NativeModules.js +34 -21
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js +1 -1
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js +3 -3
- package/Libraries/Blob/Blob.js +20 -3
- package/Libraries/Blob/BlobManager.js +7 -10
- package/Libraries/Blob/BlobRegistry.js +15 -10
- package/Libraries/Blob/BlobTypes.js +1 -1
- package/Libraries/Blob/File.js +3 -4
- package/Libraries/Blob/FileReader.js +35 -15
- package/Libraries/Blob/NativeBlobModule.js +5 -18
- package/Libraries/Blob/NativeFileReaderModule.js +5 -15
- package/Libraries/Blob/URL.js +61 -50
- package/Libraries/Blob/__mocks__/BlobModule.js +1 -1
- package/Libraries/Blob/__mocks__/FileReaderModule.js +1 -1
- package/Libraries/BugReporting/BugReporting.js +8 -9
- package/Libraries/BugReporting/NativeBugReporting.js +5 -12
- package/Libraries/BugReporting/dumpReactTree.js +1 -1
- package/Libraries/BugReporting/getReactData.js +17 -8
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +161 -0
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +421 -0
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +391 -95
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.js +5 -19
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfoWin32.js +11 -0
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityManager.js +5 -51
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.android.js +36 -0
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.ios.js +26 -0
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.win32.js +36 -0
- package/Libraries/Components/ActivityIndicator/ActivityIndicator.d.ts +86 -0
- package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +73 -48
- package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +4 -47
- package/Libraries/Components/Button/ButtonWin32.Props.d.ts +36 -36
- package/Libraries/Components/Button/ButtonWin32.Props.js +3 -3
- package/Libraries/Components/Button/ButtonWin32.Props.js.map +1 -0
- package/Libraries/Components/Button/ButtonWin32.d.ts +19 -19
- package/Libraries/Components/Button/ButtonWin32.js +83 -103
- package/Libraries/Components/Button/ButtonWin32.js.map +1 -0
- package/Libraries/Components/Button.d.ts +42 -0
- package/Libraries/Components/Button.js +323 -125
- package/Libraries/Components/Button.win32.js +455 -0
- package/Libraries/Components/Clipboard/Clipboard.d.ts +28 -0
- package/Libraries/Components/Clipboard/Clipboard.js +3 -5
- package/Libraries/Components/Clipboard/NativeClipboard.js +5 -14
- package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +4 -116
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +32 -32
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +141 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +1 -1
- package/Libraries/Components/EnterString.win32.d.ts +12 -12
- package/Libraries/Components/EnterString.win32.js +82 -114
- package/Libraries/Components/EnterString.win32.js.map +1 -0
- package/Libraries/Components/Keyboard/Keyboard.d.ts +109 -0
- package/Libraries/Components/Keyboard/Keyboard.js +81 -71
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.d.ts +46 -0
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +99 -56
- package/Libraries/Components/Keyboard/NativeKeyboardObserver.js +5 -13
- package/Libraries/Components/Pressable/Pressable.d.ts +167 -0
- package/Libraries/Components/Pressable/Pressable.js +165 -39
- package/Libraries/Components/Pressable/Pressable.win32.js +430 -0
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +38 -23
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +24 -21
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +83 -0
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +1 -1
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +5 -27
- package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +4 -77
- package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +4 -56
- package/Libraries/Components/RefreshControl/RefreshControl.d.ts +87 -0
- package/Libraries/Components/RefreshControl/RefreshControl.js +16 -38
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +6 -9
- package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +4 -20
- package/Libraries/Components/SafeAreaView/SafeAreaView.d.ts +24 -0
- package/Libraries/Components/SafeAreaView/SafeAreaView.js +12 -39
- package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +12 -41
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +5 -32
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +39 -21
- package/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js +13 -20
- package/Libraries/Components/ScrollView/ScrollView.d.ts +910 -0
- package/Libraries/Components/ScrollView/ScrollView.js +1180 -427
- package/Libraries/Components/ScrollView/ScrollViewCommands.js +4 -4
- package/Libraries/Components/ScrollView/ScrollViewContext.js +22 -0
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +167 -18
- package/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js +11 -17
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +207 -62
- package/Libraries/Components/ScrollView/processDecelerationRate.js +2 -4
- package/Libraries/Components/Sound/NativeSoundManager.js +5 -15
- package/Libraries/Components/Sound/SoundManager.js +3 -4
- package/Libraries/Components/StaticRenderer.js +1 -1
- package/Libraries/Components/StatusBar/NativeStatusBarManagerAndroid.js +5 -27
- package/Libraries/Components/StatusBar/NativeStatusBarManagerIOS.js +5 -35
- package/Libraries/Components/StatusBar/StatusBar.d.ts +138 -0
- package/Libraries/Components/StatusBar/StatusBar.js +37 -59
- package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +5 -56
- package/Libraries/Components/Switch/Switch.d.ts +115 -0
- package/Libraries/Components/Switch/Switch.js +160 -133
- package/Libraries/Components/Switch/SwitchNativeComponent.js +5 -50
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +243 -58
- package/Libraries/Components/TextInput/InputAccessoryView.d.ts +34 -0
- package/Libraries/Components/TextInput/InputAccessoryView.js +20 -24
- package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +5 -18
- package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +26 -31
- package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +18 -38
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +161 -0
- package/Libraries/Components/TextInput/Tests/TextInputTest.d.ts +8 -8
- package/Libraries/Components/TextInput/Tests/TextInputTest.js +128 -126
- package/Libraries/Components/TextInput/Tests/TextInputTest.js.map +1 -0
- package/Libraries/Components/TextInput/TextInput.d.ts +973 -0
- package/Libraries/Components/TextInput/TextInput.flow.js +1092 -0
- package/Libraries/Components/TextInput/TextInput.js +930 -395
- package/Libraries/Components/TextInput/TextInput.win32.js +1877 -179
- package/Libraries/Components/TextInput/TextInputNativeCommands.js +29 -0
- package/Libraries/Components/TextInput/TextInputState.js +33 -10
- package/Libraries/Components/TextInput/TextInputState.win32.js +45 -17
- package/Libraries/Components/TextInput/Win32TextInputNativeComponent.js +23 -0
- package/Libraries/Components/ToastAndroid/NativeToastAndroid.js +5 -31
- package/Libraries/Components/ToastAndroid/ToastAndroid.android.js +11 -10
- package/Libraries/Components/ToastAndroid/ToastAndroid.d.ts +47 -0
- package/Libraries/Components/ToastAndroid/ToastAndroid.js +45 -0
- package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +16 -10
- package/Libraries/Components/Touchable/BoundingDimensions.js +4 -5
- package/Libraries/Components/Touchable/PooledClass.js +26 -15
- package/Libraries/Components/Touchable/Position.js +3 -4
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.d.ts +8 -8
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +344 -381
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -0
- package/Libraries/Components/Touchable/Touchable.d.ts +90 -0
- package/Libraries/Components/Touchable/Touchable.js +118 -133
- package/Libraries/Components/Touchable/Touchable.win32.js +974 -0
- package/Libraries/Components/Touchable/TouchableBounce.js +55 -54
- package/Libraries/Components/Touchable/TouchableHighlight.d.ts +62 -0
- package/Libraries/Components/Touchable/TouchableHighlight.js +62 -54
- package/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +119 -0
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +86 -67
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +99 -51
- package/Libraries/Components/Touchable/TouchableOpacity.d.ts +81 -0
- package/Libraries/Components/Touchable/TouchableOpacity.js +91 -57
- package/Libraries/Components/Touchable/TouchableWin32.Props.d.ts +37 -34
- package/Libraries/Components/Touchable/TouchableWin32.Props.js +3 -3
- package/Libraries/Components/Touchable/TouchableWin32.Props.js.map +1 -0
- package/Libraries/Components/Touchable/TouchableWin32.Types.d.ts +114 -114
- package/Libraries/Components/Touchable/TouchableWin32.Types.js +3 -3
- package/Libraries/Components/Touchable/TouchableWin32.Types.js.map +1 -0
- package/Libraries/Components/Touchable/TouchableWin32.d.ts +91 -91
- package/Libraries/Components/Touchable/TouchableWin32.js +507 -529
- package/Libraries/Components/Touchable/TouchableWin32.js.map +1 -0
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.d.ts +151 -0
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +146 -107
- package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +4 -19
- package/Libraries/Components/UnimplementedViews/UnimplementedView.js +3 -4
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +173 -69
- package/Libraries/Components/View/ReactNativeViewAttributes.js +5 -3
- package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +35 -13
- package/Libraries/Components/View/View.d.ts +29 -0
- package/Libraries/Components/View/View.js +105 -13
- package/Libraries/Components/View/View.win32.js +276 -0
- package/Libraries/Components/View/ViewAccessibility.d.ts +551 -0
- package/Libraries/Components/View/ViewAccessibility.js +84 -3
- package/Libraries/Components/View/ViewAccessibility.win32.js +180 -0
- package/Libraries/Components/View/ViewNativeComponent.js +96 -57
- package/Libraries/Components/View/ViewPropTypes.d.ts +354 -0
- package/Libraries/Components/View/ViewPropTypes.js +216 -66
- package/Libraries/Components/View/ViewPropTypes.win32.js +729 -0
- package/Libraries/Components/View/ViewWin32.d.ts +30 -12
- package/Libraries/Components/View/ViewWin32.js +129 -80
- package/Libraries/Core/Devtools/getDevServer.js +9 -8
- package/Libraries/Core/Devtools/loadBundleFromServer.js +152 -0
- package/Libraries/Core/Devtools/loadBundleFromServer.win32.js +153 -0
- package/Libraries/Core/Devtools/openFileInEditor.js +6 -2
- package/Libraries/Core/Devtools/openURLInBrowser.js +3 -2
- package/Libraries/Core/Devtools/parseErrorStack.js +14 -23
- package/Libraries/Core/Devtools/parseHermesStack.js +71 -44
- package/Libraries/Core/Devtools/symbolicateStackTrace.js +13 -58
- package/Libraries/Core/ErrorHandlers.js +116 -0
- package/Libraries/Core/ExceptionsManager.js +91 -98
- package/Libraries/Core/ExtendedError.js +33 -0
- package/Libraries/Core/InitializeCore.js +6 -4
- package/Libraries/Core/NativeExceptionsManager.js +5 -100
- package/Libraries/Core/RawEventEmitter.js +39 -0
- package/Libraries/Core/ReactFiberErrorDialog.js +45 -39
- package/Libraries/Core/ReactNativeVersion.js +13 -7
- package/Libraries/Core/ReactNativeVersionCheck.js +11 -8
- package/Libraries/Core/ReactNativeVersionCheck.win32.js +11 -8
- package/Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js +5 -21
- package/Libraries/Core/Timers/JSTimers.js +94 -120
- package/Libraries/Core/Timers/NativeTiming.js +5 -19
- package/Libraries/Core/Timers/immediateShim.js +68 -0
- package/Libraries/Core/Timers/queueMicrotask.js +41 -0
- package/Libraries/Core/__mocks__/ErrorUtils.js +1 -1
- package/Libraries/Core/__mocks__/NativeExceptionsManager.js +20 -0
- package/Libraries/Core/checkNativeVersion.js +1 -1
- package/Libraries/Core/polyfillPromise.js +19 -3
- package/Libraries/Core/registerCallableModule.d.ts +16 -0
- package/Libraries/Core/registerCallableModule.js +42 -0
- package/Libraries/Core/setUpAlert.js +2 -2
- package/Libraries/Core/setUpBatchedBridge.js +24 -11
- package/Libraries/Core/setUpDeveloperTools.js +59 -60
- package/Libraries/Core/setUpErrorHandling.js +2 -2
- package/Libraries/Core/setUpGlobals.js +7 -6
- package/Libraries/Core/setUpIntersectionObserver.js +16 -0
- package/Libraries/Core/setUpMutationObserver.js +16 -0
- package/Libraries/Core/setUpNavigator.js +8 -7
- package/Libraries/Core/setUpPerformance.js +31 -0
- package/Libraries/Core/setUpPerformanceObserver.js +18 -0
- package/Libraries/Core/setUpReactDevTools.js +93 -10
- package/Libraries/Core/setUpReactRefresh.js +4 -2
- package/Libraries/Core/setUpRegeneratorRuntime.js +28 -9
- package/Libraries/Core/setUpSegmentFetcher.js +8 -47
- package/Libraries/Core/setUpTimers.js +82 -8
- package/Libraries/Core/setUpXHR.js +5 -5
- package/Libraries/Debugging/DebuggingOverlay.js +111 -0
- package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +13 -0
- package/Libraries/Debugging/DebuggingOverlayRegistry.js +513 -0
- package/Libraries/Debugging/useSubscribeToDebuggingOverlayRegistry.js +32 -0
- package/Libraries/DevToolsSettings/DevToolsSettingsManager.android.js +35 -0
- package/Libraries/DevToolsSettings/DevToolsSettingsManager.d.ts +20 -0
- package/Libraries/DevToolsSettings/DevToolsSettingsManager.ios.js +49 -0
- package/Libraries/DevToolsSettings/DevToolsSettingsManager.win32.js +35 -0
- package/Libraries/DevToolsSettings/NativeDevToolsSettingsManager.js +13 -0
- package/Libraries/EventEmitter/NativeEventEmitter.d.ts +63 -0
- package/Libraries/EventEmitter/NativeEventEmitter.js +92 -40
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.d.ts +29 -0
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +27 -68
- package/Libraries/EventEmitter/RCTEventEmitter.js +6 -2
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.d.ts +32 -0
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +2 -4
- package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +34 -11
- package/Libraries/Events/CustomEvent.js +32 -0
- package/Libraries/Events/EventPolyfill.js +239 -0
- package/Libraries/HeapCapture/HeapCapture.js +3 -5
- package/Libraries/HeapCapture/NativeJSCHeapCapture.js +5 -12
- package/Libraries/Image/AssetRegistry.js +2 -27
- package/Libraries/Image/AssetSourceResolver.js +26 -38
- package/Libraries/Image/AssetUtils.js +47 -0
- package/Libraries/Image/Image.android.js +213 -271
- package/Libraries/Image/Image.d.ts +382 -0
- package/Libraries/Image/Image.ios.js +156 -102
- package/Libraries/Image/Image.win32.js +174 -99
- package/Libraries/Image/ImageAnalyticsTagContext.js +22 -0
- package/Libraries/Image/ImageBackground.js +38 -12
- package/Libraries/Image/ImageInjection.js +87 -0
- package/Libraries/Image/ImageProps.js +139 -25
- package/Libraries/Image/ImageResizeMode.d.ts +49 -0
- package/Libraries/Image/ImageResizeMode.js +1 -1
- package/Libraries/Image/ImageSource.d.ts +76 -0
- package/Libraries/Image/ImageSource.js +73 -21
- package/Libraries/Image/ImageSourceUtils.js +80 -0
- package/Libraries/Image/ImageTypes.d.ts +25 -25
- package/Libraries/Image/ImageTypes.flow.js +76 -0
- package/Libraries/Image/ImageTypes.js +8 -8
- package/Libraries/Image/ImageTypes.js.map +1 -0
- package/Libraries/Image/ImageUtils.js +22 -0
- package/Libraries/Image/ImageViewNativeComponent.js +143 -29
- package/Libraries/Image/NativeImageEditor.js +13 -0
- package/Libraries/Image/NativeImageLoaderAndroid.js +5 -32
- package/Libraries/Image/NativeImageLoaderIOS.js +5 -24
- package/Libraries/Image/NativeImageLoaderWin32.js +5 -29
- package/Libraries/Image/NativeImageStoreAndroid.js +13 -0
- package/Libraries/Image/NativeImageStoreIOS.js +13 -0
- package/Libraries/Image/RelativeImageStub.js +2 -2
- package/Libraries/Image/Tests/ImageWin32Test.d.ts +8 -8
- package/Libraries/Image/Tests/ImageWin32Test.js +22 -19
- package/Libraries/Image/Tests/ImageWin32Test.js.map +1 -0
- package/Libraries/Image/TextInlineImageNativeComponent.js +38 -7
- package/Libraries/Image/assetPaths.js +36 -0
- package/Libraries/Image/nativeImageSource.js +4 -6
- package/Libraries/Image/resolveAssetSource.js +65 -31
- package/Libraries/Image/resolveAssetSource.win32.js +18 -6
- package/Libraries/Inspector/BorderBox.js +2 -2
- package/Libraries/Inspector/BoxInspector.js +4 -5
- package/Libraries/Inspector/ElementBox.js +15 -10
- package/Libraries/Inspector/ElementProperties.js +34 -61
- package/Libraries/Inspector/Inspector.js +150 -258
- package/Libraries/Inspector/Inspector.win32.js +154 -262
- package/Libraries/Inspector/InspectorOverlay.js +28 -53
- package/Libraries/Inspector/InspectorOverlay.win32.js +31 -54
- package/Libraries/Inspector/InspectorPanel.js +15 -27
- package/Libraries/Inspector/NetworkOverlay.js +24 -18
- package/Libraries/Inspector/PerformanceOverlay.js +5 -5
- package/Libraries/Inspector/ReactDevToolsOverlay.js +171 -0
- package/Libraries/Inspector/StyleInspector.js +3 -3
- package/Libraries/Inspector/getInspectorDataForViewAtPoint.js +83 -0
- package/Libraries/Inspector/resolveBoxStyle.js +1 -1
- package/Libraries/Interaction/FrameRateLogger.js +10 -22
- package/Libraries/Interaction/InteractionManager.d.ts +74 -0
- package/Libraries/Interaction/InteractionManager.js +29 -40
- package/Libraries/Interaction/JSEventLoopWatchdog.js +10 -15
- package/Libraries/Interaction/NativeFrameRateLogger.js +5 -16
- package/Libraries/Interaction/PanResponder.d.ts +202 -0
- package/Libraries/Interaction/PanResponder.js +26 -28
- package/Libraries/Interaction/TaskQueue.js +14 -16
- package/Libraries/Interaction/TouchHistoryMath.js +12 -12
- package/Libraries/IntersectionObserver/IntersectionObserver.js +252 -0
- package/Libraries/IntersectionObserver/IntersectionObserverEntry.js +141 -0
- package/Libraries/IntersectionObserver/IntersectionObserverManager.js +279 -0
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +13 -0
- package/Libraries/IntersectionObserver/__mocks__/NativeIntersectionObserver.js +172 -0
- package/Libraries/JSInspector/InspectorAgent.js +4 -4
- package/Libraries/JSInspector/JSInspector.js +2 -5
- package/Libraries/JSInspector/NetworkAgent.js +10 -15
- package/Libraries/LayoutAnimation/LayoutAnimation.d.ts +84 -0
- package/Libraries/LayoutAnimation/LayoutAnimation.js +86 -37
- package/Libraries/Linking/Linking.d.ts +61 -0
- package/Libraries/Linking/Linking.js +50 -41
- package/Libraries/Linking/NativeIntentAndroid.js +13 -0
- package/Libraries/Linking/NativeLinkingManager.js +13 -0
- package/Libraries/Lists/FillRateHelper.js +6 -232
- package/Libraries/Lists/FlatList.d.ts +245 -0
- package/Libraries/Lists/FlatList.js +194 -127
- package/Libraries/Lists/SectionList.d.ts +267 -0
- package/Libraries/Lists/SectionList.js +36 -31
- package/Libraries/Lists/SectionListModern.js +249 -0
- package/Libraries/Lists/ViewabilityHelper.js +10 -327
- package/Libraries/Lists/VirtualizeUtils.js +6 -235
- package/Libraries/Lists/VirtualizedList.js +10 -2224
- package/Libraries/Lists/VirtualizedListContext.js +18 -0
- package/Libraries/Lists/VirtualizedSectionList.js +9 -565
- package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +2 -1
- package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +8 -8
- package/Libraries/LogBox/Data/LogBoxData.js +42 -67
- package/Libraries/LogBox/Data/LogBoxLog.js +120 -10
- package/Libraries/LogBox/Data/LogBoxSymbolication.js +10 -9
- package/Libraries/LogBox/Data/parseLogBoxLog.js +266 -74
- package/Libraries/LogBox/LogBox.d.ts +28 -0
- package/Libraries/LogBox/LogBox.js +135 -80
- package/Libraries/LogBox/LogBoxInspectorContainer.js +6 -6
- package/Libraries/LogBox/LogBoxNotificationContainer.js +3 -5
- package/Libraries/LogBox/UI/AnsiHighlight.js +17 -8
- package/Libraries/LogBox/UI/LogBoxButton.js +6 -7
- package/Libraries/LogBox/UI/LogBoxImages/alert-triangle.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/chevron-left.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/chevron-right.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/close.png +0 -0
- package/Libraries/LogBox/UI/LogBoxImages/loader.png +0 -0
- package/Libraries/LogBox/UI/LogBoxInspector.js +12 -14
- package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +12 -10
- package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.win32.js +168 -0
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +27 -35
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -9
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +177 -0
- package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +6 -7
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +16 -14
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.win32.js +196 -0
- package/Libraries/LogBox/UI/LogBoxInspectorSection.js +3 -5
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +6 -10
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +8 -10
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js +118 -0
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +19 -11
- package/Libraries/LogBox/UI/LogBoxMessage.js +100 -19
- package/Libraries/LogBox/UI/LogBoxNotification.js +15 -14
- package/Libraries/LogBox/UI/LogBoxStyle.js +1 -3
- package/Libraries/LogBox/UI/LogBoxStyle.win32.js +65 -0
- package/Libraries/Modal/Modal.d.ts +104 -0
- package/Libraries/Modal/Modal.js +140 -72
- package/Libraries/Modal/ModalInjection.js +15 -0
- package/Libraries/Modal/NativeModalManager.js +5 -14
- package/Libraries/Modal/RCTModalHostViewNativeComponent.js +4 -117
- package/Libraries/MutationObserver/MutationObserver.js +184 -0
- package/Libraries/MutationObserver/MutationObserverManager.js +218 -0
- package/Libraries/MutationObserver/MutationRecord.js +84 -0
- package/Libraries/MutationObserver/NativeMutationObserver.js +13 -0
- package/Libraries/MutationObserver/__mocks__/NativeMutationObserver.js +327 -0
- package/Libraries/NativeComponent/BaseViewConfig.android.js +344 -0
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +406 -0
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +407 -0
- package/Libraries/NativeComponent/NativeComponentRegistry.js +164 -0
- package/Libraries/NativeComponent/NativeComponentRegistryUnstable.js +30 -0
- package/Libraries/NativeComponent/PlatformBaseViewConfig.js +25 -0
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +166 -0
- package/Libraries/NativeComponent/ViewConfig.js +52 -0
- package/Libraries/NativeComponent/ViewConfigIgnore.js +51 -0
- package/Libraries/NativeModules/specs/NativeDevMenu.js +5 -16
- package/Libraries/NativeModules/specs/NativeDevSettings.js +5 -26
- package/Libraries/NativeModules/specs/NativeDeviceEventManager.js +5 -12
- package/Libraries/NativeModules/specs/NativeDialogManagerAndroid.js +5 -41
- package/Libraries/NativeModules/specs/NativeLogBox.js +5 -13
- package/Libraries/NativeModules/specs/NativeRedBox.js +5 -13
- package/Libraries/NativeModules/specs/NativeSourceCode.js +5 -14
- package/Libraries/Network/FormData.js +13 -5
- package/Libraries/Network/NativeNetworkingAndroid.js +5 -30
- package/Libraries/Network/NativeNetworkingIOS.js +5 -30
- package/Libraries/Network/RCTNetworking.android.js +16 -12
- package/Libraries/Network/RCTNetworking.ios.js +67 -18
- package/Libraries/Network/RCTNetworking.win32.js +84 -68
- package/Libraries/Network/XHRInterceptor.js +6 -7
- package/Libraries/Network/XMLHttpRequest.js +77 -28
- package/Libraries/Network/convertRequestBody.js +4 -4
- package/Libraries/Network/fetch.js +2 -1
- package/Libraries/NewAppScreen/components/Colors.js +2 -3
- package/Libraries/NewAppScreen/components/DebugInstructions.js +9 -6
- package/Libraries/NewAppScreen/components/Header.js +38 -16
- package/Libraries/NewAppScreen/components/HermesBadge.js +53 -0
- package/Libraries/NewAppScreen/components/LearnMoreLinks.js +52 -27
- package/Libraries/NewAppScreen/components/ReloadInstructions.js +5 -2
- package/Libraries/NewAppScreen/components/logo.png +0 -0
- package/Libraries/NewAppScreen/index.js +12 -6
- package/Libraries/Performance/NativeJSCSamplingProfiler.js +5 -12
- package/Libraries/Performance/SamplingProfiler.js +5 -5
- package/Libraries/Performance/Systrace.d.ts +66 -0
- package/Libraries/Performance/Systrace.js +116 -171
- package/Libraries/PermissionsAndroid/NativePermissionsAndroid.js +5 -52
- package/Libraries/PermissionsAndroid/PermissionsAndroid.d.ts +116 -0
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +60 -23
- package/Libraries/PersonaCoin/PersonaCoin.d.ts +3 -3
- package/Libraries/PersonaCoin/PersonaCoin.js +15 -22
- package/Libraries/PersonaCoin/PersonaCoin.js.map +1 -0
- package/Libraries/PersonaCoin/PersonaCoinPropTypes.d.ts +2 -2
- package/Libraries/PersonaCoin/PersonaCoinPropTypes.js +20 -20
- package/Libraries/PersonaCoin/PersonaCoinPropTypes.js.map +1 -0
- package/Libraries/PersonaCoin/PersonaCoinTypes.d.ts +33 -33
- package/Libraries/PersonaCoin/PersonaCoinTypes.js +24 -24
- package/Libraries/PersonaCoin/PersonaCoinTypes.js.map +1 -0
- package/Libraries/Pressability/HoverState.js +2 -4
- package/Libraries/Pressability/HoverState.win32.js +60 -0
- package/Libraries/Pressability/Pressability.js +243 -148
- package/Libraries/Pressability/Pressability.win32.js +1094 -0
- package/Libraries/Pressability/PressabilityDebug.js +31 -27
- package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +49 -0
- package/Libraries/Pressability/PressabilityTypes.js +18 -0
- package/Libraries/Pressability/usePressability.js +25 -11
- package/Libraries/Promise.js +5 -35
- package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +5 -66
- package/Libraries/PushNotificationIOS/PushNotificationIOS.d.ts +295 -0
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +134 -83
- package/Libraries/QuirkSettings/CachingNativeQuirkSettings.js +30 -0
- package/Libraries/QuirkSettings/NativeQuirkSettings.js +17 -0
- package/Libraries/QuirkSettings/QuirkSettings.js +34 -0
- package/Libraries/QuirkSettings/Quirks.js +17 -0
- package/Libraries/ReactNative/AppContainer-dev.js +211 -0
- package/Libraries/ReactNative/AppContainer-prod.js +53 -0
- package/Libraries/ReactNative/AppContainer.js +11 -137
- package/Libraries/ReactNative/AppRegistry.d.ts +114 -0
- package/Libraries/ReactNative/AppRegistry.js +129 -72
- package/Libraries/ReactNative/BridgelessUIManager.js +418 -0
- package/Libraries/ReactNative/DisplayMode.js +32 -0
- package/Libraries/ReactNative/FabricUIManager.js +116 -27
- package/Libraries/ReactNative/HeadlessJsTaskError.js +1 -3
- package/Libraries/ReactNative/I18nManager.d.ts +25 -0
- package/Libraries/ReactNative/I18nManager.js +17 -12
- package/Libraries/ReactNative/NativeHeadlessJsTaskSupport.js +5 -13
- package/Libraries/ReactNative/NativeI18nManager.js +5 -18
- package/Libraries/ReactNative/NativeUIManager.js +5 -114
- package/Libraries/ReactNative/PaperUIManager.js +79 -52
- package/Libraries/ReactNative/PaperUIManager.win32.js +210 -0
- package/Libraries/ReactNative/ReactFabricInternals.js +2 -2
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +151 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +100 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstanceUtils.js +38 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +492 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/warnForStyleProps.js +33 -0
- package/Libraries/ReactNative/ReactNativeFeatureFlags.js +31 -0
- package/Libraries/ReactNative/ReactNativeRuntimeDiagnostics.js +68 -0
- package/Libraries/ReactNative/RendererImplementation.js +141 -0
- package/Libraries/ReactNative/RendererProxy.d.ts +20 -0
- package/Libraries/ReactNative/RendererProxy.js +26 -0
- package/Libraries/ReactNative/RootTag.d.ts +13 -0
- package/Libraries/ReactNative/RootTag.js +27 -0
- package/Libraries/ReactNative/UIManager.d.ts +113 -0
- package/Libraries/ReactNative/UIManager.js +178 -24
- package/Libraries/ReactNative/UIManagerProperties.js +3 -8
- package/Libraries/ReactNative/__mocks__/FabricUIManager.js +334 -0
- package/Libraries/ReactNative/getCachedComponentWithDebugName.js +35 -0
- package/Libraries/ReactNative/getNativeComponentAttributes.js +39 -25
- package/Libraries/ReactNative/renderApplication.js +68 -21
- package/Libraries/ReactNative/requireNativeComponent.d.ts +23 -0
- package/Libraries/ReactNative/requireNativeComponent.js +4 -4
- package/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js +1 -1
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +66 -11
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +24589 -17607
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +6859 -5144
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +7335 -5408
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +24904 -18066
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +6884 -5179
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +7295 -5351
- package/Libraries/Renderer/shims/ReactFabric.js +9 -8
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +4 -2
- package/Libraries/Renderer/shims/ReactNative.js +4 -2
- package/Libraries/Renderer/shims/ReactNativeTypes.js +229 -76
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +23 -32
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +7 -6
- package/Libraries/Settings/NativeSettingsManager.js +5 -18
- package/Libraries/Settings/Settings.d.ts +18 -0
- package/Libraries/Settings/Settings.ios.js +7 -7
- package/Libraries/Settings/Settings.js +33 -0
- package/Libraries/Share/NativeShareModule.js +5 -16
- package/Libraries/Share/Share.d.ts +74 -0
- package/Libraries/Share/Share.js +21 -12
- package/Libraries/StyleSheet/EdgeInsetsPropType.js +5 -2
- package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +10 -11
- package/Libraries/StyleSheet/PlatformColorValueTypes.d.ts +18 -0
- package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +52 -16
- package/Libraries/StyleSheet/PlatformColorValueTypes.win32.js +15 -5
- package/Libraries/StyleSheet/PlatformColorValueTypesIOS.d.ts +25 -0
- package/Libraries/StyleSheet/PlatformColorValueTypesIOS.ios.js +11 -5
- package/Libraries/StyleSheet/PlatformColorValueTypesIOS.js +4 -4
- package/Libraries/StyleSheet/PlatformColorValueTypesWin32.d.ts +11 -12
- package/Libraries/StyleSheet/PlatformColorValueTypesWin32.js +2 -2
- package/Libraries/StyleSheet/PointPropType.js +1 -1
- package/Libraries/StyleSheet/Rect.js +1 -3
- package/Libraries/StyleSheet/StyleSheet.d.ts +150 -0
- package/Libraries/StyleSheet/StyleSheet.js +42 -56
- package/Libraries/StyleSheet/StyleSheet.win32.js +43 -57
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +410 -0
- package/Libraries/StyleSheet/StyleSheetTypes.js +385 -130
- package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +11 -35
- package/Libraries/StyleSheet/flattenStyle.js +14 -9
- package/Libraries/StyleSheet/normalizeColor.js +11 -370
- package/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js +15 -0
- package/Libraries/StyleSheet/private/_TransformStyle.js +69 -0
- package/Libraries/StyleSheet/processAspectRatio.js +63 -0
- package/Libraries/StyleSheet/processColor.d.ts +16 -0
- package/Libraries/StyleSheet/processColor.js +6 -8
- package/Libraries/StyleSheet/processColorArray.js +18 -7
- package/Libraries/StyleSheet/processFilter.js +132 -0
- package/Libraries/StyleSheet/processFontVariant.js +30 -0
- package/Libraries/StyleSheet/processTransform.js +156 -111
- package/Libraries/StyleSheet/processTransformOrigin.js +136 -0
- package/Libraries/StyleSheet/setNormalizedColorAlpha.js +1 -1
- package/Libraries/StyleSheet/splitLayoutProps.js +57 -49
- package/Libraries/Text/Text.d.ts +304 -0
- package/Libraries/Text/Text.js +283 -266
- package/Libraries/Text/Text.win32.js +350 -0
- package/Libraries/Text/TextAncestor.js +7 -2
- package/Libraries/Text/TextNativeComponent.js +81 -0
- package/Libraries/Text/TextNativeComponent.win32.js +116 -0
- package/Libraries/Text/TextProps.js +103 -25
- package/Libraries/Text/TextProps.win32.js +281 -0
- package/Libraries/TurboModule/RCTExport.d.ts +12 -0
- package/Libraries/TurboModule/RCTExport.js +3 -1
- package/Libraries/TurboModule/TurboModuleRegistry.d.ts +13 -0
- package/Libraries/TurboModule/TurboModuleRegistry.js +60 -15
- package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +5 -28
- package/Libraries/Types/CodegenTypes.js +4 -2
- package/Libraries/Types/CoreEventTypes.d.ts +266 -0
- package/Libraries/Types/CoreEventTypes.js +143 -6
- package/Libraries/Types/CoreEventTypes.win32.js +342 -0
- package/Libraries/Types/ReactDevToolsTypes.js +58 -0
- package/Libraries/Types/RootTagTypes.js +11 -0
- package/Libraries/Types/UIManagerJSInterface.js +16 -0
- package/Libraries/UTFSequence.js +6 -4
- package/Libraries/Utilities/Appearance.d.ts +53 -0
- package/Libraries/Utilities/Appearance.js +44 -15
- package/Libraries/Utilities/BackHandler.android.js +14 -23
- package/Libraries/Utilities/BackHandler.d.ts +38 -0
- package/Libraries/Utilities/BackHandler.ios.js +14 -96
- package/Libraries/Utilities/BackHandler.win32.js +107 -7
- package/Libraries/Utilities/DebugEnvironment.js +16 -0
- package/Libraries/Utilities/DevLoadingView.js +66 -0
- package/Libraries/Utilities/DevSettings.d.ts +32 -0
- package/Libraries/Utilities/DevSettings.js +55 -48
- package/Libraries/Utilities/DeviceInfo.js +1 -3
- package/Libraries/Utilities/DeviceInfo.win32.js +0 -2
- package/Libraries/Utilities/Dimensions.d.ts +79 -0
- package/Libraries/Utilities/Dimensions.js +30 -49
- package/Libraries/Utilities/Dimensions.win32.js +106 -18
- package/Libraries/Utilities/FeatureDetection.js +31 -0
- package/Libraries/Utilities/FocusManager.win32.d.ts +12 -0
- package/Libraries/Utilities/FocusManager.win32.js +42 -0
- package/Libraries/Utilities/GlobalPerformanceLogger.js +4 -5
- package/Libraries/Utilities/HMRClient.js +100 -38
- package/Libraries/Utilities/HMRClientProdShim.js +2 -1
- package/Libraries/Utilities/IPerformanceLogger.d.ts +48 -0
- package/Libraries/Utilities/IPerformanceLogger.js +49 -0
- package/Libraries/Utilities/NativeAppearance.js +5 -28
- package/Libraries/Utilities/NativeDevLoadingView.js +5 -17
- package/Libraries/Utilities/NativeDeviceInfo.js +4 -40
- package/Libraries/Utilities/NativePlatformConstantsAndroid.js +5 -30
- package/Libraries/Utilities/NativePlatformConstantsIOS.js +5 -26
- package/Libraries/Utilities/NativePlatformConstantsWin.js +4 -21
- package/Libraries/Utilities/PerformanceLoggerContext.js +17 -10
- package/Libraries/Utilities/PixelRatio.d.ts +64 -0
- package/Libraries/Utilities/PixelRatio.js +6 -6
- package/Libraries/Utilities/Platform.android.js +36 -15
- package/Libraries/Utilities/Platform.d.ts +106 -0
- package/Libraries/Utilities/Platform.flow.js +91 -0
- package/Libraries/Utilities/Platform.flow.win32.js +124 -0
- package/Libraries/Utilities/Platform.ios.js +38 -18
- package/Libraries/Utilities/Platform.win32.js +42 -15
- package/Libraries/Utilities/PolyfillFunctions.js +6 -6
- package/Libraries/Utilities/RCTLog.js +6 -5
- package/Libraries/Utilities/ReactNativeTestTools.js +34 -39
- package/Libraries/Utilities/SceneTracker.js +6 -5
- package/Libraries/Utilities/__mocks__/BackHandler.js +6 -6
- package/Libraries/Utilities/__mocks__/GlobalPerformanceLogger.js +1 -1
- package/Libraries/Utilities/__mocks__/PixelRatio.js +2 -2
- package/Libraries/Utilities/binaryToBase64.js +6 -4
- package/Libraries/Utilities/codegenNativeCommands.js +6 -6
- package/Libraries/Utilities/codegenNativeComponent.js +24 -14
- package/Libraries/Utilities/createPerformanceLogger.js +266 -242
- package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +12 -6
- package/Libraries/Utilities/defineLazyObjectProperty.js +3 -3
- package/Libraries/Utilities/differ/deepDiffer.js +3 -3
- package/Libraries/Utilities/differ/insetsDiffer.js +2 -2
- package/Libraries/Utilities/differ/matricesDiffer.js +6 -2
- package/Libraries/Utilities/differ/pointsDiffer.js +2 -2
- package/Libraries/Utilities/differ/sizesDiffer.js +11 -5
- package/Libraries/Utilities/dismissKeyboard.js +1 -1
- package/Libraries/Utilities/infoLog.js +3 -2
- package/Libraries/Utilities/logError.js +2 -2
- package/Libraries/Utilities/mapWithSeparator.js +1 -1
- package/Libraries/Utilities/stringifySafe.js +8 -8
- package/Libraries/Utilities/useColorScheme.js +10 -16
- package/Libraries/Utilities/useMergeRefs.js +40 -0
- package/Libraries/Utilities/useRefEffect.js +45 -0
- package/Libraries/Utilities/useWindowDimensions.js +15 -8
- package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +40 -39
- package/Libraries/Utilities/warnOnce.js +3 -5
- package/Libraries/Vibration/NativeVibration.js +5 -17
- package/Libraries/Vibration/Vibration.d.ts +43 -0
- package/Libraries/Vibration/Vibration.js +16 -14
- package/Libraries/WebSocket/NativeWebSocketModule.js +5 -27
- package/Libraries/WebSocket/WebSocket.js +46 -26
- package/Libraries/WebSocket/WebSocketEvent.js +1 -1
- package/Libraries/WebSocket/WebSocketInterceptor.js +15 -14
- package/Libraries/WebSocket/__mocks__/event-target-shim.js +1 -1
- package/Libraries/YellowBox/YellowBoxDeprecated.d.ts +19 -0
- package/Libraries/YellowBox/YellowBoxDeprecated.js +6 -6
- package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +2 -3
- package/Libraries/__tests__/ButtonWin32-test.js +16 -0
- package/Libraries/platform-types.d.ts +25 -0
- package/Libraries/promiseRejectionTrackingOptions.js +71 -0
- package/Libraries/vendor/core/ErrorUtils.d.ts +15 -0
- package/Libraries/vendor/core/ErrorUtils.js +2 -2
- package/Libraries/vendor/emitter/EventEmitter.d.ts +164 -0
- package/Libraries/vendor/emitter/EventEmitter.js +122 -193
- package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +81 -0
- package/README.md +1 -1
- package/babel.config.js +3 -0
- package/flow/HermesInternalType.js +114 -0
- package/flow/Position.js +1 -1
- package/flow/Stringish.js +1 -1
- package/flow/console.js +1 -1
- package/flow/global.js +87 -0
- package/flow/jest.js +265 -167
- package/flow/react.js +15 -0
- package/index.js +349 -253
- package/index.win32.js +759 -42
- package/interface.js +9 -9
- package/jest/MockNativeMethods.js +1 -1
- package/jest/__tests__/setup-test.js +18 -0
- package/jest/assetFileTransformer.js +7 -5
- package/jest/local-setup.js +28 -0
- package/jest/mockComponent.js +24 -15
- package/jest/mockModal.js +34 -0
- package/jest/mockNativeComponent.js +40 -0
- package/jest/mockScrollView.js +35 -0
- package/jest/react-native-env.js +16 -0
- package/jest/renderer.js +6 -10
- package/jest/setup.js +141 -83
- package/jest-snapshot-resolver.js +2 -0
- package/jest.config.js +38 -0
- package/just-task.js +12 -80
- package/metro.config.js +5 -20
- package/metroShortPathAssetDataPlugin.js +15 -0
- package/overrides.json +534 -0
- package/package.json +86 -48
- package/react-native.config.js +2 -0
- package/rn-get-polyfills.js +3 -6
- package/saveAssetPlugin.js +45 -0
- package/src/private/core/composeStyles.js +27 -0
- package/src/private/core/setUpDOM.js +18 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +195 -0
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +103 -0
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +53 -0
- package/src/private/fusebox/setUpFuseboxReactDevToolsDispatcher.js +108 -0
- package/src/private/specs/components/ActivityIndicatorViewNativeComponent.js +53 -0
- package/src/private/specs/components/AndroidDrawerLayoutNativeComponent.js +124 -0
- package/src/private/specs/components/AndroidHorizontalScrollContentViewNativeComponent.js +26 -0
- package/src/private/specs/components/AndroidSwipeRefreshLayoutNativeComponent.js +74 -0
- package/src/private/specs/components/AndroidSwitchNativeComponent.js +62 -0
- package/src/private/specs/components/DebuggingOverlayNativeComponent.js +61 -0
- package/src/private/specs/components/ProgressBarAndroidNativeComponent.js +36 -0
- package/src/private/specs/components/PullToRefreshViewNativeComponent.js +71 -0
- package/src/private/specs/components/RCTInputAccessoryViewNativeComponent.js +26 -0
- package/src/private/specs/components/RCTModalHostViewNativeComponent.js +139 -0
- package/src/private/specs/components/RCTSafeAreaViewNativeComponent.js +25 -0
- package/src/private/specs/components/SwitchNativeComponent.js +61 -0
- package/src/private/specs/components/UnimplementedNativeViewNativeComponent.js +26 -0
- package/src/private/specs/modules/NativeAccessibilityInfo.js +33 -0
- package/src/private/specs/modules/NativeAccessibilityInfoWin32.js +39 -0
- package/src/private/specs/modules/NativeAccessibilityManager.js +66 -0
- package/src/private/specs/modules/NativeActionSheetManager.js +54 -0
- package/src/private/specs/modules/NativeAlertManager.js +35 -0
- package/src/private/specs/modules/NativeAnimatedModule.js +77 -0
- package/src/private/specs/modules/NativeAnimatedTurboModule.js +78 -0
- package/src/private/specs/modules/NativeAppState.js +33 -0
- package/src/private/specs/modules/NativeAppearance.js +36 -0
- package/src/private/specs/modules/NativeBlobModule.js +61 -0
- package/src/private/specs/modules/NativeBugReporting.js +20 -0
- package/src/private/specs/modules/NativeClipboard.js +21 -0
- package/src/private/specs/modules/NativeDevLoadingView.js +24 -0
- package/src/private/specs/modules/NativeDevMenu.js +23 -0
- package/src/private/specs/modules/NativeDevSettings.js +33 -0
- package/src/private/specs/modules/NativeDevToolsSettingsManager.js +24 -0
- package/src/private/specs/modules/NativeDeviceEventManager.js +19 -0
- package/src/private/specs/modules/NativeDeviceInfo.js +58 -0
- package/src/private/specs/modules/NativeDialogManagerAndroid.js +48 -0
- package/src/private/specs/modules/NativeExceptionsManager.js +103 -0
- package/src/private/specs/modules/NativeFileReaderModule.js +22 -0
- package/src/private/specs/modules/NativeFrameRateLogger.js +22 -0
- package/src/private/specs/modules/NativeHeadlessJsTaskSupport.js +20 -0
- package/src/private/specs/modules/NativeI18nManager.js +28 -0
- package/src/private/specs/modules/NativeImageEditor.js +52 -0
- package/src/private/specs/modules/NativeImageLoaderAndroid.js +30 -0
- package/src/private/specs/modules/NativeImageLoaderIOS.js +37 -0
- package/src/private/specs/modules/NativeImageLoaderWin32.js +45 -0
- package/src/private/specs/modules/NativeImageStoreAndroid.js +26 -0
- package/src/private/specs/modules/NativeImageStoreIOS.js +33 -0
- package/src/private/specs/modules/NativeIntentAndroid.js +30 -0
- package/src/private/specs/modules/NativeIntersectionObserver.js +41 -0
- package/src/private/specs/modules/NativeJSCHeapCapture.js +19 -0
- package/src/private/specs/modules/NativeJSCSamplingProfiler.js +19 -0
- package/src/private/specs/modules/NativeKeyboardObserver.js +20 -0
- package/src/private/specs/modules/NativeLinkingManager.js +27 -0
- package/src/private/specs/modules/NativeLogBox.js +20 -0
- package/src/private/specs/modules/NativeModalManager.js +21 -0
- package/src/private/specs/modules/NativeMutationObserver.js +58 -0
- package/src/private/specs/modules/NativeNetworkingAndroid.js +37 -0
- package/src/private/specs/modules/NativeNetworkingIOS.js +37 -0
- package/src/private/specs/modules/NativePermissionsAndroid.js +77 -0
- package/src/private/specs/modules/NativePlatformConstantsAndroid.js +44 -0
- package/src/private/specs/modules/NativePlatformConstantsIOS.js +37 -0
- package/src/private/specs/modules/NativePlatformConstantsWin.js +37 -0
- package/src/private/specs/modules/NativePushNotificationManagerIOS.js +103 -0
- package/src/private/specs/modules/NativeRedBox.js +20 -0
- package/src/private/specs/modules/NativeSampleTurboModule.js +53 -0
- package/src/private/specs/modules/NativeSegmentFetcher.js +28 -0
- package/src/private/specs/modules/NativeSettingsManager.js +25 -0
- package/src/private/specs/modules/NativeShareModule.js +23 -0
- package/src/private/specs/modules/NativeSoundManager.js +22 -0
- package/src/private/specs/modules/NativeSourceCode.js +36 -0
- package/src/private/specs/modules/NativeStatusBarManagerAndroid.js +68 -0
- package/src/private/specs/modules/NativeStatusBarManagerIOS.js +89 -0
- package/src/private/specs/modules/NativeTiming.js +26 -0
- package/src/private/specs/modules/NativeToastAndroid.js +38 -0
- package/src/private/specs/modules/NativeUIManager.js +111 -0
- package/src/private/specs/modules/NativeVibration.js +24 -0
- package/src/private/specs/modules/NativeWebSocketModule.js +34 -0
- package/src/private/webapis/dom/geometry/DOMRect.js +82 -0
- package/src/private/webapis/dom/geometry/DOMRectReadOnly.js +188 -0
- package/src/private/webapis/dom/nodes/ReactNativeElement.js +189 -0
- package/src/private/webapis/dom/nodes/ReadOnlyCharacterData.js +71 -0
- package/src/private/webapis/dom/nodes/ReadOnlyElement.js +247 -0
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +357 -0
- package/src/private/webapis/dom/nodes/ReadOnlyText.js +30 -0
- package/src/private/webapis/dom/nodes/specs/NativeDOM.js +468 -0
- package/src/private/webapis/dom/nodes/specs/__mocks__/NativeDOMMock.js +413 -0
- package/src/private/webapis/dom/nodes/utilities/Traversal.js +54 -0
- package/src/private/webapis/dom/oldstylecollections/ArrayLikeUtils.js +46 -0
- package/src/private/webapis/dom/oldstylecollections/DOMRectList.js +76 -0
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +82 -0
- package/src/private/webapis/dom/oldstylecollections/NodeList.js +104 -0
- package/src/private/webapis/microtasks/specs/NativeMicrotasks.js +19 -0
- package/src/private/webapis/performance/EventCounts.js +78 -0
- package/src/private/webapis/performance/MemoryInfo.js +54 -0
- package/src/private/webapis/performance/Performance.js +293 -0
- package/src/private/webapis/performance/PerformanceEntry.js +53 -0
- package/src/private/webapis/performance/PerformanceEventTiming.js +55 -0
- package/src/private/webapis/performance/PerformanceObserver.js +345 -0
- package/src/private/webapis/performance/RawPerformanceEntry.js +82 -0
- package/src/private/webapis/performance/ReactNativeStartupTiming.js +91 -0
- package/src/private/webapis/performance/UserTiming.js +63 -0
- package/src/private/webapis/performance/specs/NativePerformance.js +34 -0
- package/src/private/webapis/performance/specs/NativePerformanceObserver.js +61 -0
- package/src/private/webapis/performance/specs/__mocks__/NativePerformance.js +67 -0
- package/src/private/webapis/performance/specs/__mocks__/NativePerformanceObserver.js +127 -0
- package/src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +161 -0
- package/src-win/Libraries/Components/Button/ButtonWin32.Props.ts +45 -0
- package/src-win/Libraries/Components/Button/ButtonWin32.tsx +94 -0
- package/src-win/Libraries/Components/EnterString.win32.tsx +110 -0
- package/src-win/Libraries/Components/TextInput/Tests/TextInputTest.tsx +185 -0
- package/src-win/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +502 -0
- package/src-win/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +119 -0
- package/src-win/Libraries/Components/Touchable/TouchableWin32.Props.tsx +46 -0
- package/src-win/Libraries/Components/Touchable/TouchableWin32.Types.tsx +137 -0
- package/src-win/Libraries/Components/Touchable/TouchableWin32.tsx +624 -0
- package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +551 -0
- package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +354 -0
- package/src-win/Libraries/Components/View/ViewWin32.d.ts +30 -0
- package/src-win/Libraries/Image/ImageTypes.ts +27 -0
- package/src-win/Libraries/Image/Tests/ImageWin32Test.tsx +22 -0
- package/src-win/Libraries/Image/Tests/img/dpitest.png +0 -0
- package/src-win/Libraries/Image/Tests/img/dpitest@1.5x.png +0 -0
- package/src-win/Libraries/Image/Tests/img/dpitest@2x.png +0 -0
- package/src-win/Libraries/Image/Tests/img/dpitest@3x.png +0 -0
- package/src-win/Libraries/Image/Tests/img/en-us/dpitest.png +0 -0
- package/src-win/Libraries/Image/Tests/img/en-us/dpitest@1.5x.png +0 -0
- package/src-win/Libraries/Image/Tests/img/en-us/dpitest@3x.png +0 -0
- package/src-win/Libraries/PersonaCoin/PersonaCoin.tsx +12 -0
- package/src-win/Libraries/PersonaCoin/PersonaCoinPropTypes.ts +17 -0
- package/src-win/Libraries/PersonaCoin/PersonaCoinTypes.ts +36 -0
- package/src-win/Libraries/StyleSheet/PlatformColorValueTypesWin32.d.ts +38 -0
- package/src-win/Libraries/Text/Text.d.ts +304 -0
- package/src-win/Libraries/Utilities/FocusManager.win32.d.ts +12 -0
- package/src-win/Libraries/__tests__/__snapshots__/ButtonWin32-test.js.snap +22 -0
- package/src-win/Libraries/platform-types.d.ts +25 -0
- package/types/experimental.d.ts +145 -0
- package/types/index.d.ts +218 -0
- package/types/modules/BatchedBridge.d.ts +32 -0
- package/types/modules/Codegen.d.ts +74 -0
- package/types/modules/Devtools.d.ts +32 -0
- package/types/modules/LaunchScreen.d.ts +18 -0
- package/types/modules/globals.d.ts +599 -0
- package/types/private/TimerMixin.d.ts +19 -0
- package/types/private/Utilities.d.ts +10 -0
- package/types/public/DeprecatedPropertiesAlias.d.ts +185 -0
- package/types/public/Insets.d.ts +15 -0
- package/types/public/ReactNativeRenderer.d.ts +144 -0
- package/types/public/ReactNativeTypes.d.ts +143 -0
- package/IntegrationTests/AsyncStorageTest.js +0 -217
- package/IntegrationTests/PropertiesUpdateTest.js +0 -29
- package/IntegrationTests/RCTRootViewIntegrationTestApp.js +0 -92
- package/IntegrationTests/ReactContentSizeUpdateTest.js +0 -91
- package/IntegrationTests/SizeFlexibilityUpdateTest.js +0 -108
- package/Libraries/ART/ARTCGFloatArray.h +0 -18
- package/Libraries/ART/ARTContainer.h +0 -16
- package/Libraries/ART/ARTGroup.h +0 -17
- package/Libraries/ART/ARTNode.h +0 -30
- package/Libraries/ART/ARTRenderable.h +0 -23
- package/Libraries/ART/ARTShape.h +0 -16
- package/Libraries/ART/ARTSurfaceView.h +0 -14
- package/Libraries/ART/ARTText.h +0 -18
- package/Libraries/ART/ARTTextFrame.h +0 -23
- package/Libraries/ART/Brushes/ARTBrush.h +0 -33
- package/Libraries/ART/Brushes/ARTLinearGradient.h +0 -12
- package/Libraries/ART/Brushes/ARTPattern.h +0 -12
- package/Libraries/ART/Brushes/ARTRadialGradient.h +0 -12
- package/Libraries/ART/Brushes/ARTSolidColor.h +0 -12
- package/Libraries/ART/RCTConvert+ART.h +0 -29
- package/Libraries/ART/ViewManagers/ARTGroupManager.h +0 -12
- package/Libraries/ART/ViewManagers/ARTNodeManager.h +0 -16
- package/Libraries/ART/ViewManagers/ARTRenderableManager.h +0 -15
- package/Libraries/ART/ViewManagers/ARTShapeManager.h +0 -12
- package/Libraries/ART/ViewManagers/ARTSurfaceViewManager.h +0 -12
- package/Libraries/ART/ViewManagers/ARTTextManager.h +0 -12
- package/Libraries/Animated/examples/demo.html +0 -712
- package/Libraries/Animated/examples/pic1.jpg +0 -0
- package/Libraries/Animated/examples/pic2.jpg +0 -0
- package/Libraries/Animated/examples/pic3.jpg +0 -0
- package/Libraries/Animated/release/gulpfile.js +0 -155
- package/Libraries/Animated/src/Animated.js +0 -49
- package/Libraries/Animated/src/AnimatedEvent.js +0 -233
- package/Libraries/Animated/src/AnimatedImplementation.js +0 -712
- package/Libraries/Animated/src/AnimatedMock.js +0 -156
- package/Libraries/Animated/src/AnimatedWeb.js +0 -23
- package/Libraries/Animated/src/Easing.js +0 -252
- package/Libraries/Animated/src/NativeAnimatedHelper.js +0 -342
- package/Libraries/Animated/src/NativeAnimatedModule.js +0 -66
- package/Libraries/Animated/src/SpringConfig.js +0 -103
- package/Libraries/Animated/src/animations/Animation.js +0 -73
- package/Libraries/Animated/src/animations/DecayAnimation.js +0 -120
- package/Libraries/Animated/src/animations/SpringAnimation.js +0 -359
- package/Libraries/Animated/src/animations/TimingAnimation.js +0 -165
- package/Libraries/Animated/src/bezier.js +0 -153
- package/Libraries/Animated/src/components/AnimatedFlatList.js +0 -32
- package/Libraries/Animated/src/components/AnimatedImage.js +0 -25
- package/Libraries/Animated/src/components/AnimatedScrollView.js +0 -32
- package/Libraries/Animated/src/components/AnimatedSectionList.js +0 -32
- package/Libraries/Animated/src/components/AnimatedText.js +0 -25
- package/Libraries/Animated/src/components/AnimatedView.js +0 -23
- package/Libraries/Animated/src/createAnimatedComponent.js +0 -223
- package/Libraries/Animated/src/nodes/AnimatedAddition.js +0 -63
- package/Libraries/Animated/src/nodes/AnimatedDiffClamp.js +0 -71
- package/Libraries/Animated/src/nodes/AnimatedDivision.js +0 -68
- package/Libraries/Animated/src/nodes/AnimatedInterpolation.js +0 -373
- package/Libraries/Animated/src/nodes/AnimatedModulo.js +0 -62
- package/Libraries/Animated/src/nodes/AnimatedMultiplication.js +0 -63
- package/Libraries/Animated/src/nodes/AnimatedNode.js +0 -184
- package/Libraries/Animated/src/nodes/AnimatedProps.js +0 -176
- package/Libraries/Animated/src/nodes/AnimatedStyle.js +0 -127
- package/Libraries/Animated/src/nodes/AnimatedSubtraction.js +0 -63
- package/Libraries/Animated/src/nodes/AnimatedTracking.js +0 -102
- package/Libraries/Animated/src/nodes/AnimatedTransform.js +0 -121
- package/Libraries/Animated/src/nodes/AnimatedValue.js +0 -265
- package/Libraries/Animated/src/nodes/AnimatedValueXY.js +0 -226
- package/Libraries/Animated/src/nodes/AnimatedWithChildren.js +0 -87
- package/Libraries/Animated/src/polyfills/InteractionManager.js +0 -15
- package/Libraries/Animated/src/polyfills/Set.js +0 -26
- package/Libraries/Animated/src/polyfills/flattenStyle.js +0 -13
- package/Libraries/Blob/RCTBlobCollector.h +0 -30
- package/Libraries/Blob/RCTBlobManager.h +0 -28
- package/Libraries/Blob/RCTBlobPlugins.h +0 -41
- package/Libraries/Blob/RCTFileReaderModule.h +0 -12
- package/Libraries/CameraRoll/RCTAssetsLibraryRequestHandler.h +0 -15
- package/Libraries/CameraRoll/RCTCameraRollManager.h +0 -22
- package/Libraries/CameraRoll/RCTCameraRollPlugins.h +0 -43
- package/Libraries/CameraRoll/RCTImagePickerManager.h +0 -12
- package/Libraries/CameraRoll/RCTPhotoLibraryImageLoader.h +0 -12
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.android.js +0 -162
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.ios.js +0 -271
- package/Libraries/Components/AccessibilityInfo/NativeAccessibilityInfo.win32.js +0 -33
- package/Libraries/Components/AppleTV/NativeTVNavigationEventEmitter.js +0 -23
- package/Libraries/Components/AppleTV/TVEventHandler.js +0 -52
- package/Libraries/Components/CheckBox/AndroidCheckBoxNativeComponent.js +0 -74
- package/Libraries/Components/CheckBox/CheckBox.android.js +0 -228
- package/Libraries/Components/CheckBox/CheckBox.ios.js +0 -13
- package/Libraries/Components/CheckBox/CheckBox.win32.js +0 -12
- package/Libraries/Components/DatePicker/DatePickerIOS.android.js +0 -46
- package/Libraries/Components/DatePicker/DatePickerIOS.ios.js +0 -189
- package/Libraries/Components/DatePicker/DatePickerIOS.win32.js +0 -46
- package/Libraries/Components/DatePicker/RCTDatePickerNativeComponent.js +0 -60
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.android.js +0 -89
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.ios.js +0 -30
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroid.win32.js +0 -30
- package/Libraries/Components/DatePickerAndroid/DatePickerAndroidTypes.js +0 -30
- package/Libraries/Components/DatePickerAndroid/NativeDatePickerAndroid.js +0 -22
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +0 -12
- package/Libraries/Components/MaskedView/MaskedViewIOS.android.js +0 -13
- package/Libraries/Components/MaskedView/MaskedViewIOS.ios.js +0 -93
- package/Libraries/Components/MaskedView/MaskedViewIOS.win32.js +0 -13
- package/Libraries/Components/MaskedView/RCTMaskedViewNativeComponent.js +0 -21
- package/Libraries/Components/Picker/AndroidDialogPickerNativeComponent.js +0 -68
- package/Libraries/Components/Picker/AndroidDropdownPickerNativeComponent.js +0 -68
- package/Libraries/Components/Picker/Picker.js +0 -159
- package/Libraries/Components/Picker/Picker.win32.d.ts +0 -1
- package/Libraries/Components/Picker/Picker.win32.js +0 -80
- package/Libraries/Components/Picker/PickerAndroid.android.js +0 -146
- package/Libraries/Components/Picker/PickerAndroid.ios.js +0 -12
- package/Libraries/Components/Picker/PickerAndroid.js +0 -12
- package/Libraries/Components/Picker/PickerIOS.android.js +0 -14
- package/Libraries/Components/Picker/PickerIOS.ios.js +0 -164
- package/Libraries/Components/Picker/PickerIOS.js +0 -14
- package/Libraries/Components/Picker/RCTPickerNativeComponent.js +0 -63
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.ios.js +0 -12
- package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.android.js +0 -46
- package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.ios.js +0 -77
- package/Libraries/Components/ProgressViewIOS/ProgressViewIOS.win32.js +0 -8
- package/Libraries/Components/ProgressViewIOS/RCTProgressViewNativeComponent.js +0 -35
- package/Libraries/Components/ScrollResponder.js +0 -773
- package/Libraries/Components/ScrollView/ScrollViewViewConfig.js +0 -77
- package/Libraries/Components/ScrollView/__mocks__/ScrollViewMock.js +0 -39
- package/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js +0 -46
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js +0 -46
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js +0 -123
- package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.js +0 -46
- package/Libraries/Components/Slider/Slider.js +0 -276
- package/Libraries/Components/Slider/SliderNativeComponent.js +0 -60
- package/Libraries/Components/StaticContainer.react.js +0 -51
- package/Libraries/Components/StatusBar/StatusBarIOS.js +0 -22
- package/Libraries/Components/Text/TextWin32.Props.d.ts +0 -26
- package/Libraries/Components/Text/TextWin32.Props.js +0 -3
- package/Libraries/Components/Text/TextWin32.d.ts +0 -6
- package/Libraries/Components/Text/TextWin32.js +0 -41
- package/Libraries/Components/TextInput/AndroidTextInputViewConfig.js +0 -84
- package/Libraries/Components/TextInput/RCTSinglelineTextInputViewConfig.js +0 -134
- package/Libraries/Components/TextInput/TextInput.Types.win32.d.ts +0 -51
- package/Libraries/Components/TextInput/TextInput.Types.win32.js +0 -3
- package/Libraries/Components/TextInput/TextInput.win32.d.ts +0 -68
- package/Libraries/Components/ToastAndroid/ToastAndroid.ios.js +0 -39
- package/Libraries/Components/Touchable/TVTouchable.js +0 -55
- package/Libraries/Components/Touchable/TouchableNativeFeedback.Props.d.ts +0 -7
- package/Libraries/Components/Touchable/TouchableNativeFeedback.Props.js +0 -3
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.d.ts +0 -16
- package/Libraries/Components/Touchable/__mocks__/ensureComponentIsNative.js +0 -12
- package/Libraries/Components/Touchable/ensurePositiveDelayProps.js +0 -26
- package/Libraries/Components/View/ReactNativeViewViewConfig.js +0 -347
- package/Libraries/Components/View/ReactNativeViewViewConfig.win32.js +0 -384
- package/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js +0 -74
- package/Libraries/Components/View/Tests/ViewWin32Test.d.ts +0 -8
- package/Libraries/Components/View/Tests/ViewWin32Test.js +0 -235
- package/Libraries/Components/View/ViewWin32.Props.d.ts +0 -149
- package/Libraries/Components/View/ViewWin32.Props.js +0 -11
- package/Libraries/Core/setUpSystrace.js +0 -21
- package/Libraries/DeprecatedPropTypes/DeprecatedColorPropType.js +0 -76
- package/Libraries/DeprecatedPropTypes/DeprecatedEdgeInsetsPropType.js +0 -28
- package/Libraries/DeprecatedPropTypes/DeprecatedImagePropType.js +0 -82
- package/Libraries/DeprecatedPropTypes/DeprecatedImageSourcePropType.js +0 -40
- package/Libraries/DeprecatedPropTypes/DeprecatedImageStylePropTypes.js +0 -76
- package/Libraries/DeprecatedPropTypes/DeprecatedLayoutPropTypes.js +0 -233
- package/Libraries/DeprecatedPropTypes/DeprecatedPointPropType.js +0 -24
- package/Libraries/DeprecatedPropTypes/DeprecatedShadowPropTypesIOS.js +0 -30
- package/Libraries/DeprecatedPropTypes/DeprecatedStyleSheetPropType.js +0 -32
- package/Libraries/DeprecatedPropTypes/DeprecatedTVViewPropTypes.js +0 -23
- package/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js +0 -622
- package/Libraries/DeprecatedPropTypes/DeprecatedTextPropTypes.js +0 -158
- package/Libraries/DeprecatedPropTypes/DeprecatedTextStylePropTypes.js +0 -157
- package/Libraries/DeprecatedPropTypes/DeprecatedTransformPropTypes.js +0 -99
- package/Libraries/DeprecatedPropTypes/DeprecatedViewAccessibility.js +0 -44
- package/Libraries/DeprecatedPropTypes/DeprecatedViewPropTypes.js +0 -408
- package/Libraries/DeprecatedPropTypes/DeprecatedViewStylePropTypes.js +0 -68
- package/Libraries/DeprecatedPropTypes/deprecatedCreateStrictShapeTypeChecker.js +0 -86
- package/Libraries/FBLazyVector/FBLazyVector/FBLazyIterator.h +0 -130
- package/Libraries/FBLazyVector/FBLazyVector/FBLazyVector.h +0 -99
- package/Libraries/FBReactNativeSpec/FBReactNativeSpec/FBReactNativeSpec.h +0 -3864
- package/Libraries/Image/ImagePickerIOS.js +0 -105
- package/Libraries/Image/ImageViewViewConfig.js +0 -68
- package/Libraries/Image/NativeImagePickerIOS.js +0 -40
- package/Libraries/Image/RCTAnimatedImage.h +0 -21
- package/Libraries/Image/RCTGIFImageDecoder.h +0 -12
- package/Libraries/Image/RCTImageBlurUtils.h +0 -13
- package/Libraries/Image/RCTImageCache.h +0 -42
- package/Libraries/Image/RCTImageDataDecoder.h +0 -53
- package/Libraries/Image/RCTImageEditingManager.h +0 -12
- package/Libraries/Image/RCTImageLoader.h +0 -35
- package/Libraries/Image/RCTImageLoaderProtocol.h +0 -117
- package/Libraries/Image/RCTImageLoaderWithAttributionProtocol.h +0 -52
- package/Libraries/Image/RCTImagePlugins.h +0 -44
- package/Libraries/Image/RCTImageShadowView.h +0 -12
- package/Libraries/Image/RCTImageStoreManager.h +0 -46
- package/Libraries/Image/RCTImageURLLoader.h +0 -73
- package/Libraries/Image/RCTImageURLLoaderWithAttribution.h +0 -73
- package/Libraries/Image/RCTImageUtils.h +0 -93
- package/Libraries/Image/RCTImageView.h +0 -26
- package/Libraries/Image/RCTImageViewManager.h +0 -12
- package/Libraries/Image/RCTLocalAssetImageLoader.h +0 -12
- package/Libraries/Image/RCTResizeMode.h +0 -22
- package/Libraries/Image/RCTUIImageViewAnimated.h +0 -13
- package/Libraries/Image/assetPathUtils.js +0 -91
- package/Libraries/Interaction/Batchinator.js +0 -76
- package/Libraries/Interaction/BridgeSpyStallHandler.js +0 -62
- package/Libraries/Interaction/InteractionMixin.js +0 -55
- package/Libraries/Interaction/InteractionStallDebugger.js +0 -23
- package/Libraries/Linking/NativeLinking.js +0 -41
- package/Libraries/LinkingIOS/RCTLinkingManager.h +0 -34
- package/Libraries/LinkingIOS/RCTLinkingPlugins.h +0 -40
- package/Libraries/NativeAnimation/Drivers/RCTAnimationDriver.h +0 -38
- package/Libraries/NativeAnimation/Drivers/RCTDecayAnimation.h +0 -12
- package/Libraries/NativeAnimation/Drivers/RCTEventAnimation.h +0 -21
- package/Libraries/NativeAnimation/Drivers/RCTFrameAnimation.h +0 -12
- package/Libraries/NativeAnimation/Drivers/RCTSpringAnimation.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTAdditionAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTAnimatedNode.h +0 -51
- package/Libraries/NativeAnimation/Nodes/RCTDiffClampAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTDivisionAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTInterpolationAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTModuloAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTMultiplicationAnimatedNode.h +0 -12
- package/Libraries/NativeAnimation/Nodes/RCTPropsAnimatedNode.h +0 -23
- package/Libraries/NativeAnimation/Nodes/RCTStyleAnimatedNode.h +0 -14
- package/Libraries/NativeAnimation/Nodes/RCTSubtractionAnimatedNode.h +0 -13
- package/Libraries/NativeAnimation/Nodes/RCTTrackingAnimatedNode.h +0 -13
- package/Libraries/NativeAnimation/Nodes/RCTTransformAnimatedNode.h +0 -14
- package/Libraries/NativeAnimation/Nodes/RCTValueAnimatedNode.h +0 -30
- package/Libraries/NativeAnimation/RCTAnimationPlugins.h +0 -40
- package/Libraries/NativeAnimation/RCTAnimationUtils.h +0 -38
- package/Libraries/NativeAnimation/RCTNativeAnimatedModule.h +0 -20
- package/Libraries/NativeAnimation/RCTNativeAnimatedNodesManager.h +0 -88
- package/Libraries/NativeModules/specs/NativeAnimationsDebugModule.js +0 -21
- package/Libraries/Network/RCTDataRequestHandler.h +0 -16
- package/Libraries/Network/RCTFileRequestHandler.h +0 -16
- package/Libraries/Network/RCTHTTPRequestHandler.h +0 -16
- package/Libraries/Network/RCTNetworkPlugins.h +0 -43
- package/Libraries/Network/RCTNetworkTask.h +0 -47
- package/Libraries/Network/RCTNetworking.h +0 -73
- package/Libraries/Performance/PureComponentDebug.js +0 -73
- package/Libraries/Performance/QuickPerformanceLogger.js +0 -101
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +0 -25
- package/Libraries/PushNotificationIOS/RCTPushNotificationPlugins.h +0 -40
- package/Libraries/RCTRequired/RCTRequired/RCTRequired.h +0 -77
- package/Libraries/ReactNative/DummyUIManager.js +0 -123
- package/Libraries/ReactNative/RootTagContext.js +0 -15
- package/Libraries/ReactNative/queryLayoutByID.js +0 -58
- package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +0 -20493
- package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +0 -7440
- package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +0 -7718
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +0 -21091
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +0 -7677
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +0 -7955
- package/Libraries/Renderer/shims/ReactTypes.js +0 -192
- package/Libraries/Settings/RCTSettingsManager.h +0 -16
- package/Libraries/Settings/RCTSettingsPlugins.h +0 -40
- package/Libraries/Settings/Settings.android.js +0 -33
- package/Libraries/Storage/AsyncStorage.js +0 -360
- package/Libraries/Storage/NativeAsyncStorage.js +0 -44
- package/Libraries/StyleSheet/PlatformColorValueTypesAndroid.android.js +0 -18
- package/Libraries/StyleSheet/PlatformColorValueTypesAndroid.js +0 -17
- package/Libraries/StyleSheet/StyleSheetValidation.js +0 -97
- package/Libraries/StyleSheet/StyleSheetValidation.win32.js +0 -102
- package/Libraries/SurfaceBackedComponent/RCTSurfaceBackedComponent.h +0 -26
- package/Libraries/SurfaceBackedComponent/RCTSurfaceBackedComponentState.h +0 -18
- package/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent+Internal.h +0 -20
- package/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponent.h +0 -20
- package/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponentController.h +0 -12
- package/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponentOptions.h +0 -20
- package/Libraries/SurfaceHostingComponent/RCTSurfaceHostingComponentState.h +0 -20
- package/Libraries/Text/BaseText/RCTBaseTextShadowView.h +0 -27
- package/Libraries/Text/BaseText/RCTBaseTextViewManager.h +0 -16
- package/Libraries/Text/RCTConvert+Text.h +0 -22
- package/Libraries/Text/RCTTextAttributes.h +0 -97
- package/Libraries/Text/RCTTextTransform.h +0 -16
- package/Libraries/Text/RawText/RCTRawTextShadowView.h +0 -18
- package/Libraries/Text/RawText/RCTRawTextViewManager.h +0 -16
- package/Libraries/Text/Text/NSTextStorage+FontScaling.h +0 -20
- package/Libraries/Text/Text/RCTTextShadowView.h +0 -28
- package/Libraries/Text/Text/RCTTextView.h +0 -24
- package/Libraries/Text/Text/RCTTextViewManager.h +0 -14
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputView.h +0 -16
- package/Libraries/Text/TextInput/Multiline/RCTMultilineTextInputViewManager.h +0 -16
- package/Libraries/Text/TextInput/Multiline/RCTUITextView.h +0 -42
- package/Libraries/Text/TextInput/RCTBackedTextInputDelegate.h +0 -42
- package/Libraries/Text/TextInput/RCTBackedTextInputDelegateAdapter.h +0 -36
- package/Libraries/Text/TextInput/RCTBackedTextInputViewProtocol.h +0 -48
- package/Libraries/Text/TextInput/RCTBaseTextInputShadowView.h +0 -25
- package/Libraries/Text/TextInput/RCTBaseTextInputView.h +0 -60
- package/Libraries/Text/TextInput/RCTBaseTextInputViewManager.h +0 -12
- package/Libraries/Text/TextInput/RCTInputAccessoryShadowView.h +0 -12
- package/Libraries/Text/TextInput/RCTInputAccessoryView.h +0 -17
- package/Libraries/Text/TextInput/RCTInputAccessoryViewContent.h +0 -12
- package/Libraries/Text/TextInput/RCTInputAccessoryViewManager.h +0 -12
- package/Libraries/Text/TextInput/RCTTextSelection.h +0 -26
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputView.h +0 -16
- package/Libraries/Text/TextInput/Singleline/RCTSinglelineTextInputViewManager.h +0 -16
- package/Libraries/Text/TextInput/Singleline/RCTUITextField.h +0 -34
- package/Libraries/Text/VirtualText/RCTVirtualTextShadowView.h +0 -12
- package/Libraries/Text/VirtualText/RCTVirtualTextViewManager.h +0 -12
- package/Libraries/TypeSafety/RCTConvertHelpers.h +0 -73
- package/Libraries/TypeSafety/RCTTypedModuleConstants.h +0 -47
- package/Libraries/Utilities/BackHandler.win32.d.ts +0 -2
- package/Libraries/Utilities/JSDevSupportModule.js +0 -40
- package/Libraries/Utilities/LoadingView.android.js +0 -29
- package/Libraries/Utilities/LoadingView.ios.js +0 -40
- package/Libraries/Utilities/LoadingView.js +0 -16
- package/Libraries/Utilities/MatrixMath.js +0 -752
- package/Libraries/Utilities/NativeJSDevSupport.js +0 -25
- package/Libraries/Utilities/buildStyleInterpolator.js +0 -211
- package/Libraries/Utilities/clamp.js +0 -23
- package/Libraries/Utilities/deprecatedPropType.js +0 -38
- package/Libraries/Utilities/groupByEveryN.js +0 -51
- package/Libraries/Utilities/mergeIntoFast.js +0 -26
- package/Libraries/Utilities/registerGeneratedViewConfig.js +0 -83
- package/Libraries/Utilities/setAndForwardRef.js +0 -71
- package/Libraries/Utilities/truncate.js +0 -51
- package/Libraries/Vibration/RCTVibration.h +0 -12
- package/Libraries/Vibration/RCTVibrationPlugins.h +0 -40
- package/Libraries/WebSocket/RCTReconnectingWebSocket.h +0 -37
- package/Libraries/WebSocket/RCTSRWebSocket.h +0 -132
- package/Libraries/Wrapper/Example/RCTWrapperExampleView.h +0 -16
- package/Libraries/Wrapper/Example/RCTWrapperExampleViewController.h +0 -16
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewController.h +0 -20
- package/Libraries/Wrapper/Example/RCTWrapperReactRootViewManager.h +0 -18
- package/Libraries/Wrapper/RCTWrapper.h +0 -66
- package/Libraries/Wrapper/RCTWrapperShadowView.h +0 -22
- package/Libraries/Wrapper/RCTWrapperView.h +0 -36
- package/Libraries/Wrapper/RCTWrapperViewControllerHostingView.h +0 -25
- package/Libraries/Wrapper/RCTWrapperViewManager.h +0 -20
- package/Libraries/polyfills/Object.es7.js +0 -58
- package/Libraries/polyfills/console.js +0 -641
- package/Libraries/polyfills/error-guard.js +0 -115
- package/Libraries/promiseRejectionIsError.js +0 -24
- package/Libraries/vendor/emitter/EmitterSubscription.js +0 -59
- package/Libraries/vendor/emitter/EventSubscription.js +0 -40
- package/Libraries/vendor/emitter/EventSubscriptionVendor.js +0 -101
- package/RNTester/APIExamples/AccessibilityExampleWin32.d.ts +0 -8
- package/RNTester/APIExamples/AccessibilityExampleWin32.js +0 -262
- package/RNTester/APIExamples/ThemingModuleAPI.d.ts +0 -8
- package/RNTester/APIExamples/ThemingModuleAPI.js +0 -80
- package/RNTester/js/RNTesterApp.android.js +0 -363
- package/RNTester/js/RNTesterApp.ios.js +0 -272
- package/RNTester/js/RNTesterApp.win32.js +0 -285
- package/RNTester/js/assets/bandaged.png +0 -0
- package/RNTester/js/assets/bunny.png +0 -0
- package/RNTester/js/assets/call.png +0 -0
- package/RNTester/js/assets/dislike.png +0 -0
- package/RNTester/js/assets/fist.png +0 -0
- package/RNTester/js/assets/flowers.png +0 -0
- package/RNTester/js/assets/flux@3x.png +0 -0
- package/RNTester/js/assets/hawk.png +0 -0
- package/RNTester/js/assets/heart.png +0 -0
- package/RNTester/js/assets/helloworld.html +0 -25
- package/RNTester/js/assets/imageMask.png +0 -0
- package/RNTester/js/assets/like.png +0 -0
- package/RNTester/js/assets/liking.png +0 -0
- package/RNTester/js/assets/messagingtest.html +0 -28
- package/RNTester/js/assets/party.png +0 -0
- package/RNTester/js/assets/poke.png +0 -0
- package/RNTester/js/assets/relay@3x.png +0 -0
- package/RNTester/js/assets/slider-left.png +0 -0
- package/RNTester/js/assets/slider-left@2x.png +0 -0
- package/RNTester/js/assets/slider-right.png +0 -0
- package/RNTester/js/assets/slider-right@2x.png +0 -0
- package/RNTester/js/assets/slider.png +0 -0
- package/RNTester/js/assets/slider@2x.png +0 -0
- package/RNTester/js/assets/superlike.png +0 -0
- package/RNTester/js/assets/trees.jpg +0 -0
- package/RNTester/js/assets/tumblr_mfqekpMktw1rn90umo1_500.gif +0 -0
- package/RNTester/js/assets/uie_comment_highlighted@2x.png +0 -0
- package/RNTester/js/assets/uie_comment_normal@2x.png +0 -0
- package/RNTester/js/assets/uie_thumb_big.png +0 -0
- package/RNTester/js/assets/uie_thumb_normal@2x.png +0 -0
- package/RNTester/js/assets/uie_thumb_selected@2x.png +0 -0
- package/RNTester/js/assets/victory.png +0 -0
- package/RNTester/js/components/ListExampleShared.js +0 -377
- package/RNTester/js/components/ListExampleShared.win32.js +0 -384
- package/RNTester/js/components/RNTesterBlock.js +0 -105
- package/RNTester/js/components/RNTesterButton.js +0 -50
- package/RNTester/js/components/RNTesterExampleContainer.js +0 -80
- package/RNTester/js/components/RNTesterExampleFilter.js +0 -120
- package/RNTester/js/components/RNTesterExampleFilter.win32.js +0 -120
- package/RNTester/js/components/RNTesterExampleList.js +0 -254
- package/RNTester/js/components/RNTesterPage.js +0 -76
- package/RNTester/js/components/RNTesterSettingSwitchRow.js +0 -60
- package/RNTester/js/components/RNTesterTheme.js +0 -90
- package/RNTester/js/components/RNTesterTitle.js +0 -58
- package/RNTester/js/components/TextInlineView.js +0 -207
- package/RNTester/js/components/TextLegend.js +0 -248
- package/RNTester/js/components/createExamplePage.js +0 -31
- package/RNTester/js/examples/Accessibility/AccessibilityAndroidExample.android.js +0 -177
- package/RNTester/js/examples/Accessibility/AccessibilityExample.js +0 -792
- package/RNTester/js/examples/Accessibility/AccessibilityIOSExample.js +0 -72
- package/RNTester/js/examples/Accessibility/check.png +0 -0
- package/RNTester/js/examples/Accessibility/mixed.png +0 -0
- package/RNTester/js/examples/Accessibility/uncheck.png +0 -0
- package/RNTester/js/examples/ActionSheetIOS/ActionSheetIOSExample.js +0 -342
- package/RNTester/js/examples/ActivityIndicator/ActivityIndicatorExample.js +0 -162
- package/RNTester/js/examples/Alert/AlertExample.js +0 -158
- package/RNTester/js/examples/Alert/AlertIOSExample.js +0 -204
- package/RNTester/js/examples/Animated/AnimatedExample.js +0 -347
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExApp.js +0 -407
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExBobble.js +0 -171
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExChained.js +0 -120
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExScroll.js +0 -124
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExSet.js +0 -149
- package/RNTester/js/examples/Animated/AnimatedGratuitousApp/AnExTilt.js +0 -154
- package/RNTester/js/examples/AppState/AppStateExample.js +0 -106
- package/RNTester/js/examples/Appearance/AppearanceExample.js +0 -219
- package/RNTester/js/examples/AsyncStorage/AsyncStorageExample.js +0 -103
- package/RNTester/js/examples/Border/BorderExample.js +0 -301
- package/RNTester/js/examples/BoxShadow/BoxShadowExample.js +0 -100
- package/RNTester/js/examples/Button/ButtonExample.js +0 -127
- package/RNTester/js/examples/CheckBox/CheckBoxExample.js +0 -148
- package/RNTester/js/examples/Clipboard/ClipboardExample.js +0 -68
- package/RNTester/js/examples/ColorGradientWin32Example.js +0 -109
- package/RNTester/js/examples/Crash/CrashExample.js +0 -52
- package/RNTester/js/examples/DatePicker/DatePickerAndroidExample.js +0 -170
- package/RNTester/js/examples/DatePicker/DatePickerIOSExample.js +0 -150
- package/RNTester/js/examples/DevSettings/DevSettingsExample.js +0 -47
- package/RNTester/js/examples/Dimensions/DimensionsExample.js +0 -68
- package/RNTester/js/examples/FlatList/FlatListExample.js +0 -287
- package/RNTester/js/examples/Image/ImageCapInsetsExample.js +0 -68
- package/RNTester/js/examples/Image/ImageExample.js +0 -955
- package/RNTester/js/examples/InputAccessoryView/InputAccessoryViewExample.js +0 -121
- package/RNTester/js/examples/JSResponderHandlerExample/JSResponderHandlerExample.js +0 -77
- package/RNTester/js/examples/KeyboardAvoidingView/KeyboardAvoidingViewExample.js +0 -120
- package/RNTester/js/examples/Layout/LayoutAnimationExample.js +0 -221
- package/RNTester/js/examples/Layout/LayoutEventsExample.js +0 -165
- package/RNTester/js/examples/Layout/LayoutExample.js +0 -206
- package/RNTester/js/examples/Linking/LinkingExample.js +0 -128
- package/RNTester/js/examples/MaskedView/MaskedViewExample.js +0 -236
- package/RNTester/js/examples/Modal/ModalExample.js +0 -283
- package/RNTester/js/examples/MultiColumn/MultiColumnExample.js +0 -189
- package/RNTester/js/examples/NativeAnimation/NativeAnimationsExample.js +0 -702
- package/RNTester/js/examples/NewAppScreen/NewAppScreenExample.js +0 -77
- package/RNTester/js/examples/OrientationChange/OrientationChangeExample.js +0 -66
- package/RNTester/js/examples/PanResponder/PanResponderExample.js +0 -154
- package/RNTester/js/examples/PermissionsAndroid/PermissionsExample.js +0 -130
- package/RNTester/js/examples/Picker/PickerExample.js +0 -220
- package/RNTester/js/examples/Picker/PickerIOSExample.js +0 -190
- package/RNTester/js/examples/PlatformColor/PlatformColorExample.js +0 -355
- package/RNTester/js/examples/PointerEvents/PointerEventsExample.js +0 -240
- package/RNTester/js/examples/Pressable/PressableExample.js +0 -426
- package/RNTester/js/examples/ProgressBarAndroid/ProgressBarAndroidExample.android.js +0 -94
- package/RNTester/js/examples/ProgressViewIOS/ProgressViewIOSExample.js +0 -103
- package/RNTester/js/examples/PushNotificationIOS/PushNotificationIOSExample.js +0 -267
- package/RNTester/js/examples/RCTRootView/RCTRootViewIOSExample.js +0 -95
- package/RNTester/js/examples/RTL/RTLExample.js +0 -747
- package/RNTester/js/examples/RefreshControl/RefreshControlExample.js +0 -127
- package/RNTester/js/examples/RootViewSizeFlexibilityExample/RootViewSizeFlexibilityExampleApp.js +0 -68
- package/RNTester/js/examples/SafeAreaView/SafeAreaViewExample.js +0 -137
- package/RNTester/js/examples/ScrollView/ScrollViewAnimatedExample.js +0 -107
- package/RNTester/js/examples/ScrollView/ScrollViewExample.js +0 -346
- package/RNTester/js/examples/ScrollView/ScrollViewSimpleExample.js +0 -105
- package/RNTester/js/examples/SectionList/SectionListExample.js +0 -301
- package/RNTester/js/examples/SegmentedControlIOS/SegmentedControlIOSExample.js +0 -183
- package/RNTester/js/examples/SetPropertiesExample/SetPropertiesExampleApp.js +0 -34
- package/RNTester/js/examples/Share/ShareExample.js +0 -124
- package/RNTester/js/examples/Slider/SliderExample.js +0 -136
- package/RNTester/js/examples/Snapshot/SnapshotExample.js +0 -69
- package/RNTester/js/examples/Snapshot/SnapshotViewIOS.android.js +0 -12
- package/RNTester/js/examples/Snapshot/SnapshotViewIOS.ios.js +0 -67
- package/RNTester/js/examples/StatusBar/StatusBarExample.js +0 -522
- package/RNTester/js/examples/Switch/SwitchExample.js +0 -239
- package/RNTester/js/examples/TVEventHandler/TVEventHandlerExample.js +0 -88
- package/RNTester/js/examples/Text/TextExample.android.js +0 -864
- package/RNTester/js/examples/Text/TextExample.ios.js +0 -1153
- package/RNTester/js/examples/TextInput/TextInputExample.android.js +0 -424
- package/RNTester/js/examples/TextInput/TextInputExample.ios.js +0 -710
- package/RNTester/js/examples/TextInput/TextInputSharedExamples.js +0 -618
- package/RNTester/js/examples/Timer/TimerExample.js +0 -373
- package/RNTester/js/examples/ToastAndroid/ToastAndroidExample.android.js +0 -136
- package/RNTester/js/examples/Touchable/TouchableExample.js +0 -664
- package/RNTester/js/examples/Transform/TransformExample.js +0 -336
- package/RNTester/js/examples/TransparentHitTest/TransparentHitTestExample.js +0 -50
- package/RNTester/js/examples/TurboModule/SampleTurboModuleExample.js +0 -190
- package/RNTester/js/examples/TurboModule/TurboModuleExample.js +0 -26
- package/RNTester/js/examples/Vibration/VibrationExample.js +0 -127
- package/RNTester/js/examples/View/ViewExample.js +0 -471
- package/RNTester/js/examples/WebSocket/WebSocketExample.js +0 -356
- package/RNTester/js/examples/WebSocket/http_test_server.js +0 -33
- package/RNTester/js/examples/WebSocket/websocket_test_server.js +0 -46
- package/RNTester/js/examples/XHR/XHRExample.js +0 -62
- package/RNTester/js/examples/XHR/XHRExampleAbortController.js +0 -58
- package/RNTester/js/examples/XHR/XHRExampleBinaryUpload.js +0 -149
- package/RNTester/js/examples/XHR/XHRExampleDownload.js +0 -242
- package/RNTester/js/examples/XHR/XHRExampleFetch.js +0 -133
- package/RNTester/js/examples/XHR/XHRExampleHeaders.js +0 -114
- package/RNTester/js/examples/XHR/XHRExampleOnTimeOut.js +0 -99
- package/RNTester/js/types/RNTesterTypes.js +0 -47
- package/RNTester/js/utils/RNTesterActions.js +0 -53
- package/RNTester/js/utils/RNTesterList.android.js +0 -257
- package/RNTester/js/utils/RNTesterList.ios.js +0 -366
- package/RNTester/js/utils/RNTesterList.win32.js +0 -240
- package/RNTester/js/utils/RNTesterNavigationReducer.js +0 -49
- package/RNTester/js/utils/RNTesterStatePersister.js +0 -86
- package/RNTester/js/utils/URIActionMap.js +0 -48
- package/api-extractor.json +0 -25
- package/demo/DocPagePropsList.d.ts +0 -18
- package/demo/DocPagePropsList.js +0 -7
- package/demo/DocPagePropsList.js.map +0 -1
- package/docs/api/index.md +0 -12
- package/docs/api/react-native-win32.accessibilityactionevent.md +0 -13
- package/docs/api/react-native-win32.accessibilityactioninfo.md +0 -14
- package/docs/api/react-native-win32.accessibilityactionname.md +0 -11
- package/docs/api/react-native-win32.accessibilityannotationinfo.md +0 -16
- package/docs/api/react-native-win32.accessibilitystate.md +0 -14
- package/docs/api/react-native-win32.annotationtype.md +0 -11
- package/docs/api/react-native-win32.ariarole.md +0 -11
- package/docs/api/react-native-win32.basepropswin32.md +0 -17
- package/docs/api/react-native-win32.buttonwin32._constructor_.md +0 -20
- package/docs/api/react-native-win32.buttonwin32.md +0 -27
- package/docs/api/react-native-win32.buttonwin32.render.md +0 -15
- package/docs/api/react-native-win32.buttonwin32omitstyles.md +0 -11
- package/docs/api/react-native-win32.colorgradientwin32.md +0 -15
- package/docs/api/react-native-win32.cursor.md +0 -11
- package/docs/api/react-native-win32.eventphase.md +0 -21
- package/docs/api/react-native-win32.gradientcolorstop.md +0 -16
- package/docs/api/react-native-win32.gradientcolorvaluewin32.md +0 -16
- package/docs/api/react-native-win32.ibuttonwin32props.md +0 -25
- package/docs/api/react-native-win32.ibuttonwin32props.onblur.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.onfocus.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.onmouseenter.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.onmouseleave.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.ontouchend.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.ontouchstart.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32props.style.md +0 -13
- package/docs/api/react-native-win32.ibuttonwin32style.md +0 -13
- package/docs/api/react-native-win32.ichildasfunction.md +0 -13
- package/docs/api/react-native-win32.idimensions.height.md +0 -11
- package/docs/api/react-native-win32.idimensions.md +0 -21
- package/docs/api/react-native-win32.idimensions.width.md +0 -11
- package/docs/api/react-native-win32.ihandledkeyboardevent.md +0 -11
- package/docs/api/react-native-win32.ikeyboardevent.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.altkey.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.ctrlkey.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.eventphase.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.key.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.md +0 -23
- package/docs/api/react-native-win32.inativekeyboardevent.metakey.md +0 -11
- package/docs/api/react-native-win32.inativekeyboardevent.shiftkey.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.brandiconsource.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.color.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.disabled.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.displayname.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.emailaddress.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.initials.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.md +0 -29
- package/docs/api/react-native-win32.ipersonacoinprops.onerror.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.onload.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.presence.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.size.md +0 -11
- package/docs/api/react-native-win32.ipersonacoinprops.source.md +0 -11
- package/docs/api/react-native-win32.iposition.left.md +0 -11
- package/docs/api/react-native-win32.iposition.md +0 -21
- package/docs/api/react-native-win32.iposition.top.md +0 -11
- package/docs/api/react-native-win32.ipressevent.md +0 -24
- package/docs/api/react-native-win32.ipressinlocation.locationx.md +0 -11
- package/docs/api/react-native-win32.ipressinlocation.locationy.md +0 -11
- package/docs/api/react-native-win32.ipressinlocation.md +0 -23
- package/docs/api/react-native-win32.ipressinlocation.pagex.md +0 -11
- package/docs/api/react-native-win32.ipressinlocation.pagey.md +0 -11
- package/docs/api/react-native-win32.irenderchild.md +0 -13
- package/docs/api/react-native-win32.irenderstyle.md +0 -13
- package/docs/api/react-native-win32.irespondersyntheticevent.md +0 -21
- package/docs/api/react-native-win32.irespondersyntheticevent.touchhistory.md +0 -16
- package/docs/api/react-native-win32.isignal.md +0 -13
- package/docs/api/react-native-win32.istate.md +0 -13
- package/docs/api/react-native-win32.istateconditions.md +0 -15
- package/docs/api/react-native-win32.itextwin32props.md +0 -20
- package/docs/api/react-native-win32.itextwin32props.textstyle.md +0 -25
- package/docs/api/react-native-win32.itextwin32props.tooltip.md +0 -13
- package/docs/api/react-native-win32.itouchablewin32props.children.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.disabled.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.filterkeys.md +0 -13
- package/docs/api/react-native-win32.itouchablewin32props.md +0 -36
- package/docs/api/react-native-win32.itouchablewin32props.onlongpress.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.rejectrespondertermination.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.renderstyle.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablegethighlightdelayms.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablegethitslop.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablegetlongpressdelayms.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablegetpressoutdelayms.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablegetpressrectoffset.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandleactivepressin.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandleactivepressout.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandlekeypress.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandlekeypressdown.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandlelongpress.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchablehandlepress.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32props.touchsounddisabled.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32state.isfocused.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32state.ishovered.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32state.ispressed.md +0 -11
- package/docs/api/react-native-win32.itouchablewin32state.md +0 -20
- package/docs/api/react-native-win32.itouchinfo.currentpagex.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.currentpagey.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.currenttimestamp.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.md +0 -29
- package/docs/api/react-native-win32.itouchinfo.previouspagex.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.previouspagey.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.previoustimestamp.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.startpagex.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.startpagey.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.starttimestamp.md +0 -11
- package/docs/api/react-native-win32.itouchinfo.touchactive.md +0 -11
- package/docs/api/react-native-win32.itransitions.md +0 -15
- package/docs/api/react-native-win32.iviewwin32.focus.md +0 -11
- package/docs/api/react-native-win32.iviewwin32.md +0 -18
- package/docs/api/react-native-win32.iviewwin32props.acceptskeyboardfocus.md +0 -16
- package/docs/api/react-native-win32.iviewwin32props.accessibilityactions.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.accessibilityannotation.md +0 -15
- package/docs/api/react-native-win32.iviewwin32props.accessibilitylevel.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.accessibilitypositioninset.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.accessibilitysetsize.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.animationclass.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.children.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.cursor.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.focusable.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.keydownevents.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.keyupevents.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.md +0 -44
- package/docs/api/react-native-win32.iviewwin32props.onblur.md +0 -15
- package/docs/api/react-native-win32.iviewwin32props.onblurcapture.md +0 -15
- package/docs/api/react-native-win32.iviewwin32props.onfocus.md +0 -15
- package/docs/api/react-native-win32.iviewwin32props.onfocuscapture.md +0 -15
- package/docs/api/react-native-win32.iviewwin32props.onkeydown.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.onkeydowncapture.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.onkeyup.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.onkeyupcapture.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.onmouseenter.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.onmouseleave.md +0 -11
- package/docs/api/react-native-win32.iviewwin32props.tooltip.md +0 -13
- package/docs/api/react-native-win32.iviewwin32props.type.md +0 -11
- package/docs/api/react-native-win32.md +0 -85
- package/docs/api/react-native-win32.omittedaccessibilitypropswin32.md +0 -15
- package/docs/api/react-native-win32.personacoin.md +0 -11
- package/docs/api/react-native-win32.personacoinpresence.md +0 -25
- package/docs/api/react-native-win32.personacoinsize.md +0 -23
- package/docs/api/react-native-win32.sharedaccessibilitypropsiosandwin32.md +0 -13
- package/docs/api/react-native-win32.textstyle.md +0 -13
- package/docs/api/react-native-win32.textwin32._constructor_.md +0 -20
- package/docs/api/react-native-win32.textwin32.md +0 -25
- package/docs/api/react-native-win32.textwin32.render.md +0 -15
- package/docs/api/react-native-win32.textwin32omittypes.md +0 -11
- package/docs/api/react-native-win32.touchablewin32._constructor_.md +0 -20
- package/docs/api/react-native-win32.touchablewin32.componentwillunmount.md +0 -15
- package/docs/api/react-native-win32.touchablewin32.focus.md +0 -11
- package/docs/api/react-native-win32.touchablewin32.md +0 -34
- package/docs/api/react-native-win32.touchablewin32.render.md +0 -15
- package/docs/api/react-native-win32.usefrom.md +0 -13
- package/docs/api/react-native-win32.viewwin32.md +0 -11
- package/docs/api/react-native-win32.viewwin32omittypes.md +0 -11
- package/etc/react-native-win32.api.md +0 -481
- package/flow/Promise.js +0 -47
- package/flow/fbjs.js +0 -258
- package/flow/use-subscription.js +0 -19
- package/jest/preprocessor.js +0 -120
- package/typings-index.d.ts +0 -20
- package/typings-index.js +0 -40
|
@@ -1,3864 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the MIT license found in the
|
|
5
|
-
* LICENSE file in the root directory of this source tree.
|
|
6
|
-
*
|
|
7
|
-
* @generated by an internal genrule from Flow types.
|
|
8
|
-
*
|
|
9
|
-
* We create an umbrella header (and corresponding implementation) here since
|
|
10
|
-
* Cxx compilation in BUCK has a limitation: source-code producing genrule()s
|
|
11
|
-
* must have a single output. More files => more genrule()s => slower builds.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
#ifndef __cplusplus
|
|
15
|
-
#error This file must be compiled as Obj-C++. If you are importing it, you must change your file extension to .mm.
|
|
16
|
-
#endif
|
|
17
|
-
#import <Foundation/Foundation.h>
|
|
18
|
-
#import <RCTRequired/RCTRequired.h>
|
|
19
|
-
#import <RCTTypeSafety/RCTConvertHelpers.h>
|
|
20
|
-
#import <RCTTypeSafety/RCTTypedModuleConstants.h>
|
|
21
|
-
#import <React/RCTBridgeModule.h>
|
|
22
|
-
#import <React/RCTCxxConvert.h>
|
|
23
|
-
#import <React/RCTManagedPointer.h>
|
|
24
|
-
#import <ReactCommon/RCTTurboModule.h>
|
|
25
|
-
#import <folly/Optional.h>
|
|
26
|
-
#import <vector>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
@protocol NativeAccessibilityInfoSpec <RCTBridgeModule, RCTTurboModule>
|
|
30
|
-
|
|
31
|
-
- (void)isReduceMotionEnabled:(RCTResponseSenderBlock)onSuccess;
|
|
32
|
-
- (void)isTouchExplorationEnabled:(RCTResponseSenderBlock)onSuccess;
|
|
33
|
-
- (void)setAccessibilityFocus:(double)reactTag;
|
|
34
|
-
- (void)announceForAccessibility:(NSString *)announcement;
|
|
35
|
-
|
|
36
|
-
@end
|
|
37
|
-
namespace facebook {
|
|
38
|
-
namespace react {
|
|
39
|
-
/**
|
|
40
|
-
* ObjC++ class for module 'AccessibilityInfo'
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
class JSI_EXPORT NativeAccessibilityInfoSpecJSI : public ObjCTurboModule {
|
|
44
|
-
public:
|
|
45
|
-
NativeAccessibilityInfoSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
46
|
-
|
|
47
|
-
};
|
|
48
|
-
} // namespace react
|
|
49
|
-
} // namespace facebook
|
|
50
|
-
|
|
51
|
-
namespace JS {
|
|
52
|
-
namespace NativeAccessibilityManager {
|
|
53
|
-
struct SpecSetAccessibilityContentSizeMultipliersJSMultipliers {
|
|
54
|
-
folly::Optional<double> extraSmall() const;
|
|
55
|
-
folly::Optional<double> small() const;
|
|
56
|
-
folly::Optional<double> medium() const;
|
|
57
|
-
folly::Optional<double> large() const;
|
|
58
|
-
folly::Optional<double> extraLarge() const;
|
|
59
|
-
folly::Optional<double> extraExtraLarge() const;
|
|
60
|
-
folly::Optional<double> extraExtraExtraLarge() const;
|
|
61
|
-
folly::Optional<double> accessibilityMedium() const;
|
|
62
|
-
folly::Optional<double> accessibilityLarge() const;
|
|
63
|
-
folly::Optional<double> accessibilityExtraLarge() const;
|
|
64
|
-
folly::Optional<double> accessibilityExtraExtraLarge() const;
|
|
65
|
-
folly::Optional<double> accessibilityExtraExtraExtraLarge() const;
|
|
66
|
-
|
|
67
|
-
SpecSetAccessibilityContentSizeMultipliersJSMultipliers(NSDictionary *const v) : _v(v) {}
|
|
68
|
-
private:
|
|
69
|
-
NSDictionary *_v;
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@interface RCTCxxConvert (NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers)
|
|
75
|
-
+ (RCTManagedPointer *)JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:(id)json;
|
|
76
|
-
@end
|
|
77
|
-
@protocol NativeAccessibilityManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
78
|
-
|
|
79
|
-
- (void)getCurrentBoldTextState:(RCTResponseSenderBlock)onSuccess
|
|
80
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
81
|
-
- (void)getCurrentGrayscaleState:(RCTResponseSenderBlock)onSuccess
|
|
82
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
83
|
-
- (void)getCurrentInvertColorsState:(RCTResponseSenderBlock)onSuccess
|
|
84
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
85
|
-
- (void)getCurrentReduceMotionState:(RCTResponseSenderBlock)onSuccess
|
|
86
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
87
|
-
- (void)getCurrentReduceTransparencyState:(RCTResponseSenderBlock)onSuccess
|
|
88
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
89
|
-
- (void)getCurrentVoiceOverState:(RCTResponseSenderBlock)onSuccess
|
|
90
|
-
onError:(RCTResponseSenderBlock)onError;
|
|
91
|
-
- (void)setAccessibilityContentSizeMultipliers:(JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers &)JSMultipliers;
|
|
92
|
-
- (void)setAccessibilityFocus:(double)reactTag;
|
|
93
|
-
- (void)announceForAccessibility:(NSString *)announcement;
|
|
94
|
-
|
|
95
|
-
@end
|
|
96
|
-
namespace facebook {
|
|
97
|
-
namespace react {
|
|
98
|
-
/**
|
|
99
|
-
* ObjC++ class for module 'AccessibilityManager'
|
|
100
|
-
*/
|
|
101
|
-
|
|
102
|
-
class JSI_EXPORT NativeAccessibilityManagerSpecJSI : public ObjCTurboModule {
|
|
103
|
-
public:
|
|
104
|
-
NativeAccessibilityManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
105
|
-
|
|
106
|
-
};
|
|
107
|
-
} // namespace react
|
|
108
|
-
} // namespace facebook
|
|
109
|
-
|
|
110
|
-
namespace JS {
|
|
111
|
-
namespace NativeActionSheetManager {
|
|
112
|
-
struct SpecShowActionSheetWithOptionsOptions {
|
|
113
|
-
NSString *title() const;
|
|
114
|
-
NSString *message() const;
|
|
115
|
-
folly::Optional<facebook::react::LazyVector<NSString *>> options() const;
|
|
116
|
-
folly::Optional<facebook::react::LazyVector<double>> destructiveButtonIndices() const;
|
|
117
|
-
folly::Optional<double> cancelButtonIndex() const;
|
|
118
|
-
folly::Optional<double> anchor() const;
|
|
119
|
-
folly::Optional<double> tintColor() const;
|
|
120
|
-
NSString *userInterfaceStyle() const;
|
|
121
|
-
|
|
122
|
-
SpecShowActionSheetWithOptionsOptions(NSDictionary *const v) : _v(v) {}
|
|
123
|
-
private:
|
|
124
|
-
NSDictionary *_v;
|
|
125
|
-
};
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
@interface RCTCxxConvert (NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions)
|
|
130
|
-
+ (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:(id)json;
|
|
131
|
-
@end
|
|
132
|
-
|
|
133
|
-
namespace JS {
|
|
134
|
-
namespace NativeActionSheetManager {
|
|
135
|
-
struct SpecShowShareActionSheetWithOptionsOptions {
|
|
136
|
-
NSString *message() const;
|
|
137
|
-
NSString *url() const;
|
|
138
|
-
NSString *subject() const;
|
|
139
|
-
folly::Optional<double> anchor() const;
|
|
140
|
-
folly::Optional<double> tintColor() const;
|
|
141
|
-
folly::Optional<facebook::react::LazyVector<NSString *>> excludedActivityTypes() const;
|
|
142
|
-
NSString *userInterfaceStyle() const;
|
|
143
|
-
|
|
144
|
-
SpecShowShareActionSheetWithOptionsOptions(NSDictionary *const v) : _v(v) {}
|
|
145
|
-
private:
|
|
146
|
-
NSDictionary *_v;
|
|
147
|
-
};
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@interface RCTCxxConvert (NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions)
|
|
152
|
-
+ (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:(id)json;
|
|
153
|
-
@end
|
|
154
|
-
|
|
155
|
-
namespace JS {
|
|
156
|
-
namespace NativeActionSheetManager {
|
|
157
|
-
struct SpecShowShareActionSheetWithOptionsFailureCallbackError {
|
|
158
|
-
NSString *domain() const;
|
|
159
|
-
NSString *code() const;
|
|
160
|
-
id<NSObject> _Nullable userInfo() const;
|
|
161
|
-
NSString *message() const;
|
|
162
|
-
|
|
163
|
-
SpecShowShareActionSheetWithOptionsFailureCallbackError(NSDictionary *const v) : _v(v) {}
|
|
164
|
-
private:
|
|
165
|
-
NSDictionary *_v;
|
|
166
|
-
};
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
@interface RCTCxxConvert (NativeActionSheetManager_SpecShowShareActionSheetWithOptionsFailureCallbackError)
|
|
171
|
-
+ (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsFailureCallbackError:(id)json;
|
|
172
|
-
@end
|
|
173
|
-
@protocol NativeActionSheetManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
174
|
-
|
|
175
|
-
- (void)showActionSheetWithOptions:(JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions &)options
|
|
176
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
177
|
-
- (void)showShareActionSheetWithOptions:(JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions &)options
|
|
178
|
-
failureCallback:(RCTResponseSenderBlock)failureCallback
|
|
179
|
-
successCallback:(RCTResponseSenderBlock)successCallback;
|
|
180
|
-
|
|
181
|
-
@end
|
|
182
|
-
namespace facebook {
|
|
183
|
-
namespace react {
|
|
184
|
-
/**
|
|
185
|
-
* ObjC++ class for module 'ActionSheetManager'
|
|
186
|
-
*/
|
|
187
|
-
|
|
188
|
-
class JSI_EXPORT NativeActionSheetManagerSpecJSI : public ObjCTurboModule {
|
|
189
|
-
public:
|
|
190
|
-
NativeActionSheetManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
191
|
-
|
|
192
|
-
};
|
|
193
|
-
} // namespace react
|
|
194
|
-
} // namespace facebook
|
|
195
|
-
|
|
196
|
-
namespace JS {
|
|
197
|
-
namespace NativeAlertManager {
|
|
198
|
-
struct Args {
|
|
199
|
-
NSString *title() const;
|
|
200
|
-
NSString *message() const;
|
|
201
|
-
folly::Optional<facebook::react::LazyVector<id<NSObject>>> buttons() const;
|
|
202
|
-
NSString *type() const;
|
|
203
|
-
NSString *defaultValue() const;
|
|
204
|
-
NSString *cancelButtonKey() const;
|
|
205
|
-
NSString *destructiveButtonKey() const;
|
|
206
|
-
NSString *keyboardType() const;
|
|
207
|
-
|
|
208
|
-
Args(NSDictionary *const v) : _v(v) {}
|
|
209
|
-
private:
|
|
210
|
-
NSDictionary *_v;
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
@interface RCTCxxConvert (NativeAlertManager_Args)
|
|
216
|
-
+ (RCTManagedPointer *)JS_NativeAlertManager_Args:(id)json;
|
|
217
|
-
@end
|
|
218
|
-
@protocol NativeAlertManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
219
|
-
|
|
220
|
-
- (void)alertWithArgs:(JS::NativeAlertManager::Args &)args
|
|
221
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
222
|
-
|
|
223
|
-
@end
|
|
224
|
-
namespace facebook {
|
|
225
|
-
namespace react {
|
|
226
|
-
/**
|
|
227
|
-
* ObjC++ class for module 'AlertManager'
|
|
228
|
-
*/
|
|
229
|
-
|
|
230
|
-
class JSI_EXPORT NativeAlertManagerSpecJSI : public ObjCTurboModule {
|
|
231
|
-
public:
|
|
232
|
-
NativeAlertManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
233
|
-
|
|
234
|
-
};
|
|
235
|
-
} // namespace react
|
|
236
|
-
} // namespace facebook
|
|
237
|
-
|
|
238
|
-
namespace JS {
|
|
239
|
-
namespace NativeAnimatedModule {
|
|
240
|
-
struct EndResult {
|
|
241
|
-
bool finished() const;
|
|
242
|
-
|
|
243
|
-
EndResult(NSDictionary *const v) : _v(v) {}
|
|
244
|
-
private:
|
|
245
|
-
NSDictionary *_v;
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
@interface RCTCxxConvert (NativeAnimatedModule_EndResult)
|
|
251
|
-
+ (RCTManagedPointer *)JS_NativeAnimatedModule_EndResult:(id)json;
|
|
252
|
-
@end
|
|
253
|
-
|
|
254
|
-
namespace JS {
|
|
255
|
-
namespace NativeAnimatedModule {
|
|
256
|
-
struct EventMapping {
|
|
257
|
-
facebook::react::LazyVector<NSString *> nativeEventPath() const;
|
|
258
|
-
folly::Optional<double> animatedValueTag() const;
|
|
259
|
-
|
|
260
|
-
EventMapping(NSDictionary *const v) : _v(v) {}
|
|
261
|
-
private:
|
|
262
|
-
NSDictionary *_v;
|
|
263
|
-
};
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
@interface RCTCxxConvert (NativeAnimatedModule_EventMapping)
|
|
268
|
-
+ (RCTManagedPointer *)JS_NativeAnimatedModule_EventMapping:(id)json;
|
|
269
|
-
@end
|
|
270
|
-
@protocol NativeAnimatedModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
271
|
-
|
|
272
|
-
- (void)createAnimatedNode:(double)tag
|
|
273
|
-
config:(NSDictionary *)config;
|
|
274
|
-
- (void)startListeningToAnimatedNodeValue:(double)tag;
|
|
275
|
-
- (void)stopListeningToAnimatedNodeValue:(double)tag;
|
|
276
|
-
- (void)connectAnimatedNodes:(double)parentTag
|
|
277
|
-
childTag:(double)childTag;
|
|
278
|
-
- (void)disconnectAnimatedNodes:(double)parentTag
|
|
279
|
-
childTag:(double)childTag;
|
|
280
|
-
- (void)startAnimatingNode:(double)animationId
|
|
281
|
-
nodeTag:(double)nodeTag
|
|
282
|
-
config:(NSDictionary *)config
|
|
283
|
-
endCallback:(RCTResponseSenderBlock)endCallback;
|
|
284
|
-
- (void)stopAnimation:(double)animationId;
|
|
285
|
-
- (void)setAnimatedNodeValue:(double)nodeTag
|
|
286
|
-
value:(double)value;
|
|
287
|
-
- (void)setAnimatedNodeOffset:(double)nodeTag
|
|
288
|
-
offset:(double)offset;
|
|
289
|
-
- (void)flattenAnimatedNodeOffset:(double)nodeTag;
|
|
290
|
-
- (void)extractAnimatedNodeOffset:(double)nodeTag;
|
|
291
|
-
- (void)connectAnimatedNodeToView:(double)nodeTag
|
|
292
|
-
viewTag:(double)viewTag;
|
|
293
|
-
- (void)disconnectAnimatedNodeFromView:(double)nodeTag
|
|
294
|
-
viewTag:(double)viewTag;
|
|
295
|
-
- (void)restoreDefaultValues:(double)nodeTag;
|
|
296
|
-
- (void)dropAnimatedNode:(double)tag;
|
|
297
|
-
- (void)addAnimatedEventToView:(double)viewTag
|
|
298
|
-
eventName:(NSString *)eventName
|
|
299
|
-
eventMapping:(JS::NativeAnimatedModule::EventMapping &)eventMapping;
|
|
300
|
-
- (void)removeAnimatedEventFromView:(double)viewTag
|
|
301
|
-
eventName:(NSString *)eventName
|
|
302
|
-
animatedNodeTag:(double)animatedNodeTag;
|
|
303
|
-
- (void)addListener:(NSString *)eventName;
|
|
304
|
-
- (void)removeListeners:(double)count;
|
|
305
|
-
|
|
306
|
-
@end
|
|
307
|
-
namespace facebook {
|
|
308
|
-
namespace react {
|
|
309
|
-
/**
|
|
310
|
-
* ObjC++ class for module 'AnimatedModule'
|
|
311
|
-
*/
|
|
312
|
-
|
|
313
|
-
class JSI_EXPORT NativeAnimatedModuleSpecJSI : public ObjCTurboModule {
|
|
314
|
-
public:
|
|
315
|
-
NativeAnimatedModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
316
|
-
|
|
317
|
-
};
|
|
318
|
-
} // namespace react
|
|
319
|
-
} // namespace facebook
|
|
320
|
-
@protocol NativeAnimationsDebugModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
321
|
-
|
|
322
|
-
- (void)startRecordingFps;
|
|
323
|
-
- (void)stopRecordingFps:(double)animationStopTimeMs;
|
|
324
|
-
|
|
325
|
-
@end
|
|
326
|
-
namespace facebook {
|
|
327
|
-
namespace react {
|
|
328
|
-
/**
|
|
329
|
-
* ObjC++ class for module 'AnimationsDebugModule'
|
|
330
|
-
*/
|
|
331
|
-
|
|
332
|
-
class JSI_EXPORT NativeAnimationsDebugModuleSpecJSI : public ObjCTurboModule {
|
|
333
|
-
public:
|
|
334
|
-
NativeAnimationsDebugModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
335
|
-
|
|
336
|
-
};
|
|
337
|
-
} // namespace react
|
|
338
|
-
} // namespace facebook
|
|
339
|
-
|
|
340
|
-
namespace JS {
|
|
341
|
-
namespace NativeAppState {
|
|
342
|
-
struct SpecGetCurrentAppStateSuccessAppState {
|
|
343
|
-
NSString *app_state() const;
|
|
344
|
-
|
|
345
|
-
SpecGetCurrentAppStateSuccessAppState(NSDictionary *const v) : _v(v) {}
|
|
346
|
-
private:
|
|
347
|
-
NSDictionary *_v;
|
|
348
|
-
};
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
|
|
352
|
-
@interface RCTCxxConvert (NativeAppState_SpecGetCurrentAppStateSuccessAppState)
|
|
353
|
-
+ (RCTManagedPointer *)JS_NativeAppState_SpecGetCurrentAppStateSuccessAppState:(id)json;
|
|
354
|
-
@end
|
|
355
|
-
|
|
356
|
-
namespace JS {
|
|
357
|
-
namespace NativeAppState {
|
|
358
|
-
struct Constants {
|
|
359
|
-
|
|
360
|
-
struct Builder {
|
|
361
|
-
struct Input {
|
|
362
|
-
RCTRequired<NSString *> initialAppState;
|
|
363
|
-
};
|
|
364
|
-
|
|
365
|
-
/** Initialize with a set of values */
|
|
366
|
-
Builder(const Input i);
|
|
367
|
-
/** Initialize with an existing Constants */
|
|
368
|
-
Builder(Constants i);
|
|
369
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
370
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
371
|
-
private:
|
|
372
|
-
NSDictionary *(^_factory)(void);
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
376
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
377
|
-
private:
|
|
378
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
379
|
-
NSDictionary *_v;
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
@protocol NativeAppStateSpec <RCTBridgeModule, RCTTurboModule>
|
|
384
|
-
|
|
385
|
-
- (void)getCurrentAppState:(RCTResponseSenderBlock)success
|
|
386
|
-
error:(RCTResponseSenderBlock)error;
|
|
387
|
-
- (void)addListener:(NSString *)eventName;
|
|
388
|
-
- (void)removeListeners:(double)count;
|
|
389
|
-
- (facebook::react::ModuleConstants<JS::NativeAppState::Constants::Builder>)constantsToExport;
|
|
390
|
-
- (facebook::react::ModuleConstants<JS::NativeAppState::Constants::Builder>)getConstants;
|
|
391
|
-
|
|
392
|
-
@end
|
|
393
|
-
namespace facebook {
|
|
394
|
-
namespace react {
|
|
395
|
-
/**
|
|
396
|
-
* ObjC++ class for module 'AppState'
|
|
397
|
-
*/
|
|
398
|
-
|
|
399
|
-
class JSI_EXPORT NativeAppStateSpecJSI : public ObjCTurboModule {
|
|
400
|
-
public:
|
|
401
|
-
NativeAppStateSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
402
|
-
|
|
403
|
-
};
|
|
404
|
-
} // namespace react
|
|
405
|
-
} // namespace facebook
|
|
406
|
-
@protocol NativeAppearanceSpec <RCTBridgeModule, RCTTurboModule>
|
|
407
|
-
|
|
408
|
-
- (NSString *)getColorScheme;
|
|
409
|
-
- (void)addListener:(NSString *)eventName;
|
|
410
|
-
- (void)removeListeners:(double)count;
|
|
411
|
-
|
|
412
|
-
@end
|
|
413
|
-
namespace facebook {
|
|
414
|
-
namespace react {
|
|
415
|
-
/**
|
|
416
|
-
* ObjC++ class for module 'Appearance'
|
|
417
|
-
*/
|
|
418
|
-
|
|
419
|
-
class JSI_EXPORT NativeAppearanceSpecJSI : public ObjCTurboModule {
|
|
420
|
-
public:
|
|
421
|
-
NativeAppearanceSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
422
|
-
|
|
423
|
-
};
|
|
424
|
-
} // namespace react
|
|
425
|
-
} // namespace facebook
|
|
426
|
-
|
|
427
|
-
namespace JS {
|
|
428
|
-
namespace NativeAppearance {
|
|
429
|
-
struct AppearancePreferences {
|
|
430
|
-
NSString *colorScheme() const;
|
|
431
|
-
|
|
432
|
-
AppearancePreferences(NSDictionary *const v) : _v(v) {}
|
|
433
|
-
private:
|
|
434
|
-
NSDictionary *_v;
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
@interface RCTCxxConvert (NativeAppearance_AppearancePreferences)
|
|
440
|
-
+ (RCTManagedPointer *)JS_NativeAppearance_AppearancePreferences:(id)json;
|
|
441
|
-
@end
|
|
442
|
-
typedef NS_ENUM(NSInteger, NativeAppearanceColorSchemeName) {
|
|
443
|
-
NativeAppearanceColorSchemeNameLight = 0,
|
|
444
|
-
NativeAppearanceColorSchemeNameDark,
|
|
445
|
-
};
|
|
446
|
-
|
|
447
|
-
folly::Optional<NativeAppearanceColorSchemeName> NSStringToNativeAppearanceColorSchemeName(NSString *value);
|
|
448
|
-
NSString *NativeAppearanceColorSchemeNameToNSString(folly::Optional<NativeAppearanceColorSchemeName> value);
|
|
449
|
-
|
|
450
|
-
namespace JS {
|
|
451
|
-
namespace NativeAsyncStorage {
|
|
452
|
-
struct SpecMultiGetCallbackErrorsElement {
|
|
453
|
-
NSString *message() const;
|
|
454
|
-
|
|
455
|
-
SpecMultiGetCallbackErrorsElement(NSDictionary *const v) : _v(v) {}
|
|
456
|
-
private:
|
|
457
|
-
NSDictionary *_v;
|
|
458
|
-
};
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecMultiGetCallbackErrorsElement)
|
|
463
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecMultiGetCallbackErrorsElement:(id)json;
|
|
464
|
-
@end
|
|
465
|
-
|
|
466
|
-
namespace JS {
|
|
467
|
-
namespace NativeAsyncStorage {
|
|
468
|
-
struct SpecMultiSetCallbackErrorsElement {
|
|
469
|
-
NSString *message() const;
|
|
470
|
-
|
|
471
|
-
SpecMultiSetCallbackErrorsElement(NSDictionary *const v) : _v(v) {}
|
|
472
|
-
private:
|
|
473
|
-
NSDictionary *_v;
|
|
474
|
-
};
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecMultiSetCallbackErrorsElement)
|
|
479
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecMultiSetCallbackErrorsElement:(id)json;
|
|
480
|
-
@end
|
|
481
|
-
|
|
482
|
-
namespace JS {
|
|
483
|
-
namespace NativeAsyncStorage {
|
|
484
|
-
struct SpecMultiMergeCallbackErrorsElement {
|
|
485
|
-
NSString *message() const;
|
|
486
|
-
|
|
487
|
-
SpecMultiMergeCallbackErrorsElement(NSDictionary *const v) : _v(v) {}
|
|
488
|
-
private:
|
|
489
|
-
NSDictionary *_v;
|
|
490
|
-
};
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecMultiMergeCallbackErrorsElement)
|
|
495
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecMultiMergeCallbackErrorsElement:(id)json;
|
|
496
|
-
@end
|
|
497
|
-
|
|
498
|
-
namespace JS {
|
|
499
|
-
namespace NativeAsyncStorage {
|
|
500
|
-
struct SpecMultiRemoveCallbackErrorsElement {
|
|
501
|
-
NSString *message() const;
|
|
502
|
-
|
|
503
|
-
SpecMultiRemoveCallbackErrorsElement(NSDictionary *const v) : _v(v) {}
|
|
504
|
-
private:
|
|
505
|
-
NSDictionary *_v;
|
|
506
|
-
};
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecMultiRemoveCallbackErrorsElement)
|
|
511
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecMultiRemoveCallbackErrorsElement:(id)json;
|
|
512
|
-
@end
|
|
513
|
-
|
|
514
|
-
namespace JS {
|
|
515
|
-
namespace NativeAsyncStorage {
|
|
516
|
-
struct SpecClearCallbackError {
|
|
517
|
-
NSString *message() const;
|
|
518
|
-
|
|
519
|
-
SpecClearCallbackError(NSDictionary *const v) : _v(v) {}
|
|
520
|
-
private:
|
|
521
|
-
NSDictionary *_v;
|
|
522
|
-
};
|
|
523
|
-
}
|
|
524
|
-
}
|
|
525
|
-
|
|
526
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecClearCallbackError)
|
|
527
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecClearCallbackError:(id)json;
|
|
528
|
-
@end
|
|
529
|
-
|
|
530
|
-
namespace JS {
|
|
531
|
-
namespace NativeAsyncStorage {
|
|
532
|
-
struct SpecGetAllKeysCallbackError {
|
|
533
|
-
NSString *message() const;
|
|
534
|
-
|
|
535
|
-
SpecGetAllKeysCallbackError(NSDictionary *const v) : _v(v) {}
|
|
536
|
-
private:
|
|
537
|
-
NSDictionary *_v;
|
|
538
|
-
};
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
@interface RCTCxxConvert (NativeAsyncStorage_SpecGetAllKeysCallbackError)
|
|
543
|
-
+ (RCTManagedPointer *)JS_NativeAsyncStorage_SpecGetAllKeysCallbackError:(id)json;
|
|
544
|
-
@end
|
|
545
|
-
@protocol NativeAsyncStorageSpec <RCTBridgeModule, RCTTurboModule>
|
|
546
|
-
|
|
547
|
-
- (void)multiGet:(NSArray *)keys
|
|
548
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
549
|
-
- (void)multiSet:(NSArray *)kvPairs
|
|
550
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
551
|
-
- (void)multiMerge:(NSArray *)kvPairs
|
|
552
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
553
|
-
- (void)multiRemove:(NSArray *)keys
|
|
554
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
555
|
-
- (void)clear:(RCTResponseSenderBlock)callback;
|
|
556
|
-
- (void)getAllKeys:(RCTResponseSenderBlock)callback;
|
|
557
|
-
|
|
558
|
-
@end
|
|
559
|
-
namespace facebook {
|
|
560
|
-
namespace react {
|
|
561
|
-
/**
|
|
562
|
-
* ObjC++ class for module 'AsyncStorage'
|
|
563
|
-
*/
|
|
564
|
-
|
|
565
|
-
class JSI_EXPORT NativeAsyncStorageSpecJSI : public ObjCTurboModule {
|
|
566
|
-
public:
|
|
567
|
-
NativeAsyncStorageSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
568
|
-
|
|
569
|
-
};
|
|
570
|
-
} // namespace react
|
|
571
|
-
} // namespace facebook
|
|
572
|
-
|
|
573
|
-
namespace JS {
|
|
574
|
-
namespace NativeBlobModule {
|
|
575
|
-
struct Constants {
|
|
576
|
-
|
|
577
|
-
struct Builder {
|
|
578
|
-
struct Input {
|
|
579
|
-
RCTRequired<NSString *> BLOB_URI_SCHEME;
|
|
580
|
-
RCTRequired<NSString *> BLOB_URI_HOST;
|
|
581
|
-
};
|
|
582
|
-
|
|
583
|
-
/** Initialize with a set of values */
|
|
584
|
-
Builder(const Input i);
|
|
585
|
-
/** Initialize with an existing Constants */
|
|
586
|
-
Builder(Constants i);
|
|
587
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
588
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
589
|
-
private:
|
|
590
|
-
NSDictionary *(^_factory)(void);
|
|
591
|
-
};
|
|
592
|
-
|
|
593
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
594
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
595
|
-
private:
|
|
596
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
597
|
-
NSDictionary *_v;
|
|
598
|
-
};
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
@protocol NativeBlobModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
602
|
-
|
|
603
|
-
- (void)addNetworkingHandler;
|
|
604
|
-
- (void)addWebSocketHandler:(double)id;
|
|
605
|
-
- (void)removeWebSocketHandler:(double)id;
|
|
606
|
-
- (void)sendOverSocket:(NSDictionary *)blob
|
|
607
|
-
socketID:(double)socketID;
|
|
608
|
-
- (void)createFromParts:(NSArray *)parts
|
|
609
|
-
withId:(NSString *)withId;
|
|
610
|
-
- (void)release:(NSString *)blobId;
|
|
611
|
-
- (facebook::react::ModuleConstants<JS::NativeBlobModule::Constants::Builder>)constantsToExport;
|
|
612
|
-
- (facebook::react::ModuleConstants<JS::NativeBlobModule::Constants::Builder>)getConstants;
|
|
613
|
-
|
|
614
|
-
@end
|
|
615
|
-
namespace facebook {
|
|
616
|
-
namespace react {
|
|
617
|
-
/**
|
|
618
|
-
* ObjC++ class for module 'BlobModule'
|
|
619
|
-
*/
|
|
620
|
-
|
|
621
|
-
class JSI_EXPORT NativeBlobModuleSpecJSI : public ObjCTurboModule {
|
|
622
|
-
public:
|
|
623
|
-
NativeBlobModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
624
|
-
|
|
625
|
-
};
|
|
626
|
-
} // namespace react
|
|
627
|
-
} // namespace facebook
|
|
628
|
-
@protocol NativeBugReportingSpec <RCTBridgeModule, RCTTurboModule>
|
|
629
|
-
|
|
630
|
-
- (void)startReportAProblemFlow;
|
|
631
|
-
- (void)setExtraData:(NSDictionary *)extraData
|
|
632
|
-
extraFiles:(NSDictionary *)extraFiles;
|
|
633
|
-
- (void)setCategoryID:(NSString *)categoryID;
|
|
634
|
-
|
|
635
|
-
@end
|
|
636
|
-
namespace facebook {
|
|
637
|
-
namespace react {
|
|
638
|
-
/**
|
|
639
|
-
* ObjC++ class for module 'BugReporting'
|
|
640
|
-
*/
|
|
641
|
-
|
|
642
|
-
class JSI_EXPORT NativeBugReportingSpecJSI : public ObjCTurboModule {
|
|
643
|
-
public:
|
|
644
|
-
NativeBugReportingSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
645
|
-
|
|
646
|
-
};
|
|
647
|
-
} // namespace react
|
|
648
|
-
} // namespace facebook
|
|
649
|
-
|
|
650
|
-
namespace JS {
|
|
651
|
-
namespace NativeCameraRollManager {
|
|
652
|
-
struct GetPhotosParams {
|
|
653
|
-
double first() const;
|
|
654
|
-
NSString *after() const;
|
|
655
|
-
NSString *groupName() const;
|
|
656
|
-
NSString *groupTypes() const;
|
|
657
|
-
NSString *assetType() const;
|
|
658
|
-
folly::Optional<double> maxSize() const;
|
|
659
|
-
folly::Optional<facebook::react::LazyVector<NSString *>> mimeTypes() const;
|
|
660
|
-
|
|
661
|
-
GetPhotosParams(NSDictionary *const v) : _v(v) {}
|
|
662
|
-
private:
|
|
663
|
-
NSDictionary *_v;
|
|
664
|
-
};
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
@interface RCTCxxConvert (NativeCameraRollManager_GetPhotosParams)
|
|
669
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_GetPhotosParams:(id)json;
|
|
670
|
-
@end
|
|
671
|
-
@protocol NativeCameraRollManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
672
|
-
|
|
673
|
-
- (void)getPhotos:(JS::NativeCameraRollManager::GetPhotosParams &)params
|
|
674
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
675
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
676
|
-
- (void)saveToCameraRoll:(NSString *)uri
|
|
677
|
-
type:(NSString *)type
|
|
678
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
679
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
680
|
-
- (void)deletePhotos:(NSArray *)assets
|
|
681
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
682
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
683
|
-
|
|
684
|
-
@end
|
|
685
|
-
namespace facebook {
|
|
686
|
-
namespace react {
|
|
687
|
-
/**
|
|
688
|
-
* ObjC++ class for module 'CameraRollManager'
|
|
689
|
-
*/
|
|
690
|
-
|
|
691
|
-
class JSI_EXPORT NativeCameraRollManagerSpecJSI : public ObjCTurboModule {
|
|
692
|
-
public:
|
|
693
|
-
NativeCameraRollManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
694
|
-
|
|
695
|
-
};
|
|
696
|
-
} // namespace react
|
|
697
|
-
} // namespace facebook
|
|
698
|
-
|
|
699
|
-
namespace JS {
|
|
700
|
-
namespace NativeCameraRollManager {
|
|
701
|
-
struct PhotoIdentifierNodeImage {
|
|
702
|
-
NSString *uri() const;
|
|
703
|
-
double playableDuration() const;
|
|
704
|
-
double width() const;
|
|
705
|
-
double height() const;
|
|
706
|
-
folly::Optional<bool> isStored() const;
|
|
707
|
-
NSString *filename() const;
|
|
708
|
-
|
|
709
|
-
PhotoIdentifierNodeImage(NSDictionary *const v) : _v(v) {}
|
|
710
|
-
private:
|
|
711
|
-
NSDictionary *_v;
|
|
712
|
-
};
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifierNodeImage)
|
|
717
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifierNodeImage:(id)json;
|
|
718
|
-
@end
|
|
719
|
-
|
|
720
|
-
namespace JS {
|
|
721
|
-
namespace NativeCameraRollManager {
|
|
722
|
-
struct PhotoIdentifierNodeLocation {
|
|
723
|
-
double longitude() const;
|
|
724
|
-
double latitude() const;
|
|
725
|
-
folly::Optional<double> altitude() const;
|
|
726
|
-
folly::Optional<double> heading() const;
|
|
727
|
-
folly::Optional<double> speed() const;
|
|
728
|
-
|
|
729
|
-
PhotoIdentifierNodeLocation(NSDictionary *const v) : _v(v) {}
|
|
730
|
-
private:
|
|
731
|
-
NSDictionary *_v;
|
|
732
|
-
};
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifierNodeLocation)
|
|
737
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifierNodeLocation:(id)json;
|
|
738
|
-
@end
|
|
739
|
-
|
|
740
|
-
namespace JS {
|
|
741
|
-
namespace NativeCameraRollManager {
|
|
742
|
-
struct PhotoIdentifierNode {
|
|
743
|
-
JS::NativeCameraRollManager::PhotoIdentifierNodeImage image() const;
|
|
744
|
-
NSString *type() const;
|
|
745
|
-
NSString *group_name() const;
|
|
746
|
-
double timestamp() const;
|
|
747
|
-
JS::NativeCameraRollManager::PhotoIdentifierNodeLocation location() const;
|
|
748
|
-
|
|
749
|
-
PhotoIdentifierNode(NSDictionary *const v) : _v(v) {}
|
|
750
|
-
private:
|
|
751
|
-
NSDictionary *_v;
|
|
752
|
-
};
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifierNode)
|
|
757
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifierNode:(id)json;
|
|
758
|
-
@end
|
|
759
|
-
|
|
760
|
-
namespace JS {
|
|
761
|
-
namespace NativeCameraRollManager {
|
|
762
|
-
struct PhotoIdentifier {
|
|
763
|
-
JS::NativeCameraRollManager::PhotoIdentifierNode node() const;
|
|
764
|
-
|
|
765
|
-
PhotoIdentifier(NSDictionary *const v) : _v(v) {}
|
|
766
|
-
private:
|
|
767
|
-
NSDictionary *_v;
|
|
768
|
-
};
|
|
769
|
-
}
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifier)
|
|
773
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifier:(id)json;
|
|
774
|
-
@end
|
|
775
|
-
|
|
776
|
-
namespace JS {
|
|
777
|
-
namespace NativeCameraRollManager {
|
|
778
|
-
struct PhotoIdentifiersPagePage_info {
|
|
779
|
-
bool has_next_page() const;
|
|
780
|
-
NSString *start_cursor() const;
|
|
781
|
-
NSString *end_cursor() const;
|
|
782
|
-
|
|
783
|
-
PhotoIdentifiersPagePage_info(NSDictionary *const v) : _v(v) {}
|
|
784
|
-
private:
|
|
785
|
-
NSDictionary *_v;
|
|
786
|
-
};
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifiersPagePage_info)
|
|
791
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifiersPagePage_info:(id)json;
|
|
792
|
-
@end
|
|
793
|
-
|
|
794
|
-
namespace JS {
|
|
795
|
-
namespace NativeCameraRollManager {
|
|
796
|
-
struct PhotoIdentifiersPage {
|
|
797
|
-
facebook::react::LazyVector<JS::NativeCameraRollManager::PhotoIdentifier> edges() const;
|
|
798
|
-
JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info page_info() const;
|
|
799
|
-
|
|
800
|
-
PhotoIdentifiersPage(NSDictionary *const v) : _v(v) {}
|
|
801
|
-
private:
|
|
802
|
-
NSDictionary *_v;
|
|
803
|
-
};
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
@interface RCTCxxConvert (NativeCameraRollManager_PhotoIdentifiersPage)
|
|
808
|
-
+ (RCTManagedPointer *)JS_NativeCameraRollManager_PhotoIdentifiersPage:(id)json;
|
|
809
|
-
@end
|
|
810
|
-
@protocol NativeClipboardSpec <RCTBridgeModule, RCTTurboModule>
|
|
811
|
-
|
|
812
|
-
- (void)getString:(RCTPromiseResolveBlock)resolve
|
|
813
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
814
|
-
- (void)setString:(NSString *)content;
|
|
815
|
-
|
|
816
|
-
@end
|
|
817
|
-
namespace facebook {
|
|
818
|
-
namespace react {
|
|
819
|
-
/**
|
|
820
|
-
* ObjC++ class for module 'Clipboard'
|
|
821
|
-
*/
|
|
822
|
-
|
|
823
|
-
class JSI_EXPORT NativeClipboardSpecJSI : public ObjCTurboModule {
|
|
824
|
-
public:
|
|
825
|
-
NativeClipboardSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
826
|
-
|
|
827
|
-
};
|
|
828
|
-
} // namespace react
|
|
829
|
-
} // namespace facebook
|
|
830
|
-
@protocol NativeDatePickerAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
831
|
-
|
|
832
|
-
- (void)open:(NSDictionary *)options
|
|
833
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
834
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
835
|
-
|
|
836
|
-
@end
|
|
837
|
-
namespace facebook {
|
|
838
|
-
namespace react {
|
|
839
|
-
/**
|
|
840
|
-
* ObjC++ class for module 'DatePickerAndroid'
|
|
841
|
-
*/
|
|
842
|
-
|
|
843
|
-
class JSI_EXPORT NativeDatePickerAndroidSpecJSI : public ObjCTurboModule {
|
|
844
|
-
public:
|
|
845
|
-
NativeDatePickerAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
846
|
-
|
|
847
|
-
};
|
|
848
|
-
} // namespace react
|
|
849
|
-
} // namespace facebook
|
|
850
|
-
@protocol NativeDevLoadingViewSpec <RCTBridgeModule, RCTTurboModule>
|
|
851
|
-
|
|
852
|
-
- (void)showMessage:(NSString *)message
|
|
853
|
-
withColor:(NSNumber *)withColor
|
|
854
|
-
withBackgroundColor:(NSNumber *)withBackgroundColor;
|
|
855
|
-
- (void)hide;
|
|
856
|
-
|
|
857
|
-
@end
|
|
858
|
-
namespace facebook {
|
|
859
|
-
namespace react {
|
|
860
|
-
/**
|
|
861
|
-
* ObjC++ class for module 'DevLoadingView'
|
|
862
|
-
*/
|
|
863
|
-
|
|
864
|
-
class JSI_EXPORT NativeDevLoadingViewSpecJSI : public ObjCTurboModule {
|
|
865
|
-
public:
|
|
866
|
-
NativeDevLoadingViewSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
867
|
-
|
|
868
|
-
};
|
|
869
|
-
} // namespace react
|
|
870
|
-
} // namespace facebook
|
|
871
|
-
@protocol NativeDevMenuSpec <RCTBridgeModule, RCTTurboModule>
|
|
872
|
-
|
|
873
|
-
- (void)show;
|
|
874
|
-
- (void)reload;
|
|
875
|
-
- (void)debugRemotely:(BOOL)enableDebug;
|
|
876
|
-
- (void)setProfilingEnabled:(BOOL)enabled;
|
|
877
|
-
- (void)setHotLoadingEnabled:(BOOL)enabled;
|
|
878
|
-
|
|
879
|
-
@end
|
|
880
|
-
namespace facebook {
|
|
881
|
-
namespace react {
|
|
882
|
-
/**
|
|
883
|
-
* ObjC++ class for module 'DevMenu'
|
|
884
|
-
*/
|
|
885
|
-
|
|
886
|
-
class JSI_EXPORT NativeDevMenuSpecJSI : public ObjCTurboModule {
|
|
887
|
-
public:
|
|
888
|
-
NativeDevMenuSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
889
|
-
|
|
890
|
-
};
|
|
891
|
-
} // namespace react
|
|
892
|
-
} // namespace facebook
|
|
893
|
-
@protocol NativeDevSettingsSpec <RCTBridgeModule, RCTTurboModule>
|
|
894
|
-
|
|
895
|
-
- (void)reload;
|
|
896
|
-
- (void)reloadWithReason:(NSString *)reason;
|
|
897
|
-
- (void)onFastRefresh;
|
|
898
|
-
- (void)setHotLoadingEnabled:(BOOL)isHotLoadingEnabled;
|
|
899
|
-
- (void)setIsDebuggingRemotely:(BOOL)isDebuggingRemotelyEnabled;
|
|
900
|
-
- (void)setProfilingEnabled:(BOOL)isProfilingEnabled;
|
|
901
|
-
- (void)toggleElementInspector;
|
|
902
|
-
- (void)addMenuItem:(NSString *)title;
|
|
903
|
-
- (void)addListener:(NSString *)eventName;
|
|
904
|
-
- (void)removeListeners:(double)count;
|
|
905
|
-
- (void)setIsShakeToShowDevMenuEnabled:(BOOL)enabled;
|
|
906
|
-
|
|
907
|
-
@end
|
|
908
|
-
namespace facebook {
|
|
909
|
-
namespace react {
|
|
910
|
-
/**
|
|
911
|
-
* ObjC++ class for module 'DevSettings'
|
|
912
|
-
*/
|
|
913
|
-
|
|
914
|
-
class JSI_EXPORT NativeDevSettingsSpecJSI : public ObjCTurboModule {
|
|
915
|
-
public:
|
|
916
|
-
NativeDevSettingsSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
917
|
-
|
|
918
|
-
};
|
|
919
|
-
} // namespace react
|
|
920
|
-
} // namespace facebook
|
|
921
|
-
@protocol NativeDeviceEventManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
922
|
-
|
|
923
|
-
- (void)invokeDefaultBackPressHandler;
|
|
924
|
-
|
|
925
|
-
@end
|
|
926
|
-
namespace facebook {
|
|
927
|
-
namespace react {
|
|
928
|
-
/**
|
|
929
|
-
* ObjC++ class for module 'DeviceEventManager'
|
|
930
|
-
*/
|
|
931
|
-
|
|
932
|
-
class JSI_EXPORT NativeDeviceEventManagerSpecJSI : public ObjCTurboModule {
|
|
933
|
-
public:
|
|
934
|
-
NativeDeviceEventManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
935
|
-
|
|
936
|
-
};
|
|
937
|
-
} // namespace react
|
|
938
|
-
} // namespace facebook
|
|
939
|
-
|
|
940
|
-
namespace JS {
|
|
941
|
-
namespace NativeDeviceInfo {
|
|
942
|
-
struct DisplayMetrics {
|
|
943
|
-
|
|
944
|
-
struct Builder {
|
|
945
|
-
struct Input {
|
|
946
|
-
RCTRequired<double> width;
|
|
947
|
-
RCTRequired<double> height;
|
|
948
|
-
RCTRequired<double> scale;
|
|
949
|
-
RCTRequired<double> fontScale;
|
|
950
|
-
};
|
|
951
|
-
|
|
952
|
-
/** Initialize with a set of values */
|
|
953
|
-
Builder(const Input i);
|
|
954
|
-
/** Initialize with an existing DisplayMetrics */
|
|
955
|
-
Builder(DisplayMetrics i);
|
|
956
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
957
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
958
|
-
private:
|
|
959
|
-
NSDictionary *(^_factory)(void);
|
|
960
|
-
};
|
|
961
|
-
|
|
962
|
-
static DisplayMetrics fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
963
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
964
|
-
private:
|
|
965
|
-
DisplayMetrics(NSDictionary *const v) : _v(v) {}
|
|
966
|
-
NSDictionary *_v;
|
|
967
|
-
};
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
namespace JS {
|
|
972
|
-
namespace NativeDeviceInfo {
|
|
973
|
-
struct DisplayMetricsAndroid {
|
|
974
|
-
|
|
975
|
-
struct Builder {
|
|
976
|
-
struct Input {
|
|
977
|
-
RCTRequired<double> width;
|
|
978
|
-
RCTRequired<double> height;
|
|
979
|
-
RCTRequired<double> scale;
|
|
980
|
-
RCTRequired<double> fontScale;
|
|
981
|
-
RCTRequired<double> densityDpi;
|
|
982
|
-
};
|
|
983
|
-
|
|
984
|
-
/** Initialize with a set of values */
|
|
985
|
-
Builder(const Input i);
|
|
986
|
-
/** Initialize with an existing DisplayMetricsAndroid */
|
|
987
|
-
Builder(DisplayMetricsAndroid i);
|
|
988
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
989
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
990
|
-
private:
|
|
991
|
-
NSDictionary *(^_factory)(void);
|
|
992
|
-
};
|
|
993
|
-
|
|
994
|
-
static DisplayMetricsAndroid fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
995
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
996
|
-
private:
|
|
997
|
-
DisplayMetricsAndroid(NSDictionary *const v) : _v(v) {}
|
|
998
|
-
NSDictionary *_v;
|
|
999
|
-
};
|
|
1000
|
-
}
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
namespace JS {
|
|
1004
|
-
namespace NativeDeviceInfo {
|
|
1005
|
-
struct DimensionsPayload {
|
|
1006
|
-
|
|
1007
|
-
struct Builder {
|
|
1008
|
-
struct Input {
|
|
1009
|
-
folly::Optional<JS::NativeDeviceInfo::DisplayMetrics::Builder> window;
|
|
1010
|
-
folly::Optional<JS::NativeDeviceInfo::DisplayMetrics::Builder> screen;
|
|
1011
|
-
folly::Optional<JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder> windowPhysicalPixels;
|
|
1012
|
-
folly::Optional<JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder> screenPhysicalPixels;
|
|
1013
|
-
};
|
|
1014
|
-
|
|
1015
|
-
/** Initialize with a set of values */
|
|
1016
|
-
Builder(const Input i);
|
|
1017
|
-
/** Initialize with an existing DimensionsPayload */
|
|
1018
|
-
Builder(DimensionsPayload i);
|
|
1019
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1020
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1021
|
-
private:
|
|
1022
|
-
NSDictionary *(^_factory)(void);
|
|
1023
|
-
};
|
|
1024
|
-
|
|
1025
|
-
static DimensionsPayload fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1026
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1027
|
-
private:
|
|
1028
|
-
DimensionsPayload(NSDictionary *const v) : _v(v) {}
|
|
1029
|
-
NSDictionary *_v;
|
|
1030
|
-
};
|
|
1031
|
-
}
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
namespace JS {
|
|
1035
|
-
namespace NativeDeviceInfo {
|
|
1036
|
-
struct Constants {
|
|
1037
|
-
|
|
1038
|
-
struct Builder {
|
|
1039
|
-
struct Input {
|
|
1040
|
-
RCTRequired<JS::NativeDeviceInfo::DimensionsPayload::Builder> Dimensions;
|
|
1041
|
-
folly::Optional<bool> isIPhoneX_deprecated;
|
|
1042
|
-
};
|
|
1043
|
-
|
|
1044
|
-
/** Initialize with a set of values */
|
|
1045
|
-
Builder(const Input i);
|
|
1046
|
-
/** Initialize with an existing Constants */
|
|
1047
|
-
Builder(Constants i);
|
|
1048
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1049
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1050
|
-
private:
|
|
1051
|
-
NSDictionary *(^_factory)(void);
|
|
1052
|
-
};
|
|
1053
|
-
|
|
1054
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1055
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1056
|
-
private:
|
|
1057
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
1058
|
-
NSDictionary *_v;
|
|
1059
|
-
};
|
|
1060
|
-
}
|
|
1061
|
-
}
|
|
1062
|
-
@protocol NativeDeviceInfoSpec <RCTBridgeModule, RCTTurboModule>
|
|
1063
|
-
|
|
1064
|
-
- (facebook::react::ModuleConstants<JS::NativeDeviceInfo::Constants::Builder>)constantsToExport;
|
|
1065
|
-
- (facebook::react::ModuleConstants<JS::NativeDeviceInfo::Constants::Builder>)getConstants;
|
|
1066
|
-
|
|
1067
|
-
@end
|
|
1068
|
-
namespace facebook {
|
|
1069
|
-
namespace react {
|
|
1070
|
-
/**
|
|
1071
|
-
* ObjC++ class for module 'DeviceInfo'
|
|
1072
|
-
*/
|
|
1073
|
-
|
|
1074
|
-
class JSI_EXPORT NativeDeviceInfoSpecJSI : public ObjCTurboModule {
|
|
1075
|
-
public:
|
|
1076
|
-
NativeDeviceInfoSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1077
|
-
|
|
1078
|
-
};
|
|
1079
|
-
} // namespace react
|
|
1080
|
-
} // namespace facebook
|
|
1081
|
-
|
|
1082
|
-
namespace JS {
|
|
1083
|
-
namespace NativeDialogManagerAndroid {
|
|
1084
|
-
struct DialogOptions {
|
|
1085
|
-
NSString *title() const;
|
|
1086
|
-
NSString *message() const;
|
|
1087
|
-
NSString *buttonPositive() const;
|
|
1088
|
-
NSString *buttonNegative() const;
|
|
1089
|
-
NSString *buttonNeutral() const;
|
|
1090
|
-
folly::Optional<facebook::react::LazyVector<NSString *>> items() const;
|
|
1091
|
-
folly::Optional<bool> cancelable() const;
|
|
1092
|
-
|
|
1093
|
-
DialogOptions(NSDictionary *const v) : _v(v) {}
|
|
1094
|
-
private:
|
|
1095
|
-
NSDictionary *_v;
|
|
1096
|
-
};
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
@interface RCTCxxConvert (NativeDialogManagerAndroid_DialogOptions)
|
|
1101
|
-
+ (RCTManagedPointer *)JS_NativeDialogManagerAndroid_DialogOptions:(id)json;
|
|
1102
|
-
@end
|
|
1103
|
-
|
|
1104
|
-
namespace JS {
|
|
1105
|
-
namespace NativeDialogManagerAndroid {
|
|
1106
|
-
struct Constants {
|
|
1107
|
-
|
|
1108
|
-
struct Builder {
|
|
1109
|
-
struct Input {
|
|
1110
|
-
RCTRequired<NSString *> buttonClicked;
|
|
1111
|
-
RCTRequired<NSString *> dismissed;
|
|
1112
|
-
RCTRequired<double> buttonPositive;
|
|
1113
|
-
RCTRequired<double> buttonNegative;
|
|
1114
|
-
RCTRequired<double> buttonNeutral;
|
|
1115
|
-
};
|
|
1116
|
-
|
|
1117
|
-
/** Initialize with a set of values */
|
|
1118
|
-
Builder(const Input i);
|
|
1119
|
-
/** Initialize with an existing Constants */
|
|
1120
|
-
Builder(Constants i);
|
|
1121
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1122
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1123
|
-
private:
|
|
1124
|
-
NSDictionary *(^_factory)(void);
|
|
1125
|
-
};
|
|
1126
|
-
|
|
1127
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1128
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1129
|
-
private:
|
|
1130
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
1131
|
-
NSDictionary *_v;
|
|
1132
|
-
};
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
@protocol NativeDialogManagerAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
1136
|
-
|
|
1137
|
-
- (void)showAlert:(JS::NativeDialogManagerAndroid::DialogOptions &)config
|
|
1138
|
-
onError:(RCTResponseSenderBlock)onError
|
|
1139
|
-
onAction:(RCTResponseSenderBlock)onAction;
|
|
1140
|
-
- (facebook::react::ModuleConstants<JS::NativeDialogManagerAndroid::Constants::Builder>)constantsToExport;
|
|
1141
|
-
- (facebook::react::ModuleConstants<JS::NativeDialogManagerAndroid::Constants::Builder>)getConstants;
|
|
1142
|
-
|
|
1143
|
-
@end
|
|
1144
|
-
namespace facebook {
|
|
1145
|
-
namespace react {
|
|
1146
|
-
/**
|
|
1147
|
-
* ObjC++ class for module 'DialogManagerAndroid'
|
|
1148
|
-
*/
|
|
1149
|
-
|
|
1150
|
-
class JSI_EXPORT NativeDialogManagerAndroidSpecJSI : public ObjCTurboModule {
|
|
1151
|
-
public:
|
|
1152
|
-
NativeDialogManagerAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1153
|
-
|
|
1154
|
-
};
|
|
1155
|
-
} // namespace react
|
|
1156
|
-
} // namespace facebook
|
|
1157
|
-
|
|
1158
|
-
namespace JS {
|
|
1159
|
-
namespace NativeExceptionsManager {
|
|
1160
|
-
struct StackFrame {
|
|
1161
|
-
folly::Optional<double> column() const;
|
|
1162
|
-
NSString *file() const;
|
|
1163
|
-
folly::Optional<double> lineNumber() const;
|
|
1164
|
-
NSString *methodName() const;
|
|
1165
|
-
folly::Optional<bool> collapse() const;
|
|
1166
|
-
|
|
1167
|
-
StackFrame(NSDictionary *const v) : _v(v) {}
|
|
1168
|
-
private:
|
|
1169
|
-
NSDictionary *_v;
|
|
1170
|
-
};
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
|
|
1174
|
-
@interface RCTCxxConvert (NativeExceptionsManager_StackFrame)
|
|
1175
|
-
+ (RCTManagedPointer *)JS_NativeExceptionsManager_StackFrame:(id)json;
|
|
1176
|
-
@end
|
|
1177
|
-
|
|
1178
|
-
namespace JS {
|
|
1179
|
-
namespace NativeExceptionsManager {
|
|
1180
|
-
struct ExceptionData {
|
|
1181
|
-
NSString *message() const;
|
|
1182
|
-
NSString *originalMessage() const;
|
|
1183
|
-
NSString *name() const;
|
|
1184
|
-
NSString *componentStack() const;
|
|
1185
|
-
facebook::react::LazyVector<JS::NativeExceptionsManager::StackFrame> stack() const;
|
|
1186
|
-
double id_() const;
|
|
1187
|
-
bool isFatal() const;
|
|
1188
|
-
id<NSObject> _Nullable extraData() const;
|
|
1189
|
-
|
|
1190
|
-
ExceptionData(NSDictionary *const v) : _v(v) {}
|
|
1191
|
-
private:
|
|
1192
|
-
NSDictionary *_v;
|
|
1193
|
-
};
|
|
1194
|
-
}
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
@interface RCTCxxConvert (NativeExceptionsManager_ExceptionData)
|
|
1198
|
-
+ (RCTManagedPointer *)JS_NativeExceptionsManager_ExceptionData:(id)json;
|
|
1199
|
-
@end
|
|
1200
|
-
@protocol NativeExceptionsManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
1201
|
-
|
|
1202
|
-
- (void)reportFatalException:(NSString *)message
|
|
1203
|
-
stack:(NSArray *)stack
|
|
1204
|
-
exceptionId:(double)exceptionId;
|
|
1205
|
-
- (void)reportSoftException:(NSString *)message
|
|
1206
|
-
stack:(NSArray *)stack
|
|
1207
|
-
exceptionId:(double)exceptionId;
|
|
1208
|
-
- (void)reportException:(JS::NativeExceptionsManager::ExceptionData &)data;
|
|
1209
|
-
- (void)updateExceptionMessage:(NSString *)message
|
|
1210
|
-
stack:(NSArray *)stack
|
|
1211
|
-
exceptionId:(double)exceptionId;
|
|
1212
|
-
- (void)dismissRedbox;
|
|
1213
|
-
|
|
1214
|
-
@end
|
|
1215
|
-
namespace facebook {
|
|
1216
|
-
namespace react {
|
|
1217
|
-
/**
|
|
1218
|
-
* ObjC++ class for module 'ExceptionsManager'
|
|
1219
|
-
*/
|
|
1220
|
-
|
|
1221
|
-
class JSI_EXPORT NativeExceptionsManagerSpecJSI : public ObjCTurboModule {
|
|
1222
|
-
public:
|
|
1223
|
-
NativeExceptionsManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1224
|
-
|
|
1225
|
-
};
|
|
1226
|
-
} // namespace react
|
|
1227
|
-
} // namespace facebook
|
|
1228
|
-
@protocol NativeFileReaderModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
1229
|
-
|
|
1230
|
-
- (void)readAsDataURL:(NSDictionary *)data
|
|
1231
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1232
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1233
|
-
- (void)readAsText:(NSDictionary *)data
|
|
1234
|
-
encoding:(NSString *)encoding
|
|
1235
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1236
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1237
|
-
|
|
1238
|
-
@end
|
|
1239
|
-
namespace facebook {
|
|
1240
|
-
namespace react {
|
|
1241
|
-
/**
|
|
1242
|
-
* ObjC++ class for module 'FileReaderModule'
|
|
1243
|
-
*/
|
|
1244
|
-
|
|
1245
|
-
class JSI_EXPORT NativeFileReaderModuleSpecJSI : public ObjCTurboModule {
|
|
1246
|
-
public:
|
|
1247
|
-
NativeFileReaderModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1248
|
-
|
|
1249
|
-
};
|
|
1250
|
-
} // namespace react
|
|
1251
|
-
} // namespace facebook
|
|
1252
|
-
|
|
1253
|
-
namespace JS {
|
|
1254
|
-
namespace NativeFrameRateLogger {
|
|
1255
|
-
struct SpecSetGlobalOptionsOptions {
|
|
1256
|
-
folly::Optional<bool> debug() const;
|
|
1257
|
-
folly::Optional<bool> reportStackTraces() const;
|
|
1258
|
-
|
|
1259
|
-
SpecSetGlobalOptionsOptions(NSDictionary *const v) : _v(v) {}
|
|
1260
|
-
private:
|
|
1261
|
-
NSDictionary *_v;
|
|
1262
|
-
};
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
@interface RCTCxxConvert (NativeFrameRateLogger_SpecSetGlobalOptionsOptions)
|
|
1267
|
-
+ (RCTManagedPointer *)JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:(id)json;
|
|
1268
|
-
@end
|
|
1269
|
-
@protocol NativeFrameRateLoggerSpec <RCTBridgeModule, RCTTurboModule>
|
|
1270
|
-
|
|
1271
|
-
- (void)setGlobalOptions:(JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions &)options;
|
|
1272
|
-
- (void)setContext:(NSString *)context;
|
|
1273
|
-
- (void)beginScroll;
|
|
1274
|
-
- (void)endScroll;
|
|
1275
|
-
|
|
1276
|
-
@end
|
|
1277
|
-
namespace facebook {
|
|
1278
|
-
namespace react {
|
|
1279
|
-
/**
|
|
1280
|
-
* ObjC++ class for module 'FrameRateLogger'
|
|
1281
|
-
*/
|
|
1282
|
-
|
|
1283
|
-
class JSI_EXPORT NativeFrameRateLoggerSpecJSI : public ObjCTurboModule {
|
|
1284
|
-
public:
|
|
1285
|
-
NativeFrameRateLoggerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1286
|
-
|
|
1287
|
-
};
|
|
1288
|
-
} // namespace react
|
|
1289
|
-
} // namespace facebook
|
|
1290
|
-
@protocol NativeHeadlessJsTaskSupportSpec <RCTBridgeModule, RCTTurboModule>
|
|
1291
|
-
|
|
1292
|
-
- (void)notifyTaskFinished:(double)taskId;
|
|
1293
|
-
- (void)notifyTaskRetry:(double)taskId
|
|
1294
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1295
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1296
|
-
|
|
1297
|
-
@end
|
|
1298
|
-
namespace facebook {
|
|
1299
|
-
namespace react {
|
|
1300
|
-
/**
|
|
1301
|
-
* ObjC++ class for module 'HeadlessJsTaskSupport'
|
|
1302
|
-
*/
|
|
1303
|
-
|
|
1304
|
-
class JSI_EXPORT NativeHeadlessJsTaskSupportSpecJSI : public ObjCTurboModule {
|
|
1305
|
-
public:
|
|
1306
|
-
NativeHeadlessJsTaskSupportSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1307
|
-
|
|
1308
|
-
};
|
|
1309
|
-
} // namespace react
|
|
1310
|
-
} // namespace facebook
|
|
1311
|
-
|
|
1312
|
-
namespace JS {
|
|
1313
|
-
namespace NativeI18nManager {
|
|
1314
|
-
struct Constants {
|
|
1315
|
-
|
|
1316
|
-
struct Builder {
|
|
1317
|
-
struct Input {
|
|
1318
|
-
RCTRequired<bool> isRTL;
|
|
1319
|
-
RCTRequired<bool> doLeftAndRightSwapInRTL;
|
|
1320
|
-
};
|
|
1321
|
-
|
|
1322
|
-
/** Initialize with a set of values */
|
|
1323
|
-
Builder(const Input i);
|
|
1324
|
-
/** Initialize with an existing Constants */
|
|
1325
|
-
Builder(Constants i);
|
|
1326
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1327
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1328
|
-
private:
|
|
1329
|
-
NSDictionary *(^_factory)(void);
|
|
1330
|
-
};
|
|
1331
|
-
|
|
1332
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1333
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1334
|
-
private:
|
|
1335
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
1336
|
-
NSDictionary *_v;
|
|
1337
|
-
};
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
@protocol NativeI18nManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
1341
|
-
|
|
1342
|
-
- (void)allowRTL:(BOOL)allowRTL;
|
|
1343
|
-
- (void)forceRTL:(BOOL)forceRTL;
|
|
1344
|
-
- (void)swapLeftAndRightInRTL:(BOOL)flipStyles;
|
|
1345
|
-
- (facebook::react::ModuleConstants<JS::NativeI18nManager::Constants::Builder>)constantsToExport;
|
|
1346
|
-
- (facebook::react::ModuleConstants<JS::NativeI18nManager::Constants::Builder>)getConstants;
|
|
1347
|
-
|
|
1348
|
-
@end
|
|
1349
|
-
namespace facebook {
|
|
1350
|
-
namespace react {
|
|
1351
|
-
/**
|
|
1352
|
-
* ObjC++ class for module 'I18nManager'
|
|
1353
|
-
*/
|
|
1354
|
-
|
|
1355
|
-
class JSI_EXPORT NativeI18nManagerSpecJSI : public ObjCTurboModule {
|
|
1356
|
-
public:
|
|
1357
|
-
NativeI18nManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1358
|
-
|
|
1359
|
-
};
|
|
1360
|
-
} // namespace react
|
|
1361
|
-
} // namespace facebook
|
|
1362
|
-
|
|
1363
|
-
namespace JS {
|
|
1364
|
-
namespace NativeImageEditor {
|
|
1365
|
-
struct OptionsOffset {
|
|
1366
|
-
double x() const;
|
|
1367
|
-
double y() const;
|
|
1368
|
-
|
|
1369
|
-
OptionsOffset(NSDictionary *const v) : _v(v) {}
|
|
1370
|
-
private:
|
|
1371
|
-
NSDictionary *_v;
|
|
1372
|
-
};
|
|
1373
|
-
}
|
|
1374
|
-
}
|
|
1375
|
-
|
|
1376
|
-
@interface RCTCxxConvert (NativeImageEditor_OptionsOffset)
|
|
1377
|
-
+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsOffset:(id)json;
|
|
1378
|
-
@end
|
|
1379
|
-
|
|
1380
|
-
namespace JS {
|
|
1381
|
-
namespace NativeImageEditor {
|
|
1382
|
-
struct OptionsSize {
|
|
1383
|
-
double width() const;
|
|
1384
|
-
double height() const;
|
|
1385
|
-
|
|
1386
|
-
OptionsSize(NSDictionary *const v) : _v(v) {}
|
|
1387
|
-
private:
|
|
1388
|
-
NSDictionary *_v;
|
|
1389
|
-
};
|
|
1390
|
-
}
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
@interface RCTCxxConvert (NativeImageEditor_OptionsSize)
|
|
1394
|
-
+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsSize:(id)json;
|
|
1395
|
-
@end
|
|
1396
|
-
|
|
1397
|
-
namespace JS {
|
|
1398
|
-
namespace NativeImageEditor {
|
|
1399
|
-
struct OptionsDisplaySize {
|
|
1400
|
-
double width() const;
|
|
1401
|
-
double height() const;
|
|
1402
|
-
|
|
1403
|
-
OptionsDisplaySize(NSDictionary *const v) : _v(v) {}
|
|
1404
|
-
private:
|
|
1405
|
-
NSDictionary *_v;
|
|
1406
|
-
};
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
@interface RCTCxxConvert (NativeImageEditor_OptionsDisplaySize)
|
|
1411
|
-
+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsDisplaySize:(id)json;
|
|
1412
|
-
@end
|
|
1413
|
-
|
|
1414
|
-
namespace JS {
|
|
1415
|
-
namespace NativeImageEditor {
|
|
1416
|
-
struct Options {
|
|
1417
|
-
JS::NativeImageEditor::OptionsOffset offset() const;
|
|
1418
|
-
JS::NativeImageEditor::OptionsSize size() const;
|
|
1419
|
-
folly::Optional<JS::NativeImageEditor::OptionsDisplaySize> displaySize() const;
|
|
1420
|
-
NSString *resizeMode() const;
|
|
1421
|
-
folly::Optional<bool> allowExternalStorage() const;
|
|
1422
|
-
|
|
1423
|
-
Options(NSDictionary *const v) : _v(v) {}
|
|
1424
|
-
private:
|
|
1425
|
-
NSDictionary *_v;
|
|
1426
|
-
};
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
@interface RCTCxxConvert (NativeImageEditor_Options)
|
|
1431
|
-
+ (RCTManagedPointer *)JS_NativeImageEditor_Options:(id)json;
|
|
1432
|
-
@end
|
|
1433
|
-
@protocol NativeImageEditorSpec <RCTBridgeModule, RCTTurboModule>
|
|
1434
|
-
|
|
1435
|
-
- (void)cropImage:(NSString *)uri
|
|
1436
|
-
cropData:(JS::NativeImageEditor::Options &)cropData
|
|
1437
|
-
successCallback:(RCTResponseSenderBlock)successCallback
|
|
1438
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback;
|
|
1439
|
-
|
|
1440
|
-
@end
|
|
1441
|
-
namespace facebook {
|
|
1442
|
-
namespace react {
|
|
1443
|
-
/**
|
|
1444
|
-
* ObjC++ class for module 'ImageEditor'
|
|
1445
|
-
*/
|
|
1446
|
-
|
|
1447
|
-
class JSI_EXPORT NativeImageEditorSpecJSI : public ObjCTurboModule {
|
|
1448
|
-
public:
|
|
1449
|
-
NativeImageEditorSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1450
|
-
|
|
1451
|
-
};
|
|
1452
|
-
} // namespace react
|
|
1453
|
-
} // namespace facebook
|
|
1454
|
-
@protocol NativeImageLoaderAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
1455
|
-
|
|
1456
|
-
- (void)abortRequest:(double)requestId;
|
|
1457
|
-
- (void)getSize:(NSString *)uri
|
|
1458
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1459
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1460
|
-
- (void)getSizeWithHeaders:(NSString *)uri
|
|
1461
|
-
headers:(NSDictionary *)headers
|
|
1462
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1463
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1464
|
-
- (void)prefetchImage:(NSString *)uri
|
|
1465
|
-
requestId:(double)requestId
|
|
1466
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1467
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1468
|
-
- (void)queryCache:(NSArray *)uris
|
|
1469
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1470
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1471
|
-
|
|
1472
|
-
@end
|
|
1473
|
-
namespace facebook {
|
|
1474
|
-
namespace react {
|
|
1475
|
-
/**
|
|
1476
|
-
* ObjC++ class for module 'ImageLoaderAndroid'
|
|
1477
|
-
*/
|
|
1478
|
-
|
|
1479
|
-
class JSI_EXPORT NativeImageLoaderAndroidSpecJSI : public ObjCTurboModule {
|
|
1480
|
-
public:
|
|
1481
|
-
NativeImageLoaderAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1482
|
-
|
|
1483
|
-
};
|
|
1484
|
-
} // namespace react
|
|
1485
|
-
} // namespace facebook
|
|
1486
|
-
@protocol NativeImageLoaderIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
1487
|
-
|
|
1488
|
-
- (void)getSize:(NSString *)uri
|
|
1489
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1490
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1491
|
-
- (void)getSizeWithHeaders:(NSString *)uri
|
|
1492
|
-
headers:(NSDictionary *)headers
|
|
1493
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1494
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1495
|
-
- (void)prefetchImage:(NSString *)uri
|
|
1496
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1497
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1498
|
-
- (void)queryCache:(NSArray *)uris
|
|
1499
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1500
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1501
|
-
|
|
1502
|
-
@end
|
|
1503
|
-
namespace facebook {
|
|
1504
|
-
namespace react {
|
|
1505
|
-
/**
|
|
1506
|
-
* ObjC++ class for module 'ImageLoaderIOS'
|
|
1507
|
-
*/
|
|
1508
|
-
|
|
1509
|
-
class JSI_EXPORT NativeImageLoaderIOSSpecJSI : public ObjCTurboModule {
|
|
1510
|
-
public:
|
|
1511
|
-
NativeImageLoaderIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1512
|
-
|
|
1513
|
-
};
|
|
1514
|
-
} // namespace react
|
|
1515
|
-
} // namespace facebook
|
|
1516
|
-
|
|
1517
|
-
namespace JS {
|
|
1518
|
-
namespace NativeImagePickerIOS {
|
|
1519
|
-
struct SpecOpenCameraDialogConfig {
|
|
1520
|
-
bool unmirrorFrontFacingCamera() const;
|
|
1521
|
-
bool videoMode() const;
|
|
1522
|
-
|
|
1523
|
-
SpecOpenCameraDialogConfig(NSDictionary *const v) : _v(v) {}
|
|
1524
|
-
private:
|
|
1525
|
-
NSDictionary *_v;
|
|
1526
|
-
};
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
@interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenCameraDialogConfig)
|
|
1531
|
-
+ (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenCameraDialogConfig:(id)json;
|
|
1532
|
-
@end
|
|
1533
|
-
|
|
1534
|
-
namespace JS {
|
|
1535
|
-
namespace NativeImagePickerIOS {
|
|
1536
|
-
struct SpecOpenSelectDialogConfig {
|
|
1537
|
-
bool showImages() const;
|
|
1538
|
-
bool showVideos() const;
|
|
1539
|
-
|
|
1540
|
-
SpecOpenSelectDialogConfig(NSDictionary *const v) : _v(v) {}
|
|
1541
|
-
private:
|
|
1542
|
-
NSDictionary *_v;
|
|
1543
|
-
};
|
|
1544
|
-
}
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
@interface RCTCxxConvert (NativeImagePickerIOS_SpecOpenSelectDialogConfig)
|
|
1548
|
-
+ (RCTManagedPointer *)JS_NativeImagePickerIOS_SpecOpenSelectDialogConfig:(id)json;
|
|
1549
|
-
@end
|
|
1550
|
-
@protocol NativeImagePickerIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
1551
|
-
|
|
1552
|
-
- (void)canRecordVideos:(RCTResponseSenderBlock)callback;
|
|
1553
|
-
- (void)canUseCamera:(RCTResponseSenderBlock)callback;
|
|
1554
|
-
- (void)openCameraDialog:(JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig &)config
|
|
1555
|
-
successCallback:(RCTResponseSenderBlock)successCallback
|
|
1556
|
-
cancelCallback:(RCTResponseSenderBlock)cancelCallback;
|
|
1557
|
-
- (void)openSelectDialog:(JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig &)config
|
|
1558
|
-
successCallback:(RCTResponseSenderBlock)successCallback
|
|
1559
|
-
cancelCallback:(RCTResponseSenderBlock)cancelCallback;
|
|
1560
|
-
- (void)clearAllPendingVideos;
|
|
1561
|
-
- (void)removePendingVideo:(NSString *)url;
|
|
1562
|
-
|
|
1563
|
-
@end
|
|
1564
|
-
namespace facebook {
|
|
1565
|
-
namespace react {
|
|
1566
|
-
/**
|
|
1567
|
-
* ObjC++ class for module 'ImagePickerIOS'
|
|
1568
|
-
*/
|
|
1569
|
-
|
|
1570
|
-
class JSI_EXPORT NativeImagePickerIOSSpecJSI : public ObjCTurboModule {
|
|
1571
|
-
public:
|
|
1572
|
-
NativeImagePickerIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1573
|
-
|
|
1574
|
-
};
|
|
1575
|
-
} // namespace react
|
|
1576
|
-
} // namespace facebook
|
|
1577
|
-
|
|
1578
|
-
namespace JS {
|
|
1579
|
-
namespace NativeImageStore {
|
|
1580
|
-
struct SpecAddImageFromBase64ErrorCallbackError {
|
|
1581
|
-
NSString *message() const;
|
|
1582
|
-
|
|
1583
|
-
SpecAddImageFromBase64ErrorCallbackError(NSDictionary *const v) : _v(v) {}
|
|
1584
|
-
private:
|
|
1585
|
-
NSDictionary *_v;
|
|
1586
|
-
};
|
|
1587
|
-
}
|
|
1588
|
-
}
|
|
1589
|
-
|
|
1590
|
-
@interface RCTCxxConvert (NativeImageStore_SpecAddImageFromBase64ErrorCallbackError)
|
|
1591
|
-
+ (RCTManagedPointer *)JS_NativeImageStore_SpecAddImageFromBase64ErrorCallbackError:(id)json;
|
|
1592
|
-
@end
|
|
1593
|
-
@protocol NativeImageStoreSpec <RCTBridgeModule, RCTTurboModule>
|
|
1594
|
-
|
|
1595
|
-
- (void)getBase64ForTag:(NSString *)uri
|
|
1596
|
-
successCallback:(RCTResponseSenderBlock)successCallback
|
|
1597
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback;
|
|
1598
|
-
- (void)hasImageForTag:(NSString *)uri
|
|
1599
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
1600
|
-
- (void)removeImageForTag:(NSString *)uri;
|
|
1601
|
-
- (void)addImageFromBase64:(NSString *)base64ImageData
|
|
1602
|
-
successCallback:(RCTResponseSenderBlock)successCallback
|
|
1603
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback;
|
|
1604
|
-
|
|
1605
|
-
@end
|
|
1606
|
-
namespace facebook {
|
|
1607
|
-
namespace react {
|
|
1608
|
-
/**
|
|
1609
|
-
* ObjC++ class for module 'ImageStore'
|
|
1610
|
-
*/
|
|
1611
|
-
|
|
1612
|
-
class JSI_EXPORT NativeImageStoreSpecJSI : public ObjCTurboModule {
|
|
1613
|
-
public:
|
|
1614
|
-
NativeImageStoreSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1615
|
-
|
|
1616
|
-
};
|
|
1617
|
-
} // namespace react
|
|
1618
|
-
} // namespace facebook
|
|
1619
|
-
@protocol NativeJSCHeapCaptureSpec <RCTBridgeModule, RCTTurboModule>
|
|
1620
|
-
|
|
1621
|
-
- (void)captureComplete:(NSString *)path
|
|
1622
|
-
error:(NSString * _Nullable)error;
|
|
1623
|
-
|
|
1624
|
-
@end
|
|
1625
|
-
namespace facebook {
|
|
1626
|
-
namespace react {
|
|
1627
|
-
/**
|
|
1628
|
-
* ObjC++ class for module 'JSCHeapCapture'
|
|
1629
|
-
*/
|
|
1630
|
-
|
|
1631
|
-
class JSI_EXPORT NativeJSCHeapCaptureSpecJSI : public ObjCTurboModule {
|
|
1632
|
-
public:
|
|
1633
|
-
NativeJSCHeapCaptureSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1634
|
-
|
|
1635
|
-
};
|
|
1636
|
-
} // namespace react
|
|
1637
|
-
} // namespace facebook
|
|
1638
|
-
@protocol NativeJSCSamplingProfilerSpec <RCTBridgeModule, RCTTurboModule>
|
|
1639
|
-
|
|
1640
|
-
- (void)operationComplete:(double)token
|
|
1641
|
-
result:(NSString * _Nullable)result
|
|
1642
|
-
error:(NSString * _Nullable)error;
|
|
1643
|
-
|
|
1644
|
-
@end
|
|
1645
|
-
namespace facebook {
|
|
1646
|
-
namespace react {
|
|
1647
|
-
/**
|
|
1648
|
-
* ObjC++ class for module 'JSCSamplingProfiler'
|
|
1649
|
-
*/
|
|
1650
|
-
|
|
1651
|
-
class JSI_EXPORT NativeJSCSamplingProfilerSpecJSI : public ObjCTurboModule {
|
|
1652
|
-
public:
|
|
1653
|
-
NativeJSCSamplingProfilerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1654
|
-
|
|
1655
|
-
};
|
|
1656
|
-
} // namespace react
|
|
1657
|
-
} // namespace facebook
|
|
1658
|
-
|
|
1659
|
-
namespace JS {
|
|
1660
|
-
namespace NativeJSDevSupport {
|
|
1661
|
-
struct Constants {
|
|
1662
|
-
|
|
1663
|
-
struct Builder {
|
|
1664
|
-
struct Input {
|
|
1665
|
-
RCTRequired<double> ERROR_CODE_EXCEPTION;
|
|
1666
|
-
RCTRequired<double> ERROR_CODE_VIEW_NOT_FOUND;
|
|
1667
|
-
};
|
|
1668
|
-
|
|
1669
|
-
/** Initialize with a set of values */
|
|
1670
|
-
Builder(const Input i);
|
|
1671
|
-
/** Initialize with an existing Constants */
|
|
1672
|
-
Builder(Constants i);
|
|
1673
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1674
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1675
|
-
private:
|
|
1676
|
-
NSDictionary *(^_factory)(void);
|
|
1677
|
-
};
|
|
1678
|
-
|
|
1679
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1680
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1681
|
-
private:
|
|
1682
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
1683
|
-
NSDictionary *_v;
|
|
1684
|
-
};
|
|
1685
|
-
}
|
|
1686
|
-
}
|
|
1687
|
-
@protocol NativeJSDevSupportSpec <RCTBridgeModule, RCTTurboModule>
|
|
1688
|
-
|
|
1689
|
-
- (void)onSuccess:(NSString *)data;
|
|
1690
|
-
- (void)onFailure:(double)errorCode
|
|
1691
|
-
error:(NSString *)error;
|
|
1692
|
-
- (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)constantsToExport;
|
|
1693
|
-
- (facebook::react::ModuleConstants<JS::NativeJSDevSupport::Constants::Builder>)getConstants;
|
|
1694
|
-
|
|
1695
|
-
@end
|
|
1696
|
-
namespace facebook {
|
|
1697
|
-
namespace react {
|
|
1698
|
-
/**
|
|
1699
|
-
* ObjC++ class for module 'JSDevSupport'
|
|
1700
|
-
*/
|
|
1701
|
-
|
|
1702
|
-
class JSI_EXPORT NativeJSDevSupportSpecJSI : public ObjCTurboModule {
|
|
1703
|
-
public:
|
|
1704
|
-
NativeJSDevSupportSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1705
|
-
|
|
1706
|
-
};
|
|
1707
|
-
} // namespace react
|
|
1708
|
-
} // namespace facebook
|
|
1709
|
-
@protocol NativeKeyboardObserverSpec <RCTBridgeModule, RCTTurboModule>
|
|
1710
|
-
|
|
1711
|
-
- (void)addListener:(NSString *)eventName;
|
|
1712
|
-
- (void)removeListeners:(double)count;
|
|
1713
|
-
|
|
1714
|
-
@end
|
|
1715
|
-
namespace facebook {
|
|
1716
|
-
namespace react {
|
|
1717
|
-
/**
|
|
1718
|
-
* ObjC++ class for module 'KeyboardObserver'
|
|
1719
|
-
*/
|
|
1720
|
-
|
|
1721
|
-
class JSI_EXPORT NativeKeyboardObserverSpecJSI : public ObjCTurboModule {
|
|
1722
|
-
public:
|
|
1723
|
-
NativeKeyboardObserverSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1724
|
-
|
|
1725
|
-
};
|
|
1726
|
-
} // namespace react
|
|
1727
|
-
} // namespace facebook
|
|
1728
|
-
|
|
1729
|
-
namespace JS {
|
|
1730
|
-
namespace NativeLinking {
|
|
1731
|
-
struct SpecSendIntentExtrasElement {
|
|
1732
|
-
NSString *key() const;
|
|
1733
|
-
id<NSObject> value() const;
|
|
1734
|
-
|
|
1735
|
-
SpecSendIntentExtrasElement(NSDictionary *const v) : _v(v) {}
|
|
1736
|
-
private:
|
|
1737
|
-
NSDictionary *_v;
|
|
1738
|
-
};
|
|
1739
|
-
}
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
@interface RCTCxxConvert (NativeLinking_SpecSendIntentExtrasElement)
|
|
1743
|
-
+ (RCTManagedPointer *)JS_NativeLinking_SpecSendIntentExtrasElement:(id)json;
|
|
1744
|
-
@end
|
|
1745
|
-
@protocol NativeLinkingSpec <RCTBridgeModule, RCTTurboModule>
|
|
1746
|
-
|
|
1747
|
-
- (void)getInitialURL:(RCTPromiseResolveBlock)resolve
|
|
1748
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1749
|
-
- (void)canOpenURL:(NSString *)url
|
|
1750
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1751
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1752
|
-
- (void)openURL:(NSString *)url
|
|
1753
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1754
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1755
|
-
- (void)openSettings:(RCTPromiseResolveBlock)resolve
|
|
1756
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1757
|
-
- (void)sendIntent:(NSString *)action
|
|
1758
|
-
extras:(NSArray *_Nullable)extras
|
|
1759
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1760
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1761
|
-
- (void)addListener:(NSString *)eventName;
|
|
1762
|
-
- (void)removeListeners:(double)count;
|
|
1763
|
-
|
|
1764
|
-
@end
|
|
1765
|
-
namespace facebook {
|
|
1766
|
-
namespace react {
|
|
1767
|
-
/**
|
|
1768
|
-
* ObjC++ class for module 'Linking'
|
|
1769
|
-
*/
|
|
1770
|
-
|
|
1771
|
-
class JSI_EXPORT NativeLinkingSpecJSI : public ObjCTurboModule {
|
|
1772
|
-
public:
|
|
1773
|
-
NativeLinkingSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1774
|
-
|
|
1775
|
-
};
|
|
1776
|
-
} // namespace react
|
|
1777
|
-
} // namespace facebook
|
|
1778
|
-
@protocol NativeLogBoxSpec <RCTBridgeModule, RCTTurboModule>
|
|
1779
|
-
|
|
1780
|
-
- (void)show;
|
|
1781
|
-
- (void)hide;
|
|
1782
|
-
|
|
1783
|
-
@end
|
|
1784
|
-
namespace facebook {
|
|
1785
|
-
namespace react {
|
|
1786
|
-
/**
|
|
1787
|
-
* ObjC++ class for module 'LogBox'
|
|
1788
|
-
*/
|
|
1789
|
-
|
|
1790
|
-
class JSI_EXPORT NativeLogBoxSpecJSI : public ObjCTurboModule {
|
|
1791
|
-
public:
|
|
1792
|
-
NativeLogBoxSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1793
|
-
|
|
1794
|
-
};
|
|
1795
|
-
} // namespace react
|
|
1796
|
-
} // namespace facebook
|
|
1797
|
-
@protocol NativeModalManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
1798
|
-
|
|
1799
|
-
- (void)addListener:(NSString *)eventName;
|
|
1800
|
-
- (void)removeListeners:(double)count;
|
|
1801
|
-
|
|
1802
|
-
@end
|
|
1803
|
-
namespace facebook {
|
|
1804
|
-
namespace react {
|
|
1805
|
-
/**
|
|
1806
|
-
* ObjC++ class for module 'ModalManager'
|
|
1807
|
-
*/
|
|
1808
|
-
|
|
1809
|
-
class JSI_EXPORT NativeModalManagerSpecJSI : public ObjCTurboModule {
|
|
1810
|
-
public:
|
|
1811
|
-
NativeModalManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1812
|
-
|
|
1813
|
-
};
|
|
1814
|
-
} // namespace react
|
|
1815
|
-
} // namespace facebook
|
|
1816
|
-
@protocol NativeNetworkingAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
1817
|
-
|
|
1818
|
-
- (void)sendRequest:(NSString *)method
|
|
1819
|
-
url:(NSString *)url
|
|
1820
|
-
requestId:(double)requestId
|
|
1821
|
-
headers:(NSArray *)headers
|
|
1822
|
-
data:(NSDictionary *)data
|
|
1823
|
-
responseType:(NSString *)responseType
|
|
1824
|
-
useIncrementalUpdates:(BOOL)useIncrementalUpdates
|
|
1825
|
-
timeout:(double)timeout
|
|
1826
|
-
withCredentials:(BOOL)withCredentials;
|
|
1827
|
-
- (void)abortRequest:(double)requestId;
|
|
1828
|
-
- (void)clearCookies:(RCTResponseSenderBlock)callback;
|
|
1829
|
-
- (void)addListener:(NSString *)eventName;
|
|
1830
|
-
- (void)removeListeners:(double)count;
|
|
1831
|
-
|
|
1832
|
-
@end
|
|
1833
|
-
namespace facebook {
|
|
1834
|
-
namespace react {
|
|
1835
|
-
/**
|
|
1836
|
-
* ObjC++ class for module 'NetworkingAndroid'
|
|
1837
|
-
*/
|
|
1838
|
-
|
|
1839
|
-
class JSI_EXPORT NativeNetworkingAndroidSpecJSI : public ObjCTurboModule {
|
|
1840
|
-
public:
|
|
1841
|
-
NativeNetworkingAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1842
|
-
|
|
1843
|
-
};
|
|
1844
|
-
} // namespace react
|
|
1845
|
-
} // namespace facebook
|
|
1846
|
-
|
|
1847
|
-
namespace JS {
|
|
1848
|
-
namespace NativeNetworkingIOS {
|
|
1849
|
-
struct SpecSendRequestQuery {
|
|
1850
|
-
NSString *method() const;
|
|
1851
|
-
NSString *url() const;
|
|
1852
|
-
id<NSObject> data() const;
|
|
1853
|
-
id<NSObject> headers() const;
|
|
1854
|
-
NSString *responseType() const;
|
|
1855
|
-
bool incrementalUpdates() const;
|
|
1856
|
-
double timeout() const;
|
|
1857
|
-
bool withCredentials() const;
|
|
1858
|
-
|
|
1859
|
-
SpecSendRequestQuery(NSDictionary *const v) : _v(v) {}
|
|
1860
|
-
private:
|
|
1861
|
-
NSDictionary *_v;
|
|
1862
|
-
};
|
|
1863
|
-
}
|
|
1864
|
-
}
|
|
1865
|
-
|
|
1866
|
-
@interface RCTCxxConvert (NativeNetworkingIOS_SpecSendRequestQuery)
|
|
1867
|
-
+ (RCTManagedPointer *)JS_NativeNetworkingIOS_SpecSendRequestQuery:(id)json;
|
|
1868
|
-
@end
|
|
1869
|
-
@protocol NativeNetworkingIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
1870
|
-
|
|
1871
|
-
- (void)sendRequest:(JS::NativeNetworkingIOS::SpecSendRequestQuery &)query
|
|
1872
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
1873
|
-
- (void)abortRequest:(double)requestId;
|
|
1874
|
-
- (void)clearCookies:(RCTResponseSenderBlock)callback;
|
|
1875
|
-
- (void)addListener:(NSString *)eventName;
|
|
1876
|
-
- (void)removeListeners:(double)count;
|
|
1877
|
-
|
|
1878
|
-
@end
|
|
1879
|
-
namespace facebook {
|
|
1880
|
-
namespace react {
|
|
1881
|
-
/**
|
|
1882
|
-
* ObjC++ class for module 'NetworkingIOS'
|
|
1883
|
-
*/
|
|
1884
|
-
|
|
1885
|
-
class JSI_EXPORT NativeNetworkingIOSSpecJSI : public ObjCTurboModule {
|
|
1886
|
-
public:
|
|
1887
|
-
NativeNetworkingIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1888
|
-
|
|
1889
|
-
};
|
|
1890
|
-
} // namespace react
|
|
1891
|
-
} // namespace facebook
|
|
1892
|
-
@protocol NativePermissionsAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
1893
|
-
|
|
1894
|
-
- (void)checkPermission:(NSString *)permission
|
|
1895
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1896
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1897
|
-
- (void)requestPermission:(NSString *)permission
|
|
1898
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1899
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1900
|
-
- (void)shouldShowRequestPermissionRationale:(NSString *)permission
|
|
1901
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1902
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1903
|
-
- (void)requestMultiplePermissions:(NSArray *)permissions
|
|
1904
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
1905
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
1906
|
-
|
|
1907
|
-
@end
|
|
1908
|
-
namespace facebook {
|
|
1909
|
-
namespace react {
|
|
1910
|
-
/**
|
|
1911
|
-
* ObjC++ class for module 'PermissionsAndroid'
|
|
1912
|
-
*/
|
|
1913
|
-
|
|
1914
|
-
class JSI_EXPORT NativePermissionsAndroidSpecJSI : public ObjCTurboModule {
|
|
1915
|
-
public:
|
|
1916
|
-
NativePermissionsAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
1917
|
-
|
|
1918
|
-
};
|
|
1919
|
-
} // namespace react
|
|
1920
|
-
} // namespace facebook
|
|
1921
|
-
|
|
1922
|
-
namespace JS {
|
|
1923
|
-
namespace NativePlatformConstantsAndroid {
|
|
1924
|
-
struct ConstantsReactNativeVersion {
|
|
1925
|
-
|
|
1926
|
-
struct Builder {
|
|
1927
|
-
struct Input {
|
|
1928
|
-
RCTRequired<double> major;
|
|
1929
|
-
RCTRequired<double> minor;
|
|
1930
|
-
RCTRequired<double> patch;
|
|
1931
|
-
RCTRequired<folly::Optional<double>> prerelease;
|
|
1932
|
-
};
|
|
1933
|
-
|
|
1934
|
-
/** Initialize with a set of values */
|
|
1935
|
-
Builder(const Input i);
|
|
1936
|
-
/** Initialize with an existing ConstantsReactNativeVersion */
|
|
1937
|
-
Builder(ConstantsReactNativeVersion i);
|
|
1938
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1939
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1940
|
-
private:
|
|
1941
|
-
NSDictionary *(^_factory)(void);
|
|
1942
|
-
};
|
|
1943
|
-
|
|
1944
|
-
static ConstantsReactNativeVersion fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1945
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1946
|
-
private:
|
|
1947
|
-
ConstantsReactNativeVersion(NSDictionary *const v) : _v(v) {}
|
|
1948
|
-
NSDictionary *_v;
|
|
1949
|
-
};
|
|
1950
|
-
}
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
namespace JS {
|
|
1954
|
-
namespace NativePlatformConstantsAndroid {
|
|
1955
|
-
struct Constants {
|
|
1956
|
-
|
|
1957
|
-
struct Builder {
|
|
1958
|
-
struct Input {
|
|
1959
|
-
RCTRequired<bool> isTesting;
|
|
1960
|
-
RCTRequired<JS::NativePlatformConstantsAndroid::ConstantsReactNativeVersion::Builder> reactNativeVersion;
|
|
1961
|
-
RCTRequired<double> Version;
|
|
1962
|
-
RCTRequired<NSString *> Release;
|
|
1963
|
-
RCTRequired<NSString *> Serial;
|
|
1964
|
-
RCTRequired<NSString *> Fingerprint;
|
|
1965
|
-
RCTRequired<NSString *> Model;
|
|
1966
|
-
NSString *ServerHost;
|
|
1967
|
-
RCTRequired<NSString *> uiMode;
|
|
1968
|
-
};
|
|
1969
|
-
|
|
1970
|
-
/** Initialize with a set of values */
|
|
1971
|
-
Builder(const Input i);
|
|
1972
|
-
/** Initialize with an existing Constants */
|
|
1973
|
-
Builder(Constants i);
|
|
1974
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
1975
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
1976
|
-
private:
|
|
1977
|
-
NSDictionary *(^_factory)(void);
|
|
1978
|
-
};
|
|
1979
|
-
|
|
1980
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
1981
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
1982
|
-
private:
|
|
1983
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
1984
|
-
NSDictionary *_v;
|
|
1985
|
-
};
|
|
1986
|
-
}
|
|
1987
|
-
}
|
|
1988
|
-
@protocol NativePlatformConstantsAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
1989
|
-
|
|
1990
|
-
- (NSString *)getAndroidID;
|
|
1991
|
-
- (facebook::react::ModuleConstants<JS::NativePlatformConstantsAndroid::Constants::Builder>)constantsToExport;
|
|
1992
|
-
- (facebook::react::ModuleConstants<JS::NativePlatformConstantsAndroid::Constants::Builder>)getConstants;
|
|
1993
|
-
|
|
1994
|
-
@end
|
|
1995
|
-
namespace facebook {
|
|
1996
|
-
namespace react {
|
|
1997
|
-
/**
|
|
1998
|
-
* ObjC++ class for module 'PlatformConstantsAndroid'
|
|
1999
|
-
*/
|
|
2000
|
-
|
|
2001
|
-
class JSI_EXPORT NativePlatformConstantsAndroidSpecJSI : public ObjCTurboModule {
|
|
2002
|
-
public:
|
|
2003
|
-
NativePlatformConstantsAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2004
|
-
|
|
2005
|
-
};
|
|
2006
|
-
} // namespace react
|
|
2007
|
-
} // namespace facebook
|
|
2008
|
-
|
|
2009
|
-
namespace JS {
|
|
2010
|
-
namespace NativePlatformConstantsIOS {
|
|
2011
|
-
struct ConstantsReactNativeVersion {
|
|
2012
|
-
|
|
2013
|
-
struct Builder {
|
|
2014
|
-
struct Input {
|
|
2015
|
-
RCTRequired<double> major;
|
|
2016
|
-
RCTRequired<double> minor;
|
|
2017
|
-
RCTRequired<double> patch;
|
|
2018
|
-
RCTRequired<folly::Optional<double>> prerelease;
|
|
2019
|
-
};
|
|
2020
|
-
|
|
2021
|
-
/** Initialize with a set of values */
|
|
2022
|
-
Builder(const Input i);
|
|
2023
|
-
/** Initialize with an existing ConstantsReactNativeVersion */
|
|
2024
|
-
Builder(ConstantsReactNativeVersion i);
|
|
2025
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2026
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2027
|
-
private:
|
|
2028
|
-
NSDictionary *(^_factory)(void);
|
|
2029
|
-
};
|
|
2030
|
-
|
|
2031
|
-
static ConstantsReactNativeVersion fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2032
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2033
|
-
private:
|
|
2034
|
-
ConstantsReactNativeVersion(NSDictionary *const v) : _v(v) {}
|
|
2035
|
-
NSDictionary *_v;
|
|
2036
|
-
};
|
|
2037
|
-
}
|
|
2038
|
-
}
|
|
2039
|
-
|
|
2040
|
-
namespace JS {
|
|
2041
|
-
namespace NativePlatformConstantsIOS {
|
|
2042
|
-
struct Constants {
|
|
2043
|
-
|
|
2044
|
-
struct Builder {
|
|
2045
|
-
struct Input {
|
|
2046
|
-
RCTRequired<bool> isTesting;
|
|
2047
|
-
RCTRequired<JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder> reactNativeVersion;
|
|
2048
|
-
RCTRequired<bool> forceTouchAvailable;
|
|
2049
|
-
RCTRequired<NSString *> osVersion;
|
|
2050
|
-
RCTRequired<NSString *> systemName;
|
|
2051
|
-
RCTRequired<NSString *> interfaceIdiom;
|
|
2052
|
-
};
|
|
2053
|
-
|
|
2054
|
-
/** Initialize with a set of values */
|
|
2055
|
-
Builder(const Input i);
|
|
2056
|
-
/** Initialize with an existing Constants */
|
|
2057
|
-
Builder(Constants i);
|
|
2058
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2059
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2060
|
-
private:
|
|
2061
|
-
NSDictionary *(^_factory)(void);
|
|
2062
|
-
};
|
|
2063
|
-
|
|
2064
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2065
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2066
|
-
private:
|
|
2067
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2068
|
-
NSDictionary *_v;
|
|
2069
|
-
};
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
@protocol NativePlatformConstantsIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
2073
|
-
|
|
2074
|
-
- (facebook::react::ModuleConstants<JS::NativePlatformConstantsIOS::Constants::Builder>)constantsToExport;
|
|
2075
|
-
- (facebook::react::ModuleConstants<JS::NativePlatformConstantsIOS::Constants::Builder>)getConstants;
|
|
2076
|
-
|
|
2077
|
-
@end
|
|
2078
|
-
namespace facebook {
|
|
2079
|
-
namespace react {
|
|
2080
|
-
/**
|
|
2081
|
-
* ObjC++ class for module 'PlatformConstantsIOS'
|
|
2082
|
-
*/
|
|
2083
|
-
|
|
2084
|
-
class JSI_EXPORT NativePlatformConstantsIOSSpecJSI : public ObjCTurboModule {
|
|
2085
|
-
public:
|
|
2086
|
-
NativePlatformConstantsIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2087
|
-
|
|
2088
|
-
};
|
|
2089
|
-
} // namespace react
|
|
2090
|
-
} // namespace facebook
|
|
2091
|
-
|
|
2092
|
-
namespace JS {
|
|
2093
|
-
namespace NativePushNotificationManagerIOS {
|
|
2094
|
-
struct SpecRequestPermissionsPermission {
|
|
2095
|
-
bool alert() const;
|
|
2096
|
-
bool badge() const;
|
|
2097
|
-
bool sound() const;
|
|
2098
|
-
|
|
2099
|
-
SpecRequestPermissionsPermission(NSDictionary *const v) : _v(v) {}
|
|
2100
|
-
private:
|
|
2101
|
-
NSDictionary *_v;
|
|
2102
|
-
};
|
|
2103
|
-
}
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
|
-
@interface RCTCxxConvert (NativePushNotificationManagerIOS_SpecRequestPermissionsPermission)
|
|
2107
|
-
+ (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_SpecRequestPermissionsPermission:(id)json;
|
|
2108
|
-
@end
|
|
2109
|
-
|
|
2110
|
-
namespace JS {
|
|
2111
|
-
namespace NativePushNotificationManagerIOS {
|
|
2112
|
-
struct Permissions {
|
|
2113
|
-
bool alert() const;
|
|
2114
|
-
bool badge() const;
|
|
2115
|
-
bool sound() const;
|
|
2116
|
-
|
|
2117
|
-
Permissions(NSDictionary *const v) : _v(v) {}
|
|
2118
|
-
private:
|
|
2119
|
-
NSDictionary *_v;
|
|
2120
|
-
};
|
|
2121
|
-
}
|
|
2122
|
-
}
|
|
2123
|
-
|
|
2124
|
-
@interface RCTCxxConvert (NativePushNotificationManagerIOS_Permissions)
|
|
2125
|
-
+ (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_Permissions:(id)json;
|
|
2126
|
-
@end
|
|
2127
|
-
|
|
2128
|
-
namespace JS {
|
|
2129
|
-
namespace NativePushNotificationManagerIOS {
|
|
2130
|
-
struct Notification {
|
|
2131
|
-
NSString *alertTitle() const;
|
|
2132
|
-
folly::Optional<double> fireDate() const;
|
|
2133
|
-
NSString *alertBody() const;
|
|
2134
|
-
NSString *alertAction() const;
|
|
2135
|
-
id<NSObject> _Nullable userInfo() const;
|
|
2136
|
-
NSString *category() const;
|
|
2137
|
-
NSString *repeatInterval() const;
|
|
2138
|
-
folly::Optional<double> applicationIconBadgeNumber() const;
|
|
2139
|
-
folly::Optional<bool> isSilent() const;
|
|
2140
|
-
|
|
2141
|
-
Notification(NSDictionary *const v) : _v(v) {}
|
|
2142
|
-
private:
|
|
2143
|
-
NSDictionary *_v;
|
|
2144
|
-
};
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
@interface RCTCxxConvert (NativePushNotificationManagerIOS_Notification)
|
|
2149
|
-
+ (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_Notification:(id)json;
|
|
2150
|
-
@end
|
|
2151
|
-
@protocol NativePushNotificationManagerIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
2152
|
-
|
|
2153
|
-
- (void)onFinishRemoteNotification:(NSString *)notificationId
|
|
2154
|
-
fetchResult:(NSString *)fetchResult;
|
|
2155
|
-
- (void)setApplicationIconBadgeNumber:(double)num;
|
|
2156
|
-
- (void)getApplicationIconBadgeNumber:(RCTResponseSenderBlock)callback;
|
|
2157
|
-
- (void)requestPermissions:(JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission &)permission
|
|
2158
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
2159
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
2160
|
-
- (void)abandonPermissions;
|
|
2161
|
-
- (void)checkPermissions:(RCTResponseSenderBlock)callback;
|
|
2162
|
-
- (void)presentLocalNotification:(JS::NativePushNotificationManagerIOS::Notification &)notification;
|
|
2163
|
-
- (void)scheduleLocalNotification:(JS::NativePushNotificationManagerIOS::Notification &)notification;
|
|
2164
|
-
- (void)cancelAllLocalNotifications;
|
|
2165
|
-
- (void)cancelLocalNotifications:(NSDictionary *)userInfo;
|
|
2166
|
-
- (void)getInitialNotification:(RCTPromiseResolveBlock)resolve
|
|
2167
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
2168
|
-
- (void)getScheduledLocalNotifications:(RCTResponseSenderBlock)callback;
|
|
2169
|
-
- (void)removeAllDeliveredNotifications;
|
|
2170
|
-
- (void)removeDeliveredNotifications:(NSArray *)identifiers;
|
|
2171
|
-
- (void)getDeliveredNotifications:(RCTResponseSenderBlock)callback;
|
|
2172
|
-
- (void)addListener:(NSString *)eventType;
|
|
2173
|
-
- (void)removeListeners:(double)count;
|
|
2174
|
-
|
|
2175
|
-
@end
|
|
2176
|
-
namespace facebook {
|
|
2177
|
-
namespace react {
|
|
2178
|
-
/**
|
|
2179
|
-
* ObjC++ class for module 'PushNotificationManagerIOS'
|
|
2180
|
-
*/
|
|
2181
|
-
|
|
2182
|
-
class JSI_EXPORT NativePushNotificationManagerIOSSpecJSI : public ObjCTurboModule {
|
|
2183
|
-
public:
|
|
2184
|
-
NativePushNotificationManagerIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2185
|
-
|
|
2186
|
-
};
|
|
2187
|
-
} // namespace react
|
|
2188
|
-
} // namespace facebook
|
|
2189
|
-
@protocol NativeRedBoxSpec <RCTBridgeModule, RCTTurboModule>
|
|
2190
|
-
|
|
2191
|
-
- (void)setExtraData:(NSDictionary *)extraData
|
|
2192
|
-
forIdentifier:(NSString *)forIdentifier;
|
|
2193
|
-
- (void)dismiss;
|
|
2194
|
-
|
|
2195
|
-
@end
|
|
2196
|
-
namespace facebook {
|
|
2197
|
-
namespace react {
|
|
2198
|
-
/**
|
|
2199
|
-
* ObjC++ class for module 'RedBox'
|
|
2200
|
-
*/
|
|
2201
|
-
|
|
2202
|
-
class JSI_EXPORT NativeRedBoxSpecJSI : public ObjCTurboModule {
|
|
2203
|
-
public:
|
|
2204
|
-
NativeRedBoxSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2205
|
-
|
|
2206
|
-
};
|
|
2207
|
-
} // namespace react
|
|
2208
|
-
} // namespace facebook
|
|
2209
|
-
@protocol NativeSegmentFetcherSpec <RCTBridgeModule, RCTTurboModule>
|
|
2210
|
-
|
|
2211
|
-
- (void)fetchSegment:(double)segmentId
|
|
2212
|
-
options:(NSDictionary *)options
|
|
2213
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2214
|
-
- (void)getSegment:(double)segmentId
|
|
2215
|
-
options:(NSDictionary *)options
|
|
2216
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2217
|
-
|
|
2218
|
-
@end
|
|
2219
|
-
namespace facebook {
|
|
2220
|
-
namespace react {
|
|
2221
|
-
/**
|
|
2222
|
-
* ObjC++ class for module 'SegmentFetcher'
|
|
2223
|
-
*/
|
|
2224
|
-
|
|
2225
|
-
class JSI_EXPORT NativeSegmentFetcherSpecJSI : public ObjCTurboModule {
|
|
2226
|
-
public:
|
|
2227
|
-
NativeSegmentFetcherSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2228
|
-
|
|
2229
|
-
};
|
|
2230
|
-
} // namespace react
|
|
2231
|
-
} // namespace facebook
|
|
2232
|
-
|
|
2233
|
-
namespace JS {
|
|
2234
|
-
namespace NativeSettingsManager {
|
|
2235
|
-
struct Constants {
|
|
2236
|
-
|
|
2237
|
-
struct Builder {
|
|
2238
|
-
struct Input {
|
|
2239
|
-
RCTRequired<id<NSObject>> settings;
|
|
2240
|
-
};
|
|
2241
|
-
|
|
2242
|
-
/** Initialize with a set of values */
|
|
2243
|
-
Builder(const Input i);
|
|
2244
|
-
/** Initialize with an existing Constants */
|
|
2245
|
-
Builder(Constants i);
|
|
2246
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2247
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2248
|
-
private:
|
|
2249
|
-
NSDictionary *(^_factory)(void);
|
|
2250
|
-
};
|
|
2251
|
-
|
|
2252
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2253
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2254
|
-
private:
|
|
2255
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2256
|
-
NSDictionary *_v;
|
|
2257
|
-
};
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
@protocol NativeSettingsManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
2261
|
-
|
|
2262
|
-
- (void)setValues:(NSDictionary *)values;
|
|
2263
|
-
- (void)deleteValues:(NSArray *)values;
|
|
2264
|
-
- (facebook::react::ModuleConstants<JS::NativeSettingsManager::Constants::Builder>)constantsToExport;
|
|
2265
|
-
- (facebook::react::ModuleConstants<JS::NativeSettingsManager::Constants::Builder>)getConstants;
|
|
2266
|
-
|
|
2267
|
-
@end
|
|
2268
|
-
namespace facebook {
|
|
2269
|
-
namespace react {
|
|
2270
|
-
/**
|
|
2271
|
-
* ObjC++ class for module 'SettingsManager'
|
|
2272
|
-
*/
|
|
2273
|
-
|
|
2274
|
-
class JSI_EXPORT NativeSettingsManagerSpecJSI : public ObjCTurboModule {
|
|
2275
|
-
public:
|
|
2276
|
-
NativeSettingsManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2277
|
-
|
|
2278
|
-
};
|
|
2279
|
-
} // namespace react
|
|
2280
|
-
} // namespace facebook
|
|
2281
|
-
|
|
2282
|
-
namespace JS {
|
|
2283
|
-
namespace NativeShareModule {
|
|
2284
|
-
struct SpecShareContent {
|
|
2285
|
-
NSString *title() const;
|
|
2286
|
-
NSString *message() const;
|
|
2287
|
-
|
|
2288
|
-
SpecShareContent(NSDictionary *const v) : _v(v) {}
|
|
2289
|
-
private:
|
|
2290
|
-
NSDictionary *_v;
|
|
2291
|
-
};
|
|
2292
|
-
}
|
|
2293
|
-
}
|
|
2294
|
-
|
|
2295
|
-
@interface RCTCxxConvert (NativeShareModule_SpecShareContent)
|
|
2296
|
-
+ (RCTManagedPointer *)JS_NativeShareModule_SpecShareContent:(id)json;
|
|
2297
|
-
@end
|
|
2298
|
-
@protocol NativeShareModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
2299
|
-
|
|
2300
|
-
- (void)share:(JS::NativeShareModule::SpecShareContent &)content
|
|
2301
|
-
dialogTitle:(NSString *)dialogTitle
|
|
2302
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
2303
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
2304
|
-
|
|
2305
|
-
@end
|
|
2306
|
-
namespace facebook {
|
|
2307
|
-
namespace react {
|
|
2308
|
-
/**
|
|
2309
|
-
* ObjC++ class for module 'ShareModule'
|
|
2310
|
-
*/
|
|
2311
|
-
|
|
2312
|
-
class JSI_EXPORT NativeShareModuleSpecJSI : public ObjCTurboModule {
|
|
2313
|
-
public:
|
|
2314
|
-
NativeShareModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2315
|
-
|
|
2316
|
-
};
|
|
2317
|
-
} // namespace react
|
|
2318
|
-
} // namespace facebook
|
|
2319
|
-
@protocol NativeSoundManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
2320
|
-
|
|
2321
|
-
- (void)playTouchSound;
|
|
2322
|
-
|
|
2323
|
-
@end
|
|
2324
|
-
namespace facebook {
|
|
2325
|
-
namespace react {
|
|
2326
|
-
/**
|
|
2327
|
-
* ObjC++ class for module 'SoundManager'
|
|
2328
|
-
*/
|
|
2329
|
-
|
|
2330
|
-
class JSI_EXPORT NativeSoundManagerSpecJSI : public ObjCTurboModule {
|
|
2331
|
-
public:
|
|
2332
|
-
NativeSoundManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2333
|
-
|
|
2334
|
-
};
|
|
2335
|
-
} // namespace react
|
|
2336
|
-
} // namespace facebook
|
|
2337
|
-
|
|
2338
|
-
namespace JS {
|
|
2339
|
-
namespace NativeSourceCode {
|
|
2340
|
-
struct Constants {
|
|
2341
|
-
|
|
2342
|
-
struct Builder {
|
|
2343
|
-
struct Input {
|
|
2344
|
-
RCTRequired<NSString *> scriptURL;
|
|
2345
|
-
};
|
|
2346
|
-
|
|
2347
|
-
/** Initialize with a set of values */
|
|
2348
|
-
Builder(const Input i);
|
|
2349
|
-
/** Initialize with an existing Constants */
|
|
2350
|
-
Builder(Constants i);
|
|
2351
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2352
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2353
|
-
private:
|
|
2354
|
-
NSDictionary *(^_factory)(void);
|
|
2355
|
-
};
|
|
2356
|
-
|
|
2357
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2358
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2359
|
-
private:
|
|
2360
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2361
|
-
NSDictionary *_v;
|
|
2362
|
-
};
|
|
2363
|
-
}
|
|
2364
|
-
}
|
|
2365
|
-
@protocol NativeSourceCodeSpec <RCTBridgeModule, RCTTurboModule>
|
|
2366
|
-
|
|
2367
|
-
- (facebook::react::ModuleConstants<JS::NativeSourceCode::Constants::Builder>)constantsToExport;
|
|
2368
|
-
- (facebook::react::ModuleConstants<JS::NativeSourceCode::Constants::Builder>)getConstants;
|
|
2369
|
-
|
|
2370
|
-
@end
|
|
2371
|
-
namespace facebook {
|
|
2372
|
-
namespace react {
|
|
2373
|
-
/**
|
|
2374
|
-
* ObjC++ class for module 'SourceCode'
|
|
2375
|
-
*/
|
|
2376
|
-
|
|
2377
|
-
class JSI_EXPORT NativeSourceCodeSpecJSI : public ObjCTurboModule {
|
|
2378
|
-
public:
|
|
2379
|
-
NativeSourceCodeSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2380
|
-
|
|
2381
|
-
};
|
|
2382
|
-
} // namespace react
|
|
2383
|
-
} // namespace facebook
|
|
2384
|
-
|
|
2385
|
-
namespace JS {
|
|
2386
|
-
namespace NativeStatusBarManagerAndroid {
|
|
2387
|
-
struct Constants {
|
|
2388
|
-
|
|
2389
|
-
struct Builder {
|
|
2390
|
-
struct Input {
|
|
2391
|
-
RCTRequired<double> HEIGHT;
|
|
2392
|
-
RCTRequired<double> DEFAULT_BACKGROUND_COLOR;
|
|
2393
|
-
};
|
|
2394
|
-
|
|
2395
|
-
/** Initialize with a set of values */
|
|
2396
|
-
Builder(const Input i);
|
|
2397
|
-
/** Initialize with an existing Constants */
|
|
2398
|
-
Builder(Constants i);
|
|
2399
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2400
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2401
|
-
private:
|
|
2402
|
-
NSDictionary *(^_factory)(void);
|
|
2403
|
-
};
|
|
2404
|
-
|
|
2405
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2406
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2407
|
-
private:
|
|
2408
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2409
|
-
NSDictionary *_v;
|
|
2410
|
-
};
|
|
2411
|
-
}
|
|
2412
|
-
}
|
|
2413
|
-
@protocol NativeStatusBarManagerAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
2414
|
-
|
|
2415
|
-
- (void)setColor:(double)color
|
|
2416
|
-
animated:(BOOL)animated;
|
|
2417
|
-
- (void)setTranslucent:(BOOL)translucent;
|
|
2418
|
-
- (void)setStyle:(NSString * _Nullable)statusBarStyle;
|
|
2419
|
-
- (void)setHidden:(BOOL)hidden;
|
|
2420
|
-
- (facebook::react::ModuleConstants<JS::NativeStatusBarManagerAndroid::Constants::Builder>)constantsToExport;
|
|
2421
|
-
- (facebook::react::ModuleConstants<JS::NativeStatusBarManagerAndroid::Constants::Builder>)getConstants;
|
|
2422
|
-
|
|
2423
|
-
@end
|
|
2424
|
-
namespace facebook {
|
|
2425
|
-
namespace react {
|
|
2426
|
-
/**
|
|
2427
|
-
* ObjC++ class for module 'StatusBarManagerAndroid'
|
|
2428
|
-
*/
|
|
2429
|
-
|
|
2430
|
-
class JSI_EXPORT NativeStatusBarManagerAndroidSpecJSI : public ObjCTurboModule {
|
|
2431
|
-
public:
|
|
2432
|
-
NativeStatusBarManagerAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2433
|
-
|
|
2434
|
-
};
|
|
2435
|
-
} // namespace react
|
|
2436
|
-
} // namespace facebook
|
|
2437
|
-
|
|
2438
|
-
namespace JS {
|
|
2439
|
-
namespace NativeStatusBarManagerIOS {
|
|
2440
|
-
struct SpecGetHeightCallbackResult {
|
|
2441
|
-
double height() const;
|
|
2442
|
-
|
|
2443
|
-
SpecGetHeightCallbackResult(NSDictionary *const v) : _v(v) {}
|
|
2444
|
-
private:
|
|
2445
|
-
NSDictionary *_v;
|
|
2446
|
-
};
|
|
2447
|
-
}
|
|
2448
|
-
}
|
|
2449
|
-
|
|
2450
|
-
@interface RCTCxxConvert (NativeStatusBarManagerIOS_SpecGetHeightCallbackResult)
|
|
2451
|
-
+ (RCTManagedPointer *)JS_NativeStatusBarManagerIOS_SpecGetHeightCallbackResult:(id)json;
|
|
2452
|
-
@end
|
|
2453
|
-
|
|
2454
|
-
namespace JS {
|
|
2455
|
-
namespace NativeStatusBarManagerIOS {
|
|
2456
|
-
struct Constants {
|
|
2457
|
-
|
|
2458
|
-
struct Builder {
|
|
2459
|
-
struct Input {
|
|
2460
|
-
RCTRequired<double> HEIGHT;
|
|
2461
|
-
folly::Optional<double> DEFAULT_BACKGROUND_COLOR;
|
|
2462
|
-
};
|
|
2463
|
-
|
|
2464
|
-
/** Initialize with a set of values */
|
|
2465
|
-
Builder(const Input i);
|
|
2466
|
-
/** Initialize with an existing Constants */
|
|
2467
|
-
Builder(Constants i);
|
|
2468
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2469
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2470
|
-
private:
|
|
2471
|
-
NSDictionary *(^_factory)(void);
|
|
2472
|
-
};
|
|
2473
|
-
|
|
2474
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2475
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2476
|
-
private:
|
|
2477
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2478
|
-
NSDictionary *_v;
|
|
2479
|
-
};
|
|
2480
|
-
}
|
|
2481
|
-
}
|
|
2482
|
-
@protocol NativeStatusBarManagerIOSSpec <RCTBridgeModule, RCTTurboModule>
|
|
2483
|
-
|
|
2484
|
-
- (void)getHeight:(RCTResponseSenderBlock)callback;
|
|
2485
|
-
- (void)setNetworkActivityIndicatorVisible:(BOOL)visible;
|
|
2486
|
-
- (void)addListener:(NSString *)eventType;
|
|
2487
|
-
- (void)removeListeners:(double)count;
|
|
2488
|
-
- (void)setStyle:(NSString * _Nullable)statusBarStyle
|
|
2489
|
-
animated:(BOOL)animated;
|
|
2490
|
-
- (void)setHidden:(BOOL)hidden
|
|
2491
|
-
withAnimation:(NSString *)withAnimation;
|
|
2492
|
-
- (facebook::react::ModuleConstants<JS::NativeStatusBarManagerIOS::Constants::Builder>)constantsToExport;
|
|
2493
|
-
- (facebook::react::ModuleConstants<JS::NativeStatusBarManagerIOS::Constants::Builder>)getConstants;
|
|
2494
|
-
|
|
2495
|
-
@end
|
|
2496
|
-
namespace facebook {
|
|
2497
|
-
namespace react {
|
|
2498
|
-
/**
|
|
2499
|
-
* ObjC++ class for module 'StatusBarManagerIOS'
|
|
2500
|
-
*/
|
|
2501
|
-
|
|
2502
|
-
class JSI_EXPORT NativeStatusBarManagerIOSSpecJSI : public ObjCTurboModule {
|
|
2503
|
-
public:
|
|
2504
|
-
NativeStatusBarManagerIOSSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2505
|
-
|
|
2506
|
-
};
|
|
2507
|
-
} // namespace react
|
|
2508
|
-
} // namespace facebook
|
|
2509
|
-
@protocol NativeTVNavigationEventEmitterSpec <RCTBridgeModule, RCTTurboModule>
|
|
2510
|
-
|
|
2511
|
-
- (void)addListener:(NSString *)eventName;
|
|
2512
|
-
- (void)removeListeners:(double)count;
|
|
2513
|
-
|
|
2514
|
-
@end
|
|
2515
|
-
namespace facebook {
|
|
2516
|
-
namespace react {
|
|
2517
|
-
/**
|
|
2518
|
-
* ObjC++ class for module 'TVNavigationEventEmitter'
|
|
2519
|
-
*/
|
|
2520
|
-
|
|
2521
|
-
class JSI_EXPORT NativeTVNavigationEventEmitterSpecJSI : public ObjCTurboModule {
|
|
2522
|
-
public:
|
|
2523
|
-
NativeTVNavigationEventEmitterSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2524
|
-
|
|
2525
|
-
};
|
|
2526
|
-
} // namespace react
|
|
2527
|
-
} // namespace facebook
|
|
2528
|
-
|
|
2529
|
-
namespace JS {
|
|
2530
|
-
namespace NativeTimePickerAndroid {
|
|
2531
|
-
struct TimePickerOptions {
|
|
2532
|
-
folly::Optional<double> hour() const;
|
|
2533
|
-
folly::Optional<double> minute() const;
|
|
2534
|
-
folly::Optional<bool> is24Hour() const;
|
|
2535
|
-
NSString *mode() const;
|
|
2536
|
-
|
|
2537
|
-
TimePickerOptions(NSDictionary *const v) : _v(v) {}
|
|
2538
|
-
private:
|
|
2539
|
-
NSDictionary *_v;
|
|
2540
|
-
};
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
|
|
2544
|
-
@interface RCTCxxConvert (NativeTimePickerAndroid_TimePickerOptions)
|
|
2545
|
-
+ (RCTManagedPointer *)JS_NativeTimePickerAndroid_TimePickerOptions:(id)json;
|
|
2546
|
-
@end
|
|
2547
|
-
@protocol NativeTimePickerAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
2548
|
-
|
|
2549
|
-
- (void)open:(JS::NativeTimePickerAndroid::TimePickerOptions &)options
|
|
2550
|
-
resolve:(RCTPromiseResolveBlock)resolve
|
|
2551
|
-
reject:(RCTPromiseRejectBlock)reject;
|
|
2552
|
-
|
|
2553
|
-
@end
|
|
2554
|
-
namespace facebook {
|
|
2555
|
-
namespace react {
|
|
2556
|
-
/**
|
|
2557
|
-
* ObjC++ class for module 'TimePickerAndroid'
|
|
2558
|
-
*/
|
|
2559
|
-
|
|
2560
|
-
class JSI_EXPORT NativeTimePickerAndroidSpecJSI : public ObjCTurboModule {
|
|
2561
|
-
public:
|
|
2562
|
-
NativeTimePickerAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2563
|
-
|
|
2564
|
-
};
|
|
2565
|
-
} // namespace react
|
|
2566
|
-
} // namespace facebook
|
|
2567
|
-
|
|
2568
|
-
namespace JS {
|
|
2569
|
-
namespace NativeTimePickerAndroid {
|
|
2570
|
-
struct TimePickerResult {
|
|
2571
|
-
NSString *action() const;
|
|
2572
|
-
double hour() const;
|
|
2573
|
-
double minute() const;
|
|
2574
|
-
|
|
2575
|
-
TimePickerResult(NSDictionary *const v) : _v(v) {}
|
|
2576
|
-
private:
|
|
2577
|
-
NSDictionary *_v;
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
|
-
@interface RCTCxxConvert (NativeTimePickerAndroid_TimePickerResult)
|
|
2583
|
-
+ (RCTManagedPointer *)JS_NativeTimePickerAndroid_TimePickerResult:(id)json;
|
|
2584
|
-
@end
|
|
2585
|
-
@protocol NativeTimingSpec <RCTBridgeModule, RCTTurboModule>
|
|
2586
|
-
|
|
2587
|
-
- (void)createTimer:(double)callbackID
|
|
2588
|
-
duration:(double)duration
|
|
2589
|
-
jsSchedulingTime:(double)jsSchedulingTime
|
|
2590
|
-
repeats:(BOOL)repeats;
|
|
2591
|
-
- (void)deleteTimer:(double)timerID;
|
|
2592
|
-
- (void)setSendIdleEvents:(BOOL)sendIdleEvents;
|
|
2593
|
-
|
|
2594
|
-
@end
|
|
2595
|
-
namespace facebook {
|
|
2596
|
-
namespace react {
|
|
2597
|
-
/**
|
|
2598
|
-
* ObjC++ class for module 'Timing'
|
|
2599
|
-
*/
|
|
2600
|
-
|
|
2601
|
-
class JSI_EXPORT NativeTimingSpecJSI : public ObjCTurboModule {
|
|
2602
|
-
public:
|
|
2603
|
-
NativeTimingSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2604
|
-
|
|
2605
|
-
};
|
|
2606
|
-
} // namespace react
|
|
2607
|
-
} // namespace facebook
|
|
2608
|
-
|
|
2609
|
-
namespace JS {
|
|
2610
|
-
namespace NativeToastAndroid {
|
|
2611
|
-
struct Constants {
|
|
2612
|
-
|
|
2613
|
-
struct Builder {
|
|
2614
|
-
struct Input {
|
|
2615
|
-
RCTRequired<double> SHORT;
|
|
2616
|
-
RCTRequired<double> LONG;
|
|
2617
|
-
RCTRequired<double> TOP;
|
|
2618
|
-
RCTRequired<double> BOTTOM;
|
|
2619
|
-
RCTRequired<double> CENTER;
|
|
2620
|
-
};
|
|
2621
|
-
|
|
2622
|
-
/** Initialize with a set of values */
|
|
2623
|
-
Builder(const Input i);
|
|
2624
|
-
/** Initialize with an existing Constants */
|
|
2625
|
-
Builder(Constants i);
|
|
2626
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2627
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2628
|
-
private:
|
|
2629
|
-
NSDictionary *(^_factory)(void);
|
|
2630
|
-
};
|
|
2631
|
-
|
|
2632
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2633
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2634
|
-
private:
|
|
2635
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2636
|
-
NSDictionary *_v;
|
|
2637
|
-
};
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
@protocol NativeToastAndroidSpec <RCTBridgeModule, RCTTurboModule>
|
|
2641
|
-
|
|
2642
|
-
- (void)show:(NSString *)message
|
|
2643
|
-
duration:(double)duration;
|
|
2644
|
-
- (void)showWithGravity:(NSString *)message
|
|
2645
|
-
duration:(double)duration
|
|
2646
|
-
gravity:(double)gravity;
|
|
2647
|
-
- (void)showWithGravityAndOffset:(NSString *)message
|
|
2648
|
-
duration:(double)duration
|
|
2649
|
-
gravity:(double)gravity
|
|
2650
|
-
xOffset:(double)xOffset
|
|
2651
|
-
yOffset:(double)yOffset;
|
|
2652
|
-
- (facebook::react::ModuleConstants<JS::NativeToastAndroid::Constants::Builder>)constantsToExport;
|
|
2653
|
-
- (facebook::react::ModuleConstants<JS::NativeToastAndroid::Constants::Builder>)getConstants;
|
|
2654
|
-
|
|
2655
|
-
@end
|
|
2656
|
-
namespace facebook {
|
|
2657
|
-
namespace react {
|
|
2658
|
-
/**
|
|
2659
|
-
* ObjC++ class for module 'ToastAndroid'
|
|
2660
|
-
*/
|
|
2661
|
-
|
|
2662
|
-
class JSI_EXPORT NativeToastAndroidSpecJSI : public ObjCTurboModule {
|
|
2663
|
-
public:
|
|
2664
|
-
NativeToastAndroidSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2665
|
-
|
|
2666
|
-
};
|
|
2667
|
-
} // namespace react
|
|
2668
|
-
} // namespace facebook
|
|
2669
|
-
|
|
2670
|
-
namespace JS {
|
|
2671
|
-
namespace NativeUIManager {
|
|
2672
|
-
struct Constants {
|
|
2673
|
-
|
|
2674
|
-
struct Builder {
|
|
2675
|
-
struct Input {
|
|
2676
|
-
};
|
|
2677
|
-
|
|
2678
|
-
/** Initialize with a set of values */
|
|
2679
|
-
Builder(const Input i);
|
|
2680
|
-
/** Initialize with an existing Constants */
|
|
2681
|
-
Builder(Constants i);
|
|
2682
|
-
/** Builds the object. Generally used only by the infrastructure. */
|
|
2683
|
-
NSDictionary *buildUnsafeRawValue() const { return _factory(); };
|
|
2684
|
-
private:
|
|
2685
|
-
NSDictionary *(^_factory)(void);
|
|
2686
|
-
};
|
|
2687
|
-
|
|
2688
|
-
static Constants fromUnsafeRawValue(NSDictionary *const v) { return {v}; }
|
|
2689
|
-
NSDictionary *unsafeRawValue() const { return _v; }
|
|
2690
|
-
private:
|
|
2691
|
-
Constants(NSDictionary *const v) : _v(v) {}
|
|
2692
|
-
NSDictionary *_v;
|
|
2693
|
-
};
|
|
2694
|
-
}
|
|
2695
|
-
}
|
|
2696
|
-
@protocol NativeUIManagerSpec <RCTBridgeModule, RCTTurboModule>
|
|
2697
|
-
|
|
2698
|
-
- (NSDictionary *)getConstantsForViewManager:(NSString *)viewManagerName;
|
|
2699
|
-
- (NSArray<NSString *> *)getDefaultEventTypes;
|
|
2700
|
-
- (void)playTouchSound;
|
|
2701
|
-
- (NSDictionary *)lazilyLoadView:(NSString *)name;
|
|
2702
|
-
- (void)createView:(NSNumber *)reactTag
|
|
2703
|
-
viewName:(NSString *)viewName
|
|
2704
|
-
rootTag:(double)rootTag
|
|
2705
|
-
props:(NSDictionary *)props;
|
|
2706
|
-
- (void)updateView:(double)reactTag
|
|
2707
|
-
viewName:(NSString *)viewName
|
|
2708
|
-
props:(NSDictionary *)props;
|
|
2709
|
-
- (void)focus:(NSNumber *)reactTag;
|
|
2710
|
-
- (void)blur:(NSNumber *)reactTag;
|
|
2711
|
-
- (void)findSubviewIn:(NSNumber *)reactTag
|
|
2712
|
-
point:(NSArray *)point
|
|
2713
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2714
|
-
- (void)dispatchViewManagerCommand:(NSNumber *)reactTag
|
|
2715
|
-
commandID:(double)commandID
|
|
2716
|
-
commandArgs:(NSArray *_Nullable)commandArgs;
|
|
2717
|
-
- (void)measure:(NSNumber *)reactTag
|
|
2718
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2719
|
-
- (void)measureInWindow:(NSNumber *)reactTag
|
|
2720
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2721
|
-
- (void)viewIsDescendantOf:(NSNumber *)reactTag
|
|
2722
|
-
ancestorReactTag:(NSNumber *)ancestorReactTag
|
|
2723
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2724
|
-
- (void)measureLayout:(NSNumber *)reactTag
|
|
2725
|
-
ancestorReactTag:(NSNumber *)ancestorReactTag
|
|
2726
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback
|
|
2727
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2728
|
-
- (void)measureLayoutRelativeToParent:(NSNumber *)reactTag
|
|
2729
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback
|
|
2730
|
-
callback:(RCTResponseSenderBlock)callback;
|
|
2731
|
-
- (void)setJSResponder:(NSNumber *)reactTag
|
|
2732
|
-
blockNativeResponder:(BOOL)blockNativeResponder;
|
|
2733
|
-
- (void)clearJSResponder;
|
|
2734
|
-
- (void)configureNextLayoutAnimation:(NSDictionary *)config
|
|
2735
|
-
callback:(RCTResponseSenderBlock)callback
|
|
2736
|
-
errorCallback:(RCTResponseSenderBlock)errorCallback;
|
|
2737
|
-
- (void)removeSubviewsFromContainerWithID:(double)containerID;
|
|
2738
|
-
- (void)replaceExistingNonRootView:(NSNumber *)reactTag
|
|
2739
|
-
newReactTag:(NSNumber *)newReactTag;
|
|
2740
|
-
- (void)setChildren:(NSNumber *)containerTag
|
|
2741
|
-
reactTags:(NSArray *)reactTags;
|
|
2742
|
-
- (void)manageChildren:(NSNumber *)containerTag
|
|
2743
|
-
moveFromIndices:(NSArray *)moveFromIndices
|
|
2744
|
-
moveToIndices:(NSArray *)moveToIndices
|
|
2745
|
-
addChildReactTags:(NSArray *)addChildReactTags
|
|
2746
|
-
addAtIndices:(NSArray *)addAtIndices
|
|
2747
|
-
removeAtIndices:(NSArray *)removeAtIndices;
|
|
2748
|
-
- (void)setLayoutAnimationEnabledExperimental:(BOOL)enabled;
|
|
2749
|
-
- (void)sendAccessibilityEvent:(NSNumber *)reactTag
|
|
2750
|
-
eventType:(double)eventType;
|
|
2751
|
-
- (void)showPopupMenu:(NSNumber *)reactTag
|
|
2752
|
-
items:(NSArray *)items
|
|
2753
|
-
error:(RCTResponseSenderBlock)error
|
|
2754
|
-
success:(RCTResponseSenderBlock)success;
|
|
2755
|
-
- (void)dismissPopupMenu;
|
|
2756
|
-
- (facebook::react::ModuleConstants<JS::NativeUIManager::Constants::Builder>)constantsToExport;
|
|
2757
|
-
- (facebook::react::ModuleConstants<JS::NativeUIManager::Constants::Builder>)getConstants;
|
|
2758
|
-
|
|
2759
|
-
@end
|
|
2760
|
-
namespace facebook {
|
|
2761
|
-
namespace react {
|
|
2762
|
-
/**
|
|
2763
|
-
* ObjC++ class for module 'UIManager'
|
|
2764
|
-
*/
|
|
2765
|
-
|
|
2766
|
-
class JSI_EXPORT NativeUIManagerSpecJSI : public ObjCTurboModule {
|
|
2767
|
-
public:
|
|
2768
|
-
NativeUIManagerSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2769
|
-
|
|
2770
|
-
};
|
|
2771
|
-
} // namespace react
|
|
2772
|
-
} // namespace facebook
|
|
2773
|
-
@protocol NativeVibrationSpec <RCTBridgeModule, RCTTurboModule>
|
|
2774
|
-
|
|
2775
|
-
- (void)vibrate:(NSNumber *)pattern;
|
|
2776
|
-
- (void)vibrateByPattern:(NSArray *)pattern
|
|
2777
|
-
repeat:(double)repeat;
|
|
2778
|
-
- (void)cancel;
|
|
2779
|
-
|
|
2780
|
-
@end
|
|
2781
|
-
namespace facebook {
|
|
2782
|
-
namespace react {
|
|
2783
|
-
/**
|
|
2784
|
-
* ObjC++ class for module 'Vibration'
|
|
2785
|
-
*/
|
|
2786
|
-
|
|
2787
|
-
class JSI_EXPORT NativeVibrationSpecJSI : public ObjCTurboModule {
|
|
2788
|
-
public:
|
|
2789
|
-
NativeVibrationSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2790
|
-
|
|
2791
|
-
};
|
|
2792
|
-
} // namespace react
|
|
2793
|
-
} // namespace facebook
|
|
2794
|
-
|
|
2795
|
-
namespace JS {
|
|
2796
|
-
namespace NativeWebSocketModule {
|
|
2797
|
-
struct SpecConnectOptions {
|
|
2798
|
-
id<NSObject> _Nullable headers() const;
|
|
2799
|
-
|
|
2800
|
-
SpecConnectOptions(NSDictionary *const v) : _v(v) {}
|
|
2801
|
-
private:
|
|
2802
|
-
NSDictionary *_v;
|
|
2803
|
-
};
|
|
2804
|
-
}
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
|
-
@interface RCTCxxConvert (NativeWebSocketModule_SpecConnectOptions)
|
|
2808
|
-
+ (RCTManagedPointer *)JS_NativeWebSocketModule_SpecConnectOptions:(id)json;
|
|
2809
|
-
@end
|
|
2810
|
-
@protocol NativeWebSocketModuleSpec <RCTBridgeModule, RCTTurboModule>
|
|
2811
|
-
|
|
2812
|
-
- (void)connect:(NSString *)url
|
|
2813
|
-
protocols:(NSArray *_Nullable)protocols
|
|
2814
|
-
options:(JS::NativeWebSocketModule::SpecConnectOptions &)options
|
|
2815
|
-
socketID:(double)socketID;
|
|
2816
|
-
- (void)send:(NSString *)message
|
|
2817
|
-
forSocketID:(double)forSocketID;
|
|
2818
|
-
- (void)sendBinary:(NSString *)base64String
|
|
2819
|
-
forSocketID:(double)forSocketID;
|
|
2820
|
-
- (void)ping:(double)socketID;
|
|
2821
|
-
- (void)close:(double)code
|
|
2822
|
-
reason:(NSString *)reason
|
|
2823
|
-
socketID:(double)socketID;
|
|
2824
|
-
- (void)addListener:(NSString *)eventName;
|
|
2825
|
-
- (void)removeListeners:(double)count;
|
|
2826
|
-
|
|
2827
|
-
@end
|
|
2828
|
-
namespace facebook {
|
|
2829
|
-
namespace react {
|
|
2830
|
-
/**
|
|
2831
|
-
* ObjC++ class for module 'WebSocketModule'
|
|
2832
|
-
*/
|
|
2833
|
-
|
|
2834
|
-
class JSI_EXPORT NativeWebSocketModuleSpecJSI : public ObjCTurboModule {
|
|
2835
|
-
public:
|
|
2836
|
-
NativeWebSocketModuleSpecJSI(id<RCTTurboModule> instance, std::shared_ptr<CallInvoker> jsInvoker, id<RCTTurboModulePerformanceLogger> perfLogger);
|
|
2837
|
-
|
|
2838
|
-
};
|
|
2839
|
-
} // namespace react
|
|
2840
|
-
} // namespace facebook
|
|
2841
|
-
|
|
2842
|
-
#import <RCTTypeSafety/RCTConvertHelpers.h>
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraSmall() const
|
|
2846
|
-
{
|
|
2847
|
-
id const p = _v[@"extraSmall"];
|
|
2848
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2849
|
-
}
|
|
2850
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::small() const
|
|
2851
|
-
{
|
|
2852
|
-
id const p = _v[@"small"];
|
|
2853
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2854
|
-
}
|
|
2855
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::medium() const
|
|
2856
|
-
{
|
|
2857
|
-
id const p = _v[@"medium"];
|
|
2858
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2859
|
-
}
|
|
2860
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::large() const
|
|
2861
|
-
{
|
|
2862
|
-
id const p = _v[@"large"];
|
|
2863
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2864
|
-
}
|
|
2865
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraLarge() const
|
|
2866
|
-
{
|
|
2867
|
-
id const p = _v[@"extraLarge"];
|
|
2868
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2869
|
-
}
|
|
2870
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraExtraLarge() const
|
|
2871
|
-
{
|
|
2872
|
-
id const p = _v[@"extraExtraLarge"];
|
|
2873
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2874
|
-
}
|
|
2875
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::extraExtraExtraLarge() const
|
|
2876
|
-
{
|
|
2877
|
-
id const p = _v[@"extraExtraExtraLarge"];
|
|
2878
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2879
|
-
}
|
|
2880
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityMedium() const
|
|
2881
|
-
{
|
|
2882
|
-
id const p = _v[@"accessibilityMedium"];
|
|
2883
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2884
|
-
}
|
|
2885
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityLarge() const
|
|
2886
|
-
{
|
|
2887
|
-
id const p = _v[@"accessibilityLarge"];
|
|
2888
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2889
|
-
}
|
|
2890
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraLarge() const
|
|
2891
|
-
{
|
|
2892
|
-
id const p = _v[@"accessibilityExtraLarge"];
|
|
2893
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2894
|
-
}
|
|
2895
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraExtraLarge() const
|
|
2896
|
-
{
|
|
2897
|
-
id const p = _v[@"accessibilityExtraExtraLarge"];
|
|
2898
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2899
|
-
}
|
|
2900
|
-
inline folly::Optional<double> JS::NativeAccessibilityManager::SpecSetAccessibilityContentSizeMultipliersJSMultipliers::accessibilityExtraExtraExtraLarge() const
|
|
2901
|
-
{
|
|
2902
|
-
id const p = _v[@"accessibilityExtraExtraExtraLarge"];
|
|
2903
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2904
|
-
}
|
|
2905
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::title() const
|
|
2906
|
-
{
|
|
2907
|
-
id const p = _v[@"title"];
|
|
2908
|
-
return RCTBridgingToString(p);
|
|
2909
|
-
}
|
|
2910
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::message() const
|
|
2911
|
-
{
|
|
2912
|
-
id const p = _v[@"message"];
|
|
2913
|
-
return RCTBridgingToString(p);
|
|
2914
|
-
}
|
|
2915
|
-
inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::options() const
|
|
2916
|
-
{
|
|
2917
|
-
id const p = _v[@"options"];
|
|
2918
|
-
return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
|
|
2919
|
-
}
|
|
2920
|
-
inline folly::Optional<facebook::react::LazyVector<double>> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::destructiveButtonIndices() const
|
|
2921
|
-
{
|
|
2922
|
-
id const p = _v[@"destructiveButtonIndices"];
|
|
2923
|
-
return RCTBridgingToOptionalVec(p, ^double(id itemValue_0) { return RCTBridgingToDouble(itemValue_0); });
|
|
2924
|
-
}
|
|
2925
|
-
inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::cancelButtonIndex() const
|
|
2926
|
-
{
|
|
2927
|
-
id const p = _v[@"cancelButtonIndex"];
|
|
2928
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2929
|
-
}
|
|
2930
|
-
inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::anchor() const
|
|
2931
|
-
{
|
|
2932
|
-
id const p = _v[@"anchor"];
|
|
2933
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2934
|
-
}
|
|
2935
|
-
inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::tintColor() const
|
|
2936
|
-
{
|
|
2937
|
-
id const p = _v[@"tintColor"];
|
|
2938
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2939
|
-
}
|
|
2940
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowActionSheetWithOptionsOptions::userInterfaceStyle() const
|
|
2941
|
-
{
|
|
2942
|
-
id const p = _v[@"userInterfaceStyle"];
|
|
2943
|
-
return RCTBridgingToString(p);
|
|
2944
|
-
}
|
|
2945
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::message() const
|
|
2946
|
-
{
|
|
2947
|
-
id const p = _v[@"message"];
|
|
2948
|
-
return RCTBridgingToString(p);
|
|
2949
|
-
}
|
|
2950
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::url() const
|
|
2951
|
-
{
|
|
2952
|
-
id const p = _v[@"url"];
|
|
2953
|
-
return RCTBridgingToString(p);
|
|
2954
|
-
}
|
|
2955
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::subject() const
|
|
2956
|
-
{
|
|
2957
|
-
id const p = _v[@"subject"];
|
|
2958
|
-
return RCTBridgingToString(p);
|
|
2959
|
-
}
|
|
2960
|
-
inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::anchor() const
|
|
2961
|
-
{
|
|
2962
|
-
id const p = _v[@"anchor"];
|
|
2963
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2964
|
-
}
|
|
2965
|
-
inline folly::Optional<double> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::tintColor() const
|
|
2966
|
-
{
|
|
2967
|
-
id const p = _v[@"tintColor"];
|
|
2968
|
-
return RCTBridgingToOptionalDouble(p);
|
|
2969
|
-
}
|
|
2970
|
-
inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::excludedActivityTypes() const
|
|
2971
|
-
{
|
|
2972
|
-
id const p = _v[@"excludedActivityTypes"];
|
|
2973
|
-
return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
|
|
2974
|
-
}
|
|
2975
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsOptions::userInterfaceStyle() const
|
|
2976
|
-
{
|
|
2977
|
-
id const p = _v[@"userInterfaceStyle"];
|
|
2978
|
-
return RCTBridgingToString(p);
|
|
2979
|
-
}
|
|
2980
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsFailureCallbackError::domain() const
|
|
2981
|
-
{
|
|
2982
|
-
id const p = _v[@"domain"];
|
|
2983
|
-
return RCTBridgingToString(p);
|
|
2984
|
-
}
|
|
2985
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsFailureCallbackError::code() const
|
|
2986
|
-
{
|
|
2987
|
-
id const p = _v[@"code"];
|
|
2988
|
-
return RCTBridgingToString(p);
|
|
2989
|
-
}
|
|
2990
|
-
inline id<NSObject> _Nullable JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsFailureCallbackError::userInfo() const
|
|
2991
|
-
{
|
|
2992
|
-
id const p = _v[@"userInfo"];
|
|
2993
|
-
return p;
|
|
2994
|
-
}
|
|
2995
|
-
inline NSString *JS::NativeActionSheetManager::SpecShowShareActionSheetWithOptionsFailureCallbackError::message() const
|
|
2996
|
-
{
|
|
2997
|
-
id const p = _v[@"message"];
|
|
2998
|
-
return RCTBridgingToString(p);
|
|
2999
|
-
}
|
|
3000
|
-
inline NSString *JS::NativeAlertManager::Args::title() const
|
|
3001
|
-
{
|
|
3002
|
-
id const p = _v[@"title"];
|
|
3003
|
-
return RCTBridgingToString(p);
|
|
3004
|
-
}
|
|
3005
|
-
inline NSString *JS::NativeAlertManager::Args::message() const
|
|
3006
|
-
{
|
|
3007
|
-
id const p = _v[@"message"];
|
|
3008
|
-
return RCTBridgingToString(p);
|
|
3009
|
-
}
|
|
3010
|
-
inline folly::Optional<facebook::react::LazyVector<id<NSObject>>> JS::NativeAlertManager::Args::buttons() const
|
|
3011
|
-
{
|
|
3012
|
-
id const p = _v[@"buttons"];
|
|
3013
|
-
return RCTBridgingToOptionalVec(p, ^id<NSObject>(id itemValue_0) { return itemValue_0; });
|
|
3014
|
-
}
|
|
3015
|
-
inline NSString *JS::NativeAlertManager::Args::type() const
|
|
3016
|
-
{
|
|
3017
|
-
id const p = _v[@"type"];
|
|
3018
|
-
return RCTBridgingToString(p);
|
|
3019
|
-
}
|
|
3020
|
-
inline NSString *JS::NativeAlertManager::Args::defaultValue() const
|
|
3021
|
-
{
|
|
3022
|
-
id const p = _v[@"defaultValue"];
|
|
3023
|
-
return RCTBridgingToString(p);
|
|
3024
|
-
}
|
|
3025
|
-
inline NSString *JS::NativeAlertManager::Args::cancelButtonKey() const
|
|
3026
|
-
{
|
|
3027
|
-
id const p = _v[@"cancelButtonKey"];
|
|
3028
|
-
return RCTBridgingToString(p);
|
|
3029
|
-
}
|
|
3030
|
-
inline NSString *JS::NativeAlertManager::Args::destructiveButtonKey() const
|
|
3031
|
-
{
|
|
3032
|
-
id const p = _v[@"destructiveButtonKey"];
|
|
3033
|
-
return RCTBridgingToString(p);
|
|
3034
|
-
}
|
|
3035
|
-
inline NSString *JS::NativeAlertManager::Args::keyboardType() const
|
|
3036
|
-
{
|
|
3037
|
-
id const p = _v[@"keyboardType"];
|
|
3038
|
-
return RCTBridgingToString(p);
|
|
3039
|
-
}
|
|
3040
|
-
inline bool JS::NativeAnimatedModule::EndResult::finished() const
|
|
3041
|
-
{
|
|
3042
|
-
id const p = _v[@"finished"];
|
|
3043
|
-
return RCTBridgingToBool(p);
|
|
3044
|
-
}
|
|
3045
|
-
inline facebook::react::LazyVector<NSString *> JS::NativeAnimatedModule::EventMapping::nativeEventPath() const
|
|
3046
|
-
{
|
|
3047
|
-
id const p = _v[@"nativeEventPath"];
|
|
3048
|
-
return RCTBridgingToVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
|
|
3049
|
-
}
|
|
3050
|
-
inline folly::Optional<double> JS::NativeAnimatedModule::EventMapping::animatedValueTag() const
|
|
3051
|
-
{
|
|
3052
|
-
id const p = _v[@"animatedValueTag"];
|
|
3053
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3054
|
-
}
|
|
3055
|
-
inline NSString *JS::NativeAppState::SpecGetCurrentAppStateSuccessAppState::app_state() const
|
|
3056
|
-
{
|
|
3057
|
-
id const p = _v[@"app_state"];
|
|
3058
|
-
return RCTBridgingToString(p);
|
|
3059
|
-
}
|
|
3060
|
-
inline JS::NativeAppState::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3061
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3062
|
-
auto initialAppState = i.initialAppState.get();
|
|
3063
|
-
d[@"initialAppState"] = initialAppState;
|
|
3064
|
-
return d;
|
|
3065
|
-
}) {}
|
|
3066
|
-
inline JS::NativeAppState::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3067
|
-
return i.unsafeRawValue();
|
|
3068
|
-
}) {}
|
|
3069
|
-
inline NSString *JS::NativeAppearance::AppearancePreferences::colorScheme() const
|
|
3070
|
-
{
|
|
3071
|
-
id const p = _v[@"colorScheme"];
|
|
3072
|
-
return RCTBridgingToString(p);
|
|
3073
|
-
}
|
|
3074
|
-
inline NSString *JS::NativeAsyncStorage::SpecMultiGetCallbackErrorsElement::message() const
|
|
3075
|
-
{
|
|
3076
|
-
id const p = _v[@"message"];
|
|
3077
|
-
return RCTBridgingToString(p);
|
|
3078
|
-
}
|
|
3079
|
-
inline NSString *JS::NativeAsyncStorage::SpecMultiSetCallbackErrorsElement::message() const
|
|
3080
|
-
{
|
|
3081
|
-
id const p = _v[@"message"];
|
|
3082
|
-
return RCTBridgingToString(p);
|
|
3083
|
-
}
|
|
3084
|
-
inline NSString *JS::NativeAsyncStorage::SpecMultiMergeCallbackErrorsElement::message() const
|
|
3085
|
-
{
|
|
3086
|
-
id const p = _v[@"message"];
|
|
3087
|
-
return RCTBridgingToString(p);
|
|
3088
|
-
}
|
|
3089
|
-
inline NSString *JS::NativeAsyncStorage::SpecMultiRemoveCallbackErrorsElement::message() const
|
|
3090
|
-
{
|
|
3091
|
-
id const p = _v[@"message"];
|
|
3092
|
-
return RCTBridgingToString(p);
|
|
3093
|
-
}
|
|
3094
|
-
inline NSString *JS::NativeAsyncStorage::SpecClearCallbackError::message() const
|
|
3095
|
-
{
|
|
3096
|
-
id const p = _v[@"message"];
|
|
3097
|
-
return RCTBridgingToString(p);
|
|
3098
|
-
}
|
|
3099
|
-
inline NSString *JS::NativeAsyncStorage::SpecGetAllKeysCallbackError::message() const
|
|
3100
|
-
{
|
|
3101
|
-
id const p = _v[@"message"];
|
|
3102
|
-
return RCTBridgingToString(p);
|
|
3103
|
-
}
|
|
3104
|
-
inline JS::NativeBlobModule::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3105
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3106
|
-
auto BLOB_URI_SCHEME = i.BLOB_URI_SCHEME.get();
|
|
3107
|
-
d[@"BLOB_URI_SCHEME"] = BLOB_URI_SCHEME;
|
|
3108
|
-
auto BLOB_URI_HOST = i.BLOB_URI_HOST.get();
|
|
3109
|
-
d[@"BLOB_URI_HOST"] = BLOB_URI_HOST;
|
|
3110
|
-
return d;
|
|
3111
|
-
}) {}
|
|
3112
|
-
inline JS::NativeBlobModule::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3113
|
-
return i.unsafeRawValue();
|
|
3114
|
-
}) {}
|
|
3115
|
-
inline double JS::NativeCameraRollManager::GetPhotosParams::first() const
|
|
3116
|
-
{
|
|
3117
|
-
id const p = _v[@"first"];
|
|
3118
|
-
return RCTBridgingToDouble(p);
|
|
3119
|
-
}
|
|
3120
|
-
inline NSString *JS::NativeCameraRollManager::GetPhotosParams::after() const
|
|
3121
|
-
{
|
|
3122
|
-
id const p = _v[@"after"];
|
|
3123
|
-
return RCTBridgingToString(p);
|
|
3124
|
-
}
|
|
3125
|
-
inline NSString *JS::NativeCameraRollManager::GetPhotosParams::groupName() const
|
|
3126
|
-
{
|
|
3127
|
-
id const p = _v[@"groupName"];
|
|
3128
|
-
return RCTBridgingToString(p);
|
|
3129
|
-
}
|
|
3130
|
-
inline NSString *JS::NativeCameraRollManager::GetPhotosParams::groupTypes() const
|
|
3131
|
-
{
|
|
3132
|
-
id const p = _v[@"groupTypes"];
|
|
3133
|
-
return RCTBridgingToString(p);
|
|
3134
|
-
}
|
|
3135
|
-
inline NSString *JS::NativeCameraRollManager::GetPhotosParams::assetType() const
|
|
3136
|
-
{
|
|
3137
|
-
id const p = _v[@"assetType"];
|
|
3138
|
-
return RCTBridgingToString(p);
|
|
3139
|
-
}
|
|
3140
|
-
inline folly::Optional<double> JS::NativeCameraRollManager::GetPhotosParams::maxSize() const
|
|
3141
|
-
{
|
|
3142
|
-
id const p = _v[@"maxSize"];
|
|
3143
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3144
|
-
}
|
|
3145
|
-
inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeCameraRollManager::GetPhotosParams::mimeTypes() const
|
|
3146
|
-
{
|
|
3147
|
-
id const p = _v[@"mimeTypes"];
|
|
3148
|
-
return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
|
|
3149
|
-
}
|
|
3150
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifierNodeImage::uri() const
|
|
3151
|
-
{
|
|
3152
|
-
id const p = _v[@"uri"];
|
|
3153
|
-
return RCTBridgingToString(p);
|
|
3154
|
-
}
|
|
3155
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNodeImage::playableDuration() const
|
|
3156
|
-
{
|
|
3157
|
-
id const p = _v[@"playableDuration"];
|
|
3158
|
-
return RCTBridgingToDouble(p);
|
|
3159
|
-
}
|
|
3160
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNodeImage::width() const
|
|
3161
|
-
{
|
|
3162
|
-
id const p = _v[@"width"];
|
|
3163
|
-
return RCTBridgingToDouble(p);
|
|
3164
|
-
}
|
|
3165
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNodeImage::height() const
|
|
3166
|
-
{
|
|
3167
|
-
id const p = _v[@"height"];
|
|
3168
|
-
return RCTBridgingToDouble(p);
|
|
3169
|
-
}
|
|
3170
|
-
inline folly::Optional<bool> JS::NativeCameraRollManager::PhotoIdentifierNodeImage::isStored() const
|
|
3171
|
-
{
|
|
3172
|
-
id const p = _v[@"isStored"];
|
|
3173
|
-
return RCTBridgingToOptionalBool(p);
|
|
3174
|
-
}
|
|
3175
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifierNodeImage::filename() const
|
|
3176
|
-
{
|
|
3177
|
-
id const p = _v[@"filename"];
|
|
3178
|
-
return RCTBridgingToString(p);
|
|
3179
|
-
}
|
|
3180
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNodeLocation::longitude() const
|
|
3181
|
-
{
|
|
3182
|
-
id const p = _v[@"longitude"];
|
|
3183
|
-
return RCTBridgingToDouble(p);
|
|
3184
|
-
}
|
|
3185
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNodeLocation::latitude() const
|
|
3186
|
-
{
|
|
3187
|
-
id const p = _v[@"latitude"];
|
|
3188
|
-
return RCTBridgingToDouble(p);
|
|
3189
|
-
}
|
|
3190
|
-
inline folly::Optional<double> JS::NativeCameraRollManager::PhotoIdentifierNodeLocation::altitude() const
|
|
3191
|
-
{
|
|
3192
|
-
id const p = _v[@"altitude"];
|
|
3193
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3194
|
-
}
|
|
3195
|
-
inline folly::Optional<double> JS::NativeCameraRollManager::PhotoIdentifierNodeLocation::heading() const
|
|
3196
|
-
{
|
|
3197
|
-
id const p = _v[@"heading"];
|
|
3198
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3199
|
-
}
|
|
3200
|
-
inline folly::Optional<double> JS::NativeCameraRollManager::PhotoIdentifierNodeLocation::speed() const
|
|
3201
|
-
{
|
|
3202
|
-
id const p = _v[@"speed"];
|
|
3203
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3204
|
-
}
|
|
3205
|
-
inline JS::NativeCameraRollManager::PhotoIdentifierNodeImage JS::NativeCameraRollManager::PhotoIdentifierNode::image() const
|
|
3206
|
-
{
|
|
3207
|
-
id const p = _v[@"image"];
|
|
3208
|
-
return JS::NativeCameraRollManager::PhotoIdentifierNodeImage(p);
|
|
3209
|
-
}
|
|
3210
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifierNode::type() const
|
|
3211
|
-
{
|
|
3212
|
-
id const p = _v[@"type"];
|
|
3213
|
-
return RCTBridgingToString(p);
|
|
3214
|
-
}
|
|
3215
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifierNode::group_name() const
|
|
3216
|
-
{
|
|
3217
|
-
id const p = _v[@"group_name"];
|
|
3218
|
-
return RCTBridgingToString(p);
|
|
3219
|
-
}
|
|
3220
|
-
inline double JS::NativeCameraRollManager::PhotoIdentifierNode::timestamp() const
|
|
3221
|
-
{
|
|
3222
|
-
id const p = _v[@"timestamp"];
|
|
3223
|
-
return RCTBridgingToDouble(p);
|
|
3224
|
-
}
|
|
3225
|
-
inline JS::NativeCameraRollManager::PhotoIdentifierNodeLocation JS::NativeCameraRollManager::PhotoIdentifierNode::location() const
|
|
3226
|
-
{
|
|
3227
|
-
id const p = _v[@"location"];
|
|
3228
|
-
return JS::NativeCameraRollManager::PhotoIdentifierNodeLocation(p);
|
|
3229
|
-
}
|
|
3230
|
-
inline JS::NativeCameraRollManager::PhotoIdentifierNode JS::NativeCameraRollManager::PhotoIdentifier::node() const
|
|
3231
|
-
{
|
|
3232
|
-
id const p = _v[@"node"];
|
|
3233
|
-
return JS::NativeCameraRollManager::PhotoIdentifierNode(p);
|
|
3234
|
-
}
|
|
3235
|
-
inline bool JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info::has_next_page() const
|
|
3236
|
-
{
|
|
3237
|
-
id const p = _v[@"has_next_page"];
|
|
3238
|
-
return RCTBridgingToBool(p);
|
|
3239
|
-
}
|
|
3240
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info::start_cursor() const
|
|
3241
|
-
{
|
|
3242
|
-
id const p = _v[@"start_cursor"];
|
|
3243
|
-
return RCTBridgingToString(p);
|
|
3244
|
-
}
|
|
3245
|
-
inline NSString *JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info::end_cursor() const
|
|
3246
|
-
{
|
|
3247
|
-
id const p = _v[@"end_cursor"];
|
|
3248
|
-
return RCTBridgingToString(p);
|
|
3249
|
-
}
|
|
3250
|
-
inline facebook::react::LazyVector<JS::NativeCameraRollManager::PhotoIdentifier> JS::NativeCameraRollManager::PhotoIdentifiersPage::edges() const
|
|
3251
|
-
{
|
|
3252
|
-
id const p = _v[@"edges"];
|
|
3253
|
-
return RCTBridgingToVec(p, ^JS::NativeCameraRollManager::PhotoIdentifier(id itemValue_0) { return JS::NativeCameraRollManager::PhotoIdentifier(itemValue_0); });
|
|
3254
|
-
}
|
|
3255
|
-
inline JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info JS::NativeCameraRollManager::PhotoIdentifiersPage::page_info() const
|
|
3256
|
-
{
|
|
3257
|
-
id const p = _v[@"page_info"];
|
|
3258
|
-
return JS::NativeCameraRollManager::PhotoIdentifiersPagePage_info(p);
|
|
3259
|
-
}
|
|
3260
|
-
inline JS::NativeDeviceInfo::DisplayMetrics::Builder::Builder(const Input i) : _factory(^{
|
|
3261
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3262
|
-
auto width = i.width.get();
|
|
3263
|
-
d[@"width"] = @(width);
|
|
3264
|
-
auto height = i.height.get();
|
|
3265
|
-
d[@"height"] = @(height);
|
|
3266
|
-
auto scale = i.scale.get();
|
|
3267
|
-
d[@"scale"] = @(scale);
|
|
3268
|
-
auto fontScale = i.fontScale.get();
|
|
3269
|
-
d[@"fontScale"] = @(fontScale);
|
|
3270
|
-
return d;
|
|
3271
|
-
}) {}
|
|
3272
|
-
inline JS::NativeDeviceInfo::DisplayMetrics::Builder::Builder(DisplayMetrics i) : _factory(^{
|
|
3273
|
-
return i.unsafeRawValue();
|
|
3274
|
-
}) {}
|
|
3275
|
-
inline JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder::Builder(const Input i) : _factory(^{
|
|
3276
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3277
|
-
auto width = i.width.get();
|
|
3278
|
-
d[@"width"] = @(width);
|
|
3279
|
-
auto height = i.height.get();
|
|
3280
|
-
d[@"height"] = @(height);
|
|
3281
|
-
auto scale = i.scale.get();
|
|
3282
|
-
d[@"scale"] = @(scale);
|
|
3283
|
-
auto fontScale = i.fontScale.get();
|
|
3284
|
-
d[@"fontScale"] = @(fontScale);
|
|
3285
|
-
auto densityDpi = i.densityDpi.get();
|
|
3286
|
-
d[@"densityDpi"] = @(densityDpi);
|
|
3287
|
-
return d;
|
|
3288
|
-
}) {}
|
|
3289
|
-
inline JS::NativeDeviceInfo::DisplayMetricsAndroid::Builder::Builder(DisplayMetricsAndroid i) : _factory(^{
|
|
3290
|
-
return i.unsafeRawValue();
|
|
3291
|
-
}) {}
|
|
3292
|
-
inline JS::NativeDeviceInfo::DimensionsPayload::Builder::Builder(const Input i) : _factory(^{
|
|
3293
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3294
|
-
auto window = i.window;
|
|
3295
|
-
d[@"window"] = window.hasValue() ? window.value().buildUnsafeRawValue() : nil;
|
|
3296
|
-
auto screen = i.screen;
|
|
3297
|
-
d[@"screen"] = screen.hasValue() ? screen.value().buildUnsafeRawValue() : nil;
|
|
3298
|
-
auto windowPhysicalPixels = i.windowPhysicalPixels;
|
|
3299
|
-
d[@"windowPhysicalPixels"] = windowPhysicalPixels.hasValue() ? windowPhysicalPixels.value().buildUnsafeRawValue() : nil;
|
|
3300
|
-
auto screenPhysicalPixels = i.screenPhysicalPixels;
|
|
3301
|
-
d[@"screenPhysicalPixels"] = screenPhysicalPixels.hasValue() ? screenPhysicalPixels.value().buildUnsafeRawValue() : nil;
|
|
3302
|
-
return d;
|
|
3303
|
-
}) {}
|
|
3304
|
-
inline JS::NativeDeviceInfo::DimensionsPayload::Builder::Builder(DimensionsPayload i) : _factory(^{
|
|
3305
|
-
return i.unsafeRawValue();
|
|
3306
|
-
}) {}
|
|
3307
|
-
inline JS::NativeDeviceInfo::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3308
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3309
|
-
auto Dimensions = i.Dimensions.get();
|
|
3310
|
-
d[@"Dimensions"] = Dimensions.buildUnsafeRawValue();
|
|
3311
|
-
auto isIPhoneX_deprecated = i.isIPhoneX_deprecated;
|
|
3312
|
-
d[@"isIPhoneX_deprecated"] = isIPhoneX_deprecated.hasValue() ? @((BOOL)isIPhoneX_deprecated.value()) : nil;
|
|
3313
|
-
return d;
|
|
3314
|
-
}) {}
|
|
3315
|
-
inline JS::NativeDeviceInfo::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3316
|
-
return i.unsafeRawValue();
|
|
3317
|
-
}) {}
|
|
3318
|
-
inline NSString *JS::NativeDialogManagerAndroid::DialogOptions::title() const
|
|
3319
|
-
{
|
|
3320
|
-
id const p = _v[@"title"];
|
|
3321
|
-
return RCTBridgingToString(p);
|
|
3322
|
-
}
|
|
3323
|
-
inline NSString *JS::NativeDialogManagerAndroid::DialogOptions::message() const
|
|
3324
|
-
{
|
|
3325
|
-
id const p = _v[@"message"];
|
|
3326
|
-
return RCTBridgingToString(p);
|
|
3327
|
-
}
|
|
3328
|
-
inline NSString *JS::NativeDialogManagerAndroid::DialogOptions::buttonPositive() const
|
|
3329
|
-
{
|
|
3330
|
-
id const p = _v[@"buttonPositive"];
|
|
3331
|
-
return RCTBridgingToString(p);
|
|
3332
|
-
}
|
|
3333
|
-
inline NSString *JS::NativeDialogManagerAndroid::DialogOptions::buttonNegative() const
|
|
3334
|
-
{
|
|
3335
|
-
id const p = _v[@"buttonNegative"];
|
|
3336
|
-
return RCTBridgingToString(p);
|
|
3337
|
-
}
|
|
3338
|
-
inline NSString *JS::NativeDialogManagerAndroid::DialogOptions::buttonNeutral() const
|
|
3339
|
-
{
|
|
3340
|
-
id const p = _v[@"buttonNeutral"];
|
|
3341
|
-
return RCTBridgingToString(p);
|
|
3342
|
-
}
|
|
3343
|
-
inline folly::Optional<facebook::react::LazyVector<NSString *>> JS::NativeDialogManagerAndroid::DialogOptions::items() const
|
|
3344
|
-
{
|
|
3345
|
-
id const p = _v[@"items"];
|
|
3346
|
-
return RCTBridgingToOptionalVec(p, ^NSString *(id itemValue_0) { return RCTBridgingToString(itemValue_0); });
|
|
3347
|
-
}
|
|
3348
|
-
inline folly::Optional<bool> JS::NativeDialogManagerAndroid::DialogOptions::cancelable() const
|
|
3349
|
-
{
|
|
3350
|
-
id const p = _v[@"cancelable"];
|
|
3351
|
-
return RCTBridgingToOptionalBool(p);
|
|
3352
|
-
}
|
|
3353
|
-
inline JS::NativeDialogManagerAndroid::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3354
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3355
|
-
auto buttonClicked = i.buttonClicked.get();
|
|
3356
|
-
d[@"buttonClicked"] = buttonClicked;
|
|
3357
|
-
auto dismissed = i.dismissed.get();
|
|
3358
|
-
d[@"dismissed"] = dismissed;
|
|
3359
|
-
auto buttonPositive = i.buttonPositive.get();
|
|
3360
|
-
d[@"buttonPositive"] = @(buttonPositive);
|
|
3361
|
-
auto buttonNegative = i.buttonNegative.get();
|
|
3362
|
-
d[@"buttonNegative"] = @(buttonNegative);
|
|
3363
|
-
auto buttonNeutral = i.buttonNeutral.get();
|
|
3364
|
-
d[@"buttonNeutral"] = @(buttonNeutral);
|
|
3365
|
-
return d;
|
|
3366
|
-
}) {}
|
|
3367
|
-
inline JS::NativeDialogManagerAndroid::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3368
|
-
return i.unsafeRawValue();
|
|
3369
|
-
}) {}
|
|
3370
|
-
inline folly::Optional<double> JS::NativeExceptionsManager::StackFrame::column() const
|
|
3371
|
-
{
|
|
3372
|
-
id const p = _v[@"column"];
|
|
3373
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3374
|
-
}
|
|
3375
|
-
inline NSString *JS::NativeExceptionsManager::StackFrame::file() const
|
|
3376
|
-
{
|
|
3377
|
-
id const p = _v[@"file"];
|
|
3378
|
-
return RCTBridgingToString(p);
|
|
3379
|
-
}
|
|
3380
|
-
inline folly::Optional<double> JS::NativeExceptionsManager::StackFrame::lineNumber() const
|
|
3381
|
-
{
|
|
3382
|
-
id const p = _v[@"lineNumber"];
|
|
3383
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3384
|
-
}
|
|
3385
|
-
inline NSString *JS::NativeExceptionsManager::StackFrame::methodName() const
|
|
3386
|
-
{
|
|
3387
|
-
id const p = _v[@"methodName"];
|
|
3388
|
-
return RCTBridgingToString(p);
|
|
3389
|
-
}
|
|
3390
|
-
inline folly::Optional<bool> JS::NativeExceptionsManager::StackFrame::collapse() const
|
|
3391
|
-
{
|
|
3392
|
-
id const p = _v[@"collapse"];
|
|
3393
|
-
return RCTBridgingToOptionalBool(p);
|
|
3394
|
-
}
|
|
3395
|
-
inline NSString *JS::NativeExceptionsManager::ExceptionData::message() const
|
|
3396
|
-
{
|
|
3397
|
-
id const p = _v[@"message"];
|
|
3398
|
-
return RCTBridgingToString(p);
|
|
3399
|
-
}
|
|
3400
|
-
inline NSString *JS::NativeExceptionsManager::ExceptionData::originalMessage() const
|
|
3401
|
-
{
|
|
3402
|
-
id const p = _v[@"originalMessage"];
|
|
3403
|
-
return RCTBridgingToString(p);
|
|
3404
|
-
}
|
|
3405
|
-
inline NSString *JS::NativeExceptionsManager::ExceptionData::name() const
|
|
3406
|
-
{
|
|
3407
|
-
id const p = _v[@"name"];
|
|
3408
|
-
return RCTBridgingToString(p);
|
|
3409
|
-
}
|
|
3410
|
-
inline NSString *JS::NativeExceptionsManager::ExceptionData::componentStack() const
|
|
3411
|
-
{
|
|
3412
|
-
id const p = _v[@"componentStack"];
|
|
3413
|
-
return RCTBridgingToString(p);
|
|
3414
|
-
}
|
|
3415
|
-
inline facebook::react::LazyVector<JS::NativeExceptionsManager::StackFrame> JS::NativeExceptionsManager::ExceptionData::stack() const
|
|
3416
|
-
{
|
|
3417
|
-
id const p = _v[@"stack"];
|
|
3418
|
-
return RCTBridgingToVec(p, ^JS::NativeExceptionsManager::StackFrame(id itemValue_0) { return JS::NativeExceptionsManager::StackFrame(itemValue_0); });
|
|
3419
|
-
}
|
|
3420
|
-
inline double JS::NativeExceptionsManager::ExceptionData::id_() const
|
|
3421
|
-
{
|
|
3422
|
-
id const p = _v[@"id"];
|
|
3423
|
-
return RCTBridgingToDouble(p);
|
|
3424
|
-
}
|
|
3425
|
-
inline bool JS::NativeExceptionsManager::ExceptionData::isFatal() const
|
|
3426
|
-
{
|
|
3427
|
-
id const p = _v[@"isFatal"];
|
|
3428
|
-
return RCTBridgingToBool(p);
|
|
3429
|
-
}
|
|
3430
|
-
inline id<NSObject> _Nullable JS::NativeExceptionsManager::ExceptionData::extraData() const
|
|
3431
|
-
{
|
|
3432
|
-
id const p = _v[@"extraData"];
|
|
3433
|
-
return p;
|
|
3434
|
-
}
|
|
3435
|
-
inline folly::Optional<bool> JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions::debug() const
|
|
3436
|
-
{
|
|
3437
|
-
id const p = _v[@"debug"];
|
|
3438
|
-
return RCTBridgingToOptionalBool(p);
|
|
3439
|
-
}
|
|
3440
|
-
inline folly::Optional<bool> JS::NativeFrameRateLogger::SpecSetGlobalOptionsOptions::reportStackTraces() const
|
|
3441
|
-
{
|
|
3442
|
-
id const p = _v[@"reportStackTraces"];
|
|
3443
|
-
return RCTBridgingToOptionalBool(p);
|
|
3444
|
-
}
|
|
3445
|
-
inline JS::NativeI18nManager::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3446
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3447
|
-
auto isRTL = i.isRTL.get();
|
|
3448
|
-
d[@"isRTL"] = @(isRTL);
|
|
3449
|
-
auto doLeftAndRightSwapInRTL = i.doLeftAndRightSwapInRTL.get();
|
|
3450
|
-
d[@"doLeftAndRightSwapInRTL"] = @(doLeftAndRightSwapInRTL);
|
|
3451
|
-
return d;
|
|
3452
|
-
}) {}
|
|
3453
|
-
inline JS::NativeI18nManager::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3454
|
-
return i.unsafeRawValue();
|
|
3455
|
-
}) {}
|
|
3456
|
-
inline double JS::NativeImageEditor::OptionsOffset::x() const
|
|
3457
|
-
{
|
|
3458
|
-
id const p = _v[@"x"];
|
|
3459
|
-
return RCTBridgingToDouble(p);
|
|
3460
|
-
}
|
|
3461
|
-
inline double JS::NativeImageEditor::OptionsOffset::y() const
|
|
3462
|
-
{
|
|
3463
|
-
id const p = _v[@"y"];
|
|
3464
|
-
return RCTBridgingToDouble(p);
|
|
3465
|
-
}
|
|
3466
|
-
inline double JS::NativeImageEditor::OptionsSize::width() const
|
|
3467
|
-
{
|
|
3468
|
-
id const p = _v[@"width"];
|
|
3469
|
-
return RCTBridgingToDouble(p);
|
|
3470
|
-
}
|
|
3471
|
-
inline double JS::NativeImageEditor::OptionsSize::height() const
|
|
3472
|
-
{
|
|
3473
|
-
id const p = _v[@"height"];
|
|
3474
|
-
return RCTBridgingToDouble(p);
|
|
3475
|
-
}
|
|
3476
|
-
inline double JS::NativeImageEditor::OptionsDisplaySize::width() const
|
|
3477
|
-
{
|
|
3478
|
-
id const p = _v[@"width"];
|
|
3479
|
-
return RCTBridgingToDouble(p);
|
|
3480
|
-
}
|
|
3481
|
-
inline double JS::NativeImageEditor::OptionsDisplaySize::height() const
|
|
3482
|
-
{
|
|
3483
|
-
id const p = _v[@"height"];
|
|
3484
|
-
return RCTBridgingToDouble(p);
|
|
3485
|
-
}
|
|
3486
|
-
inline JS::NativeImageEditor::OptionsOffset JS::NativeImageEditor::Options::offset() const
|
|
3487
|
-
{
|
|
3488
|
-
id const p = _v[@"offset"];
|
|
3489
|
-
return JS::NativeImageEditor::OptionsOffset(p);
|
|
3490
|
-
}
|
|
3491
|
-
inline JS::NativeImageEditor::OptionsSize JS::NativeImageEditor::Options::size() const
|
|
3492
|
-
{
|
|
3493
|
-
id const p = _v[@"size"];
|
|
3494
|
-
return JS::NativeImageEditor::OptionsSize(p);
|
|
3495
|
-
}
|
|
3496
|
-
inline folly::Optional<JS::NativeImageEditor::OptionsDisplaySize> JS::NativeImageEditor::Options::displaySize() const
|
|
3497
|
-
{
|
|
3498
|
-
id const p = _v[@"displaySize"];
|
|
3499
|
-
return (p == nil ? folly::none : folly::make_optional(JS::NativeImageEditor::OptionsDisplaySize(p)));
|
|
3500
|
-
}
|
|
3501
|
-
inline NSString *JS::NativeImageEditor::Options::resizeMode() const
|
|
3502
|
-
{
|
|
3503
|
-
id const p = _v[@"resizeMode"];
|
|
3504
|
-
return RCTBridgingToString(p);
|
|
3505
|
-
}
|
|
3506
|
-
inline folly::Optional<bool> JS::NativeImageEditor::Options::allowExternalStorage() const
|
|
3507
|
-
{
|
|
3508
|
-
id const p = _v[@"allowExternalStorage"];
|
|
3509
|
-
return RCTBridgingToOptionalBool(p);
|
|
3510
|
-
}
|
|
3511
|
-
inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::unmirrorFrontFacingCamera() const
|
|
3512
|
-
{
|
|
3513
|
-
id const p = _v[@"unmirrorFrontFacingCamera"];
|
|
3514
|
-
return RCTBridgingToBool(p);
|
|
3515
|
-
}
|
|
3516
|
-
inline bool JS::NativeImagePickerIOS::SpecOpenCameraDialogConfig::videoMode() const
|
|
3517
|
-
{
|
|
3518
|
-
id const p = _v[@"videoMode"];
|
|
3519
|
-
return RCTBridgingToBool(p);
|
|
3520
|
-
}
|
|
3521
|
-
inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showImages() const
|
|
3522
|
-
{
|
|
3523
|
-
id const p = _v[@"showImages"];
|
|
3524
|
-
return RCTBridgingToBool(p);
|
|
3525
|
-
}
|
|
3526
|
-
inline bool JS::NativeImagePickerIOS::SpecOpenSelectDialogConfig::showVideos() const
|
|
3527
|
-
{
|
|
3528
|
-
id const p = _v[@"showVideos"];
|
|
3529
|
-
return RCTBridgingToBool(p);
|
|
3530
|
-
}
|
|
3531
|
-
inline NSString *JS::NativeImageStore::SpecAddImageFromBase64ErrorCallbackError::message() const
|
|
3532
|
-
{
|
|
3533
|
-
id const p = _v[@"message"];
|
|
3534
|
-
return RCTBridgingToString(p);
|
|
3535
|
-
}
|
|
3536
|
-
inline JS::NativeJSDevSupport::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3537
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3538
|
-
auto ERROR_CODE_EXCEPTION = i.ERROR_CODE_EXCEPTION.get();
|
|
3539
|
-
d[@"ERROR_CODE_EXCEPTION"] = @(ERROR_CODE_EXCEPTION);
|
|
3540
|
-
auto ERROR_CODE_VIEW_NOT_FOUND = i.ERROR_CODE_VIEW_NOT_FOUND.get();
|
|
3541
|
-
d[@"ERROR_CODE_VIEW_NOT_FOUND"] = @(ERROR_CODE_VIEW_NOT_FOUND);
|
|
3542
|
-
return d;
|
|
3543
|
-
}) {}
|
|
3544
|
-
inline JS::NativeJSDevSupport::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3545
|
-
return i.unsafeRawValue();
|
|
3546
|
-
}) {}
|
|
3547
|
-
inline NSString *JS::NativeLinking::SpecSendIntentExtrasElement::key() const
|
|
3548
|
-
{
|
|
3549
|
-
id const p = _v[@"key"];
|
|
3550
|
-
return RCTBridgingToString(p);
|
|
3551
|
-
}
|
|
3552
|
-
inline id<NSObject> JS::NativeLinking::SpecSendIntentExtrasElement::value() const
|
|
3553
|
-
{
|
|
3554
|
-
id const p = _v[@"value"];
|
|
3555
|
-
return p;
|
|
3556
|
-
}
|
|
3557
|
-
inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::method() const
|
|
3558
|
-
{
|
|
3559
|
-
id const p = _v[@"method"];
|
|
3560
|
-
return RCTBridgingToString(p);
|
|
3561
|
-
}
|
|
3562
|
-
inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::url() const
|
|
3563
|
-
{
|
|
3564
|
-
id const p = _v[@"url"];
|
|
3565
|
-
return RCTBridgingToString(p);
|
|
3566
|
-
}
|
|
3567
|
-
inline id<NSObject> JS::NativeNetworkingIOS::SpecSendRequestQuery::data() const
|
|
3568
|
-
{
|
|
3569
|
-
id const p = _v[@"data"];
|
|
3570
|
-
return p;
|
|
3571
|
-
}
|
|
3572
|
-
inline id<NSObject> JS::NativeNetworkingIOS::SpecSendRequestQuery::headers() const
|
|
3573
|
-
{
|
|
3574
|
-
id const p = _v[@"headers"];
|
|
3575
|
-
return p;
|
|
3576
|
-
}
|
|
3577
|
-
inline NSString *JS::NativeNetworkingIOS::SpecSendRequestQuery::responseType() const
|
|
3578
|
-
{
|
|
3579
|
-
id const p = _v[@"responseType"];
|
|
3580
|
-
return RCTBridgingToString(p);
|
|
3581
|
-
}
|
|
3582
|
-
inline bool JS::NativeNetworkingIOS::SpecSendRequestQuery::incrementalUpdates() const
|
|
3583
|
-
{
|
|
3584
|
-
id const p = _v[@"incrementalUpdates"];
|
|
3585
|
-
return RCTBridgingToBool(p);
|
|
3586
|
-
}
|
|
3587
|
-
inline double JS::NativeNetworkingIOS::SpecSendRequestQuery::timeout() const
|
|
3588
|
-
{
|
|
3589
|
-
id const p = _v[@"timeout"];
|
|
3590
|
-
return RCTBridgingToDouble(p);
|
|
3591
|
-
}
|
|
3592
|
-
inline bool JS::NativeNetworkingIOS::SpecSendRequestQuery::withCredentials() const
|
|
3593
|
-
{
|
|
3594
|
-
id const p = _v[@"withCredentials"];
|
|
3595
|
-
return RCTBridgingToBool(p);
|
|
3596
|
-
}
|
|
3597
|
-
inline JS::NativePlatformConstantsAndroid::ConstantsReactNativeVersion::Builder::Builder(const Input i) : _factory(^{
|
|
3598
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3599
|
-
auto major = i.major.get();
|
|
3600
|
-
d[@"major"] = @(major);
|
|
3601
|
-
auto minor = i.minor.get();
|
|
3602
|
-
d[@"minor"] = @(minor);
|
|
3603
|
-
auto patch = i.patch.get();
|
|
3604
|
-
d[@"patch"] = @(patch);
|
|
3605
|
-
auto prerelease = i.prerelease.get();
|
|
3606
|
-
d[@"prerelease"] = prerelease.hasValue() ? @((double)prerelease.value()) : nil;
|
|
3607
|
-
return d;
|
|
3608
|
-
}) {}
|
|
3609
|
-
inline JS::NativePlatformConstantsAndroid::ConstantsReactNativeVersion::Builder::Builder(ConstantsReactNativeVersion i) : _factory(^{
|
|
3610
|
-
return i.unsafeRawValue();
|
|
3611
|
-
}) {}
|
|
3612
|
-
inline JS::NativePlatformConstantsAndroid::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3613
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3614
|
-
auto isTesting = i.isTesting.get();
|
|
3615
|
-
d[@"isTesting"] = @(isTesting);
|
|
3616
|
-
auto reactNativeVersion = i.reactNativeVersion.get();
|
|
3617
|
-
d[@"reactNativeVersion"] = reactNativeVersion.buildUnsafeRawValue();
|
|
3618
|
-
auto Version = i.Version.get();
|
|
3619
|
-
d[@"Version"] = @(Version);
|
|
3620
|
-
auto Release = i.Release.get();
|
|
3621
|
-
d[@"Release"] = Release;
|
|
3622
|
-
auto Serial = i.Serial.get();
|
|
3623
|
-
d[@"Serial"] = Serial;
|
|
3624
|
-
auto Fingerprint = i.Fingerprint.get();
|
|
3625
|
-
d[@"Fingerprint"] = Fingerprint;
|
|
3626
|
-
auto Model = i.Model.get();
|
|
3627
|
-
d[@"Model"] = Model;
|
|
3628
|
-
auto ServerHost = i.ServerHost;
|
|
3629
|
-
d[@"ServerHost"] = ServerHost;
|
|
3630
|
-
auto uiMode = i.uiMode.get();
|
|
3631
|
-
d[@"uiMode"] = uiMode;
|
|
3632
|
-
return d;
|
|
3633
|
-
}) {}
|
|
3634
|
-
inline JS::NativePlatformConstantsAndroid::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3635
|
-
return i.unsafeRawValue();
|
|
3636
|
-
}) {}
|
|
3637
|
-
inline JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder::Builder(const Input i) : _factory(^{
|
|
3638
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3639
|
-
auto major = i.major.get();
|
|
3640
|
-
d[@"major"] = @(major);
|
|
3641
|
-
auto minor = i.minor.get();
|
|
3642
|
-
d[@"minor"] = @(minor);
|
|
3643
|
-
auto patch = i.patch.get();
|
|
3644
|
-
d[@"patch"] = @(patch);
|
|
3645
|
-
auto prerelease = i.prerelease.get();
|
|
3646
|
-
d[@"prerelease"] = prerelease.hasValue() ? @((double)prerelease.value()) : nil;
|
|
3647
|
-
return d;
|
|
3648
|
-
}) {}
|
|
3649
|
-
inline JS::NativePlatformConstantsIOS::ConstantsReactNativeVersion::Builder::Builder(ConstantsReactNativeVersion i) : _factory(^{
|
|
3650
|
-
return i.unsafeRawValue();
|
|
3651
|
-
}) {}
|
|
3652
|
-
inline JS::NativePlatformConstantsIOS::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3653
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3654
|
-
auto isTesting = i.isTesting.get();
|
|
3655
|
-
d[@"isTesting"] = @(isTesting);
|
|
3656
|
-
auto reactNativeVersion = i.reactNativeVersion.get();
|
|
3657
|
-
d[@"reactNativeVersion"] = reactNativeVersion.buildUnsafeRawValue();
|
|
3658
|
-
auto forceTouchAvailable = i.forceTouchAvailable.get();
|
|
3659
|
-
d[@"forceTouchAvailable"] = @(forceTouchAvailable);
|
|
3660
|
-
auto osVersion = i.osVersion.get();
|
|
3661
|
-
d[@"osVersion"] = osVersion;
|
|
3662
|
-
auto systemName = i.systemName.get();
|
|
3663
|
-
d[@"systemName"] = systemName;
|
|
3664
|
-
auto interfaceIdiom = i.interfaceIdiom.get();
|
|
3665
|
-
d[@"interfaceIdiom"] = interfaceIdiom;
|
|
3666
|
-
return d;
|
|
3667
|
-
}) {}
|
|
3668
|
-
inline JS::NativePlatformConstantsIOS::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3669
|
-
return i.unsafeRawValue();
|
|
3670
|
-
}) {}
|
|
3671
|
-
inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::alert() const
|
|
3672
|
-
{
|
|
3673
|
-
id const p = _v[@"alert"];
|
|
3674
|
-
return RCTBridgingToBool(p);
|
|
3675
|
-
}
|
|
3676
|
-
inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::badge() const
|
|
3677
|
-
{
|
|
3678
|
-
id const p = _v[@"badge"];
|
|
3679
|
-
return RCTBridgingToBool(p);
|
|
3680
|
-
}
|
|
3681
|
-
inline bool JS::NativePushNotificationManagerIOS::SpecRequestPermissionsPermission::sound() const
|
|
3682
|
-
{
|
|
3683
|
-
id const p = _v[@"sound"];
|
|
3684
|
-
return RCTBridgingToBool(p);
|
|
3685
|
-
}
|
|
3686
|
-
inline bool JS::NativePushNotificationManagerIOS::Permissions::alert() const
|
|
3687
|
-
{
|
|
3688
|
-
id const p = _v[@"alert"];
|
|
3689
|
-
return RCTBridgingToBool(p);
|
|
3690
|
-
}
|
|
3691
|
-
inline bool JS::NativePushNotificationManagerIOS::Permissions::badge() const
|
|
3692
|
-
{
|
|
3693
|
-
id const p = _v[@"badge"];
|
|
3694
|
-
return RCTBridgingToBool(p);
|
|
3695
|
-
}
|
|
3696
|
-
inline bool JS::NativePushNotificationManagerIOS::Permissions::sound() const
|
|
3697
|
-
{
|
|
3698
|
-
id const p = _v[@"sound"];
|
|
3699
|
-
return RCTBridgingToBool(p);
|
|
3700
|
-
}
|
|
3701
|
-
inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertTitle() const
|
|
3702
|
-
{
|
|
3703
|
-
id const p = _v[@"alertTitle"];
|
|
3704
|
-
return RCTBridgingToString(p);
|
|
3705
|
-
}
|
|
3706
|
-
inline folly::Optional<double> JS::NativePushNotificationManagerIOS::Notification::fireDate() const
|
|
3707
|
-
{
|
|
3708
|
-
id const p = _v[@"fireDate"];
|
|
3709
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3710
|
-
}
|
|
3711
|
-
inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertBody() const
|
|
3712
|
-
{
|
|
3713
|
-
id const p = _v[@"alertBody"];
|
|
3714
|
-
return RCTBridgingToString(p);
|
|
3715
|
-
}
|
|
3716
|
-
inline NSString *JS::NativePushNotificationManagerIOS::Notification::alertAction() const
|
|
3717
|
-
{
|
|
3718
|
-
id const p = _v[@"alertAction"];
|
|
3719
|
-
return RCTBridgingToString(p);
|
|
3720
|
-
}
|
|
3721
|
-
inline id<NSObject> _Nullable JS::NativePushNotificationManagerIOS::Notification::userInfo() const
|
|
3722
|
-
{
|
|
3723
|
-
id const p = _v[@"userInfo"];
|
|
3724
|
-
return p;
|
|
3725
|
-
}
|
|
3726
|
-
inline NSString *JS::NativePushNotificationManagerIOS::Notification::category() const
|
|
3727
|
-
{
|
|
3728
|
-
id const p = _v[@"category"];
|
|
3729
|
-
return RCTBridgingToString(p);
|
|
3730
|
-
}
|
|
3731
|
-
inline NSString *JS::NativePushNotificationManagerIOS::Notification::repeatInterval() const
|
|
3732
|
-
{
|
|
3733
|
-
id const p = _v[@"repeatInterval"];
|
|
3734
|
-
return RCTBridgingToString(p);
|
|
3735
|
-
}
|
|
3736
|
-
inline folly::Optional<double> JS::NativePushNotificationManagerIOS::Notification::applicationIconBadgeNumber() const
|
|
3737
|
-
{
|
|
3738
|
-
id const p = _v[@"applicationIconBadgeNumber"];
|
|
3739
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3740
|
-
}
|
|
3741
|
-
inline folly::Optional<bool> JS::NativePushNotificationManagerIOS::Notification::isSilent() const
|
|
3742
|
-
{
|
|
3743
|
-
id const p = _v[@"isSilent"];
|
|
3744
|
-
return RCTBridgingToOptionalBool(p);
|
|
3745
|
-
}
|
|
3746
|
-
inline JS::NativeSettingsManager::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3747
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3748
|
-
auto settings = i.settings.get();
|
|
3749
|
-
d[@"settings"] = settings;
|
|
3750
|
-
return d;
|
|
3751
|
-
}) {}
|
|
3752
|
-
inline JS::NativeSettingsManager::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3753
|
-
return i.unsafeRawValue();
|
|
3754
|
-
}) {}
|
|
3755
|
-
inline NSString *JS::NativeShareModule::SpecShareContent::title() const
|
|
3756
|
-
{
|
|
3757
|
-
id const p = _v[@"title"];
|
|
3758
|
-
return RCTBridgingToString(p);
|
|
3759
|
-
}
|
|
3760
|
-
inline NSString *JS::NativeShareModule::SpecShareContent::message() const
|
|
3761
|
-
{
|
|
3762
|
-
id const p = _v[@"message"];
|
|
3763
|
-
return RCTBridgingToString(p);
|
|
3764
|
-
}
|
|
3765
|
-
inline JS::NativeSourceCode::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3766
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3767
|
-
auto scriptURL = i.scriptURL.get();
|
|
3768
|
-
d[@"scriptURL"] = scriptURL;
|
|
3769
|
-
return d;
|
|
3770
|
-
}) {}
|
|
3771
|
-
inline JS::NativeSourceCode::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3772
|
-
return i.unsafeRawValue();
|
|
3773
|
-
}) {}
|
|
3774
|
-
inline JS::NativeStatusBarManagerAndroid::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3775
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3776
|
-
auto HEIGHT = i.HEIGHT.get();
|
|
3777
|
-
d[@"HEIGHT"] = @(HEIGHT);
|
|
3778
|
-
auto DEFAULT_BACKGROUND_COLOR = i.DEFAULT_BACKGROUND_COLOR.get();
|
|
3779
|
-
d[@"DEFAULT_BACKGROUND_COLOR"] = @(DEFAULT_BACKGROUND_COLOR);
|
|
3780
|
-
return d;
|
|
3781
|
-
}) {}
|
|
3782
|
-
inline JS::NativeStatusBarManagerAndroid::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3783
|
-
return i.unsafeRawValue();
|
|
3784
|
-
}) {}
|
|
3785
|
-
inline double JS::NativeStatusBarManagerIOS::SpecGetHeightCallbackResult::height() const
|
|
3786
|
-
{
|
|
3787
|
-
id const p = _v[@"height"];
|
|
3788
|
-
return RCTBridgingToDouble(p);
|
|
3789
|
-
}
|
|
3790
|
-
inline JS::NativeStatusBarManagerIOS::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3791
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3792
|
-
auto HEIGHT = i.HEIGHT.get();
|
|
3793
|
-
d[@"HEIGHT"] = @(HEIGHT);
|
|
3794
|
-
auto DEFAULT_BACKGROUND_COLOR = i.DEFAULT_BACKGROUND_COLOR;
|
|
3795
|
-
d[@"DEFAULT_BACKGROUND_COLOR"] = DEFAULT_BACKGROUND_COLOR.hasValue() ? @((double)DEFAULT_BACKGROUND_COLOR.value()) : nil;
|
|
3796
|
-
return d;
|
|
3797
|
-
}) {}
|
|
3798
|
-
inline JS::NativeStatusBarManagerIOS::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3799
|
-
return i.unsafeRawValue();
|
|
3800
|
-
}) {}
|
|
3801
|
-
inline folly::Optional<double> JS::NativeTimePickerAndroid::TimePickerOptions::hour() const
|
|
3802
|
-
{
|
|
3803
|
-
id const p = _v[@"hour"];
|
|
3804
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3805
|
-
}
|
|
3806
|
-
inline folly::Optional<double> JS::NativeTimePickerAndroid::TimePickerOptions::minute() const
|
|
3807
|
-
{
|
|
3808
|
-
id const p = _v[@"minute"];
|
|
3809
|
-
return RCTBridgingToOptionalDouble(p);
|
|
3810
|
-
}
|
|
3811
|
-
inline folly::Optional<bool> JS::NativeTimePickerAndroid::TimePickerOptions::is24Hour() const
|
|
3812
|
-
{
|
|
3813
|
-
id const p = _v[@"is24Hour"];
|
|
3814
|
-
return RCTBridgingToOptionalBool(p);
|
|
3815
|
-
}
|
|
3816
|
-
inline NSString *JS::NativeTimePickerAndroid::TimePickerOptions::mode() const
|
|
3817
|
-
{
|
|
3818
|
-
id const p = _v[@"mode"];
|
|
3819
|
-
return RCTBridgingToString(p);
|
|
3820
|
-
}
|
|
3821
|
-
inline NSString *JS::NativeTimePickerAndroid::TimePickerResult::action() const
|
|
3822
|
-
{
|
|
3823
|
-
id const p = _v[@"action"];
|
|
3824
|
-
return RCTBridgingToString(p);
|
|
3825
|
-
}
|
|
3826
|
-
inline double JS::NativeTimePickerAndroid::TimePickerResult::hour() const
|
|
3827
|
-
{
|
|
3828
|
-
id const p = _v[@"hour"];
|
|
3829
|
-
return RCTBridgingToDouble(p);
|
|
3830
|
-
}
|
|
3831
|
-
inline double JS::NativeTimePickerAndroid::TimePickerResult::minute() const
|
|
3832
|
-
{
|
|
3833
|
-
id const p = _v[@"minute"];
|
|
3834
|
-
return RCTBridgingToDouble(p);
|
|
3835
|
-
}
|
|
3836
|
-
inline JS::NativeToastAndroid::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3837
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3838
|
-
auto SHORT = i.SHORT.get();
|
|
3839
|
-
d[@"SHORT"] = @(SHORT);
|
|
3840
|
-
auto LONG = i.LONG.get();
|
|
3841
|
-
d[@"LONG"] = @(LONG);
|
|
3842
|
-
auto TOP = i.TOP.get();
|
|
3843
|
-
d[@"TOP"] = @(TOP);
|
|
3844
|
-
auto BOTTOM = i.BOTTOM.get();
|
|
3845
|
-
d[@"BOTTOM"] = @(BOTTOM);
|
|
3846
|
-
auto CENTER = i.CENTER.get();
|
|
3847
|
-
d[@"CENTER"] = @(CENTER);
|
|
3848
|
-
return d;
|
|
3849
|
-
}) {}
|
|
3850
|
-
inline JS::NativeToastAndroid::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3851
|
-
return i.unsafeRawValue();
|
|
3852
|
-
}) {}
|
|
3853
|
-
inline JS::NativeUIManager::Constants::Builder::Builder(const Input i) : _factory(^{
|
|
3854
|
-
NSMutableDictionary *d = [NSMutableDictionary new];
|
|
3855
|
-
return d;
|
|
3856
|
-
}) {}
|
|
3857
|
-
inline JS::NativeUIManager::Constants::Builder::Builder(Constants i) : _factory(^{
|
|
3858
|
-
return i.unsafeRawValue();
|
|
3859
|
-
}) {}
|
|
3860
|
-
inline id<NSObject> _Nullable JS::NativeWebSocketModule::SpecConnectOptions::headers() const
|
|
3861
|
-
{
|
|
3862
|
-
id const p = _v[@"headers"];
|
|
3863
|
-
return p;
|
|
3864
|
-
}
|