@react-native-oh-tpl/react-native-gesture-handler 2.12.1-0.0.1 → 2.12.6-2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -62
- package/{LICENSE → harmony/gesture_handler/LICENSE} +21 -21
- package/harmony/gesture_handler/OAT.xml +44 -0
- package/harmony/gesture_handler/README.OpenSource +11 -0
- package/harmony/gesture_handler/README.md +1 -0
- package/harmony/gesture_handler/build-profile.json5 +8 -0
- package/harmony/gesture_handler/hvigorfile.ts +2 -0
- package/harmony/gesture_handler/index.ets +3 -0
- package/harmony/gesture_handler/oh-package.json5 +13 -0
- package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +8 -0
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +34 -0
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +15 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +60 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +17 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +12 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +60 -0
- package/{src/web/tools → harmony/gesture_handler/src/main/ets}/CircularBuffer.ts +42 -42
- package/harmony/gesture_handler/src/main/ets/Event.ts +68 -0
- package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +38 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +663 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandlerArkUIAdapter.ets +202 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +45 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandlerOrchestrator.ts +280 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +22 -0
- package/harmony/gesture_handler/src/main/ets/GestureHandlerRegistry.ts +28 -0
- package/{src/web/tools → harmony/gesture_handler/src/main/ets}/InteractionManager.ts +109 -130
- package/{src/web/tools → harmony/gesture_handler/src/main/ets}/LeastSquareSolver.ts +182 -182
- package/harmony/gesture_handler/src/main/ets/NativeViewGestureHandler.ts +115 -0
- package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +34 -0
- package/harmony/gesture_handler/src/main/ets/PanGestureHandler.ts +328 -0
- package/{src/web/tools → harmony/gesture_handler/src/main/ets}/PointerTracker.ts +239 -240
- package/harmony/gesture_handler/src/main/ets/RNGHError.ts +5 -0
- package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +29 -0
- package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandler.ets +58 -0
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +37 -0
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +125 -0
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +57 -0
- package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +11 -0
- package/harmony/gesture_handler/src/main/ets/State.ts +47 -0
- package/harmony/gesture_handler/src/main/ets/TapGestureHandler.ts +206 -0
- package/harmony/gesture_handler/src/main/ets/Vector2D.ts +36 -0
- package/{src/web/tools → harmony/gesture_handler/src/main/ets}/VelocityTracker.ts +98 -98
- package/harmony/gesture_handler/src/main/ets/View.ts +71 -0
- package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +43 -0
- package/harmony/gesture_handler/src/main/ets/pages/Index.ets +17 -0
- package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +41 -0
- package/harmony/gesture_handler/src/main/module.json5 +7 -0
- package/harmony/gesture_handler/src/main/resources/base/element/color.json +8 -0
- package/harmony/gesture_handler/src/main/resources/base/element/string.json +16 -0
- package/harmony/gesture_handler/src/main/resources/base/media/icon.png +0 -0
- package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +5 -0
- package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +16 -0
- package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +16 -0
- package/harmony/gesture_handler/ts.ts +1 -0
- package/harmony/gesture_handler.har +0 -0
- package/lib/commonjs/RNGestureHandlerModule.js +2 -22
- package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
- package/lib/commonjs/components/GestureButtons.js +88 -142
- package/lib/commonjs/components/GestureButtons.js.map +1 -1
- package/lib/commonjs/components/GestureHandlerButton.js +2 -7
- package/lib/commonjs/components/GestureHandlerButton.js.map +1 -1
- package/lib/commonjs/components/GestureHandlerRootView.js +13 -13
- package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
- package/lib/commonjs/components/RNGestureHandlerButton.js +23 -0
- package/lib/commonjs/components/RNGestureHandlerButton.js.map +1 -0
- package/lib/commonjs/components/touchables/GenericTouchable.js +103 -145
- package/lib/commonjs/components/touchables/GenericTouchable.js.map +1 -1
- package/lib/commonjs/components/touchables/TouchableOpacity.js +34 -53
- package/lib/commonjs/components/touchables/TouchableOpacity.js.map +1 -1
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +4 -12
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +1 -1
- package/lib/commonjs/components/touchables/index.js +2 -21
- package/lib/commonjs/components/touchables/index.js.map +1 -1
- package/lib/commonjs/handlers/NativeViewGestureHandler.js +6 -14
- package/lib/commonjs/handlers/NativeViewGestureHandler.js.map +1 -1
- package/lib/commonjs/handlers/PanGestureHandler.js +12 -32
- package/lib/commonjs/handlers/PanGestureHandler.js.map +1 -1
- package/lib/commonjs/handlers/TapGestureHandler.js +6 -11
- package/lib/commonjs/handlers/TapGestureHandler.js.map +1 -1
- package/lib/commonjs/handlers/createHandler.js +141 -223
- package/lib/commonjs/handlers/createHandler.js.map +1 -1
- package/lib/commonjs/handlers/createNativeWrapper.js +22 -32
- package/lib/commonjs/handlers/createNativeWrapper.js.map +1 -1
- package/lib/commonjs/handlers/gestureHandlerCommon.js +6 -87
- package/lib/commonjs/handlers/gestureHandlerCommon.js.map +1 -1
- package/lib/commonjs/handlers/gestures/GestureDetector.js +111 -226
- package/lib/commonjs/handlers/gestures/GestureDetector.js.map +1 -1
- package/lib/commonjs/index.js +168 -211
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/init.js +7 -15
- package/lib/commonjs/init.js.map +1 -1
- package/lib/module/RNGestureHandlerModule.js +2 -18
- package/lib/module/RNGestureHandlerModule.js.map +1 -1
- package/lib/module/components/GestureButtons.js +83 -121
- package/lib/module/components/GestureButtons.js.map +1 -1
- package/lib/module/components/GestureHandlerButton.js +2 -2
- package/lib/module/components/GestureHandlerButton.js.map +1 -1
- package/lib/module/components/GestureHandlerRootView.js +11 -3
- package/lib/module/components/GestureHandlerRootView.js.map +1 -1
- package/lib/module/components/RNGestureHandlerButton.js +17 -0
- package/lib/module/components/RNGestureHandlerButton.js.map +1 -0
- package/lib/module/components/touchables/GenericTouchable.js +98 -133
- package/lib/module/components/touchables/GenericTouchable.js.map +1 -1
- package/lib/module/components/touchables/TouchableOpacity.js +29 -43
- package/lib/module/components/touchables/TouchableOpacity.js.map +1 -1
- package/lib/module/components/touchables/TouchableWithoutFeedback.js +1 -2
- package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +1 -1
- package/lib/module/components/touchables/index.js +5 -2
- package/lib/module/components/touchables/index.js.map +1 -1
- package/lib/module/handlers/NativeViewGestureHandler.js +1 -1
- package/lib/module/handlers/NativeViewGestureHandler.js.map +1 -1
- package/lib/module/handlers/PanGestureHandler.js +6 -21
- package/lib/module/handlers/PanGestureHandler.js.map +1 -1
- package/lib/module/handlers/TapGestureHandler.js +2 -1
- package/lib/module/handlers/TapGestureHandler.js.map +1 -1
- package/lib/module/handlers/createHandler.js +140 -196
- package/lib/module/handlers/createHandler.js.map +1 -1
- package/lib/module/handlers/createNativeWrapper.js +17 -22
- package/lib/module/handlers/createNativeWrapper.js.map +1 -1
- package/lib/module/handlers/gestureHandlerCommon.js +5 -71
- package/lib/module/handlers/gestureHandlerCommon.js.map +1 -1
- package/lib/module/handlers/gestures/GestureDetector.js +99 -175
- package/lib/module/handlers/gestures/GestureDetector.js.map +1 -1
- package/lib/module/index.js +160 -18
- package/lib/module/index.js.map +1 -1
- package/lib/module/init.js +6 -5
- package/lib/module/init.js.map +1 -1
- package/lib/typescript/RNGestureHandlerModule.d.ts +7 -13
- package/lib/typescript/RNGestureHandlerModule.d.ts.map +1 -0
- package/lib/typescript/components/GestureButtons.d.ts +122 -121
- package/lib/typescript/components/GestureButtons.d.ts.map +1 -0
- package/lib/typescript/components/GestureHandlerButton.d.ts +5 -4
- package/lib/typescript/components/GestureHandlerButton.d.ts.map +1 -0
- package/lib/typescript/components/GestureHandlerRootView.d.ts +7 -6
- package/lib/typescript/components/GestureHandlerRootView.d.ts.map +1 -0
- package/lib/typescript/components/RNGestureHandlerButton.d.ts +2 -0
- package/lib/typescript/components/RNGestureHandlerButton.d.ts.map +1 -0
- package/lib/typescript/components/touchables/GenericTouchable.d.ts +68 -68
- package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +1 -0
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts +26 -25
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +1 -0
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +8 -7
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +1 -0
- package/lib/typescript/components/touchables/index.d.ts +4 -7
- package/lib/typescript/components/touchables/index.d.ts.map +1 -0
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +29 -28
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +1 -0
- package/lib/typescript/handlers/PanGestureHandler.d.ts +140 -139
- package/lib/typescript/handlers/PanGestureHandler.d.ts.map +1 -0
- package/lib/typescript/handlers/TapGestureHandler.d.ts +58 -57
- package/lib/typescript/handlers/TapGestureHandler.d.ts.map +1 -0
- package/lib/typescript/handlers/createHandler.d.ts +12 -11
- package/lib/typescript/handlers/createHandler.d.ts.map +1 -0
- package/lib/typescript/handlers/createNativeWrapper.d.ts +4 -3
- package/lib/typescript/handlers/createNativeWrapper.d.ts.map +1 -0
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts +2 -68
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +1 -0
- package/lib/typescript/handlers/gestures/GestureDetector.d.ts +24 -19
- package/lib/typescript/handlers/gestures/GestureDetector.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +9 -52
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/init.d.ts +3 -2
- package/lib/typescript/init.d.ts.map +1 -0
- package/package.json +70 -156
- package/src/RNGestureHandlerModule.ts +6 -50
- package/src/components/GestureButtons.tsx +334 -332
- package/src/components/GestureHandlerButton.tsx +5 -5
- package/src/components/GestureHandlerRootView.tsx +34 -23
- package/src/components/RNGestureHandlerButton.tsx +23 -0
- package/src/components/touchables/GenericTouchable.tsx +301 -301
- package/src/components/touchables/TouchableOpacity.tsx +76 -75
- package/src/components/touchables/TouchableWithoutFeedback.tsx +14 -14
- package/src/components/touchables/index.ts +7 -7
- package/src/handlers/NativeViewGestureHandler.ts +55 -55
- package/src/handlers/PanGestureHandler.ts +327 -325
- package/src/handlers/TapGestureHandler.ts +95 -94
- package/src/handlers/createHandler.tsx +535 -533
- package/src/handlers/createNativeWrapper.tsx +81 -80
- package/src/handlers/gestureHandlerCommon.ts +15 -250
- package/src/handlers/gestures/GestureDetector.tsx +823 -822
- package/src/index.ts +172 -174
- package/src/init.ts +18 -18
- package/DrawerLayout/package.json +0 -6
- package/RNGestureHandler.podspec +0 -44
- package/Swipeable/package.json +0 -6
- package/android/build.gradle +0 -209
- package/android/common/src/main/java/com/swmansion/common/GestureHandlerStateManager.kt +0 -5
- package/android/fabric/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerComponentsRegistry.java +0 -29
- package/android/fabric/src/main/java/com/swmansion/gesturehandler/ReactContextExtensions.kt +0 -12
- package/android/gradle.properties +0 -19
- package/android/noreanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt +0 -10
- package/android/paper/src/main/java/com/facebook/react/viewmanagers/RNGestureHandlerButtonManagerDelegate.java +0 -50
- package/android/paper/src/main/java/com/facebook/react/viewmanagers/RNGestureHandlerButtonManagerInterface.java +0 -23
- package/android/paper/src/main/java/com/facebook/react/viewmanagers/RNGestureHandlerRootViewManagerDelegate.java +0 -25
- package/android/paper/src/main/java/com/facebook/react/viewmanagers/RNGestureHandlerRootViewManagerInterface.java +0 -16
- package/android/paper/src/main/java/com/swmansion/gesturehandler/ReactContextExtensions.kt +0 -13
- package/android/reanimated/src/main/java/com/swmansion/gesturehandler/ReanimatedEventDispatcher.kt +0 -17
- package/android/src/main/AndroidManifest.xml +0 -3
- package/android/src/main/java/com/swmansion/gesturehandler/RNGestureHandlerPackage.kt +0 -21
- package/android/src/main/java/com/swmansion/gesturehandler/core/FlingGestureHandler.kt +0 -100
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandler.kt +0 -807
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerInteractionController.kt +0 -8
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerOrchestrator.kt +0 -671
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureHandlerRegistry.kt +0 -8
- package/android/src/main/java/com/swmansion/gesturehandler/core/GestureUtils.kt +0 -47
- package/android/src/main/java/com/swmansion/gesturehandler/core/HoverGestureHandler.kt +0 -120
- package/android/src/main/java/com/swmansion/gesturehandler/core/LongPressGestureHandler.kt +0 -100
- package/android/src/main/java/com/swmansion/gesturehandler/core/ManualGestureHandler.kt +0 -11
- package/android/src/main/java/com/swmansion/gesturehandler/core/NativeViewGestureHandler.kt +0 -257
- package/android/src/main/java/com/swmansion/gesturehandler/core/OnTouchEventListener.kt +0 -9
- package/android/src/main/java/com/swmansion/gesturehandler/core/PanGestureHandler.kt +0 -322
- package/android/src/main/java/com/swmansion/gesturehandler/core/PinchGestureHandler.kt +0 -103
- package/android/src/main/java/com/swmansion/gesturehandler/core/PointerEventsConfig.kt +0 -23
- package/android/src/main/java/com/swmansion/gesturehandler/core/RotationGestureDetector.kt +0 -125
- package/android/src/main/java/com/swmansion/gesturehandler/core/RotationGestureHandler.kt +0 -93
- package/android/src/main/java/com/swmansion/gesturehandler/core/ScaleGestureDetector.java +0 -558
- package/android/src/main/java/com/swmansion/gesturehandler/core/TapGestureHandler.kt +0 -168
- package/android/src/main/java/com/swmansion/gesturehandler/core/ViewConfigurationHelper.kt +0 -10
- package/android/src/main/java/com/swmansion/gesturehandler/react/Extensions.kt +0 -16
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerButtonViewManager.kt +0 -423
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEnabledRootView.kt +0 -15
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerEvent.kt +0 -75
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerInteractionManager.kt +0 -74
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt +0 -702
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRegistry.kt +0 -100
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootHelper.kt +0 -142
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootInterface.kt +0 -5
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootView.kt +0 -78
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerRootViewManager.kt +0 -51
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerStateChangeEvent.kt +0 -78
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerTouchEvent.kt +0 -69
- package/android/src/main/java/com/swmansion/gesturehandler/react/RNViewConfigurationHelper.kt +0 -51
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/FlingGestureHandlerEventDataBuilder.kt +0 -30
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/GestureHandlerEventDataBuilder.kt +0 -22
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/HoverGestureHandlerEventDataBuilder.kt +0 -30
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/LongPressGestureHandlerEventDataBuilder.kt +0 -33
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/ManualGestureHandlerEventDataBuilder.kt +0 -5
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/NativeGestureHandlerEventDataBuilder.kt +0 -18
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/PanGestureHandlerEventDataBuilder.kt +0 -42
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/PinchGestureHandlerEventDataBuilder.kt +0 -30
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/RotationGestureHandlerEventDataBuilder.kt +0 -30
- package/android/src/main/java/com/swmansion/gesturehandler/react/eventbuilders/TapGestureHandlerEventDataBuilder.kt +0 -30
- package/android/src/main/jni/CMakeLists.txt +0 -37
- package/android/src/main/jni/cpp-adapter.cpp +0 -44
- package/ios/Handlers/RNFlingHandler.h +0 -4
- package/ios/Handlers/RNFlingHandler.m +0 -152
- package/ios/Handlers/RNForceTouchHandler.h +0 -4
- package/ios/Handlers/RNForceTouchHandler.m +0 -175
- package/ios/Handlers/RNHoverHandler.h +0 -12
- package/ios/Handlers/RNHoverHandler.m +0 -153
- package/ios/Handlers/RNLongPressHandler.h +0 -12
- package/ios/Handlers/RNLongPressHandler.m +0 -183
- package/ios/Handlers/RNManualHandler.h +0 -4
- package/ios/Handlers/RNManualHandler.m +0 -88
- package/ios/Handlers/RNNativeViewHandler.h +0 -15
- package/ios/Handlers/RNNativeViewHandler.mm +0 -193
- package/ios/Handlers/RNPanHandler.h +0 -12
- package/ios/Handlers/RNPanHandler.m +0 -331
- package/ios/Handlers/RNPinchHandler.h +0 -12
- package/ios/Handlers/RNPinchHandler.m +0 -95
- package/ios/Handlers/RNRotationHandler.h +0 -12
- package/ios/Handlers/RNRotationHandler.m +0 -93
- package/ios/Handlers/RNTapHandler.h +0 -12
- package/ios/Handlers/RNTapHandler.m +0 -265
- package/ios/RNGHTouchEventType.h +0 -9
- package/ios/RNGestureHandler.h +0 -90
- package/ios/RNGestureHandler.m +0 -493
- package/ios/RNGestureHandler.xcodeproj/project.pbxproj +0 -690
- package/ios/RNGestureHandler.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/ios/RNGestureHandlerActionType.h +0 -10
- package/ios/RNGestureHandlerButton.h +0 -19
- package/ios/RNGestureHandlerButton.m +0 -77
- package/ios/RNGestureHandlerButtonComponentView.h +0 -17
- package/ios/RNGestureHandlerButtonComponentView.mm +0 -64
- package/ios/RNGestureHandlerButtonManager.h +0 -5
- package/ios/RNGestureHandlerButtonManager.m +0 -34
- package/ios/RNGestureHandlerDirection.h +0 -8
- package/ios/RNGestureHandlerEvents.h +0 -65
- package/ios/RNGestureHandlerEvents.m +0 -260
- package/ios/RNGestureHandlerManager.h +0 -35
- package/ios/RNGestureHandlerManager.mm +0 -367
- package/ios/RNGestureHandlerModule.h +0 -7
- package/ios/RNGestureHandlerModule.mm +0 -320
- package/ios/RNGestureHandlerPointerTracker.h +0 -25
- package/ios/RNGestureHandlerPointerTracker.m +0 -243
- package/ios/RNGestureHandlerRegistry.h +0 -21
- package/ios/RNGestureHandlerRegistry.m +0 -63
- package/ios/RNGestureHandlerRootViewComponentView.mm +0 -21
- package/ios/RNGestureHandlerState.h +0 -10
- package/ios/RNGestureHandlerStateManager.h +0 -5
- package/ios/RNManualActivationRecognizer.h +0 -10
- package/ios/RNManualActivationRecognizer.m +0 -88
- package/ios/RNRootViewGestureRecognizer.h +0 -17
- package/ios/RNRootViewGestureRecognizer.m +0 -106
- package/jest-utils/package.json +0 -6
- package/jestSetup.js +0 -7
- package/lib/commonjs/ActionType.js +0 -15
- package/lib/commonjs/ActionType.js.map +0 -1
- package/lib/commonjs/Directions.js +0 -15
- package/lib/commonjs/Directions.js.map +0 -1
- package/lib/commonjs/EnableNewWebImplementation.js +0 -35
- package/lib/commonjs/EnableNewWebImplementation.js.map +0 -1
- package/lib/commonjs/GestureHandlerRootViewContext.js +0 -15
- package/lib/commonjs/GestureHandlerRootViewContext.js.map +0 -1
- package/lib/commonjs/PlatformConstants.js +0 -15
- package/lib/commonjs/PlatformConstants.js.map +0 -1
- package/lib/commonjs/PlatformConstants.web.js +0 -14
- package/lib/commonjs/PlatformConstants.web.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.macos.js +0 -149
- package/lib/commonjs/RNGestureHandlerModule.macos.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.web.js +0 -163
- package/lib/commonjs/RNGestureHandlerModule.web.js.map +0 -1
- package/lib/commonjs/RNGestureHandlerModule.windows.js +0 -158
- package/lib/commonjs/RNGestureHandlerModule.windows.js.map +0 -1
- package/lib/commonjs/RNRenderer.js +0 -16
- package/lib/commonjs/RNRenderer.js.map +0 -1
- package/lib/commonjs/RNRenderer.web.js +0 -11
- package/lib/commonjs/RNRenderer.web.js.map +0 -1
- package/lib/commonjs/State.js +0 -18
- package/lib/commonjs/State.js.map +0 -1
- package/lib/commonjs/TouchEventType.js +0 -16
- package/lib/commonjs/TouchEventType.js.map +0 -1
- package/lib/commonjs/components/DrawerLayout.js +0 -566
- package/lib/commonjs/components/DrawerLayout.js.map +0 -1
- package/lib/commonjs/components/GestureComponents.js +0 -115
- package/lib/commonjs/components/GestureComponents.js.map +0 -1
- package/lib/commonjs/components/GestureComponents.web.js +0 -52
- package/lib/commonjs/components/GestureComponents.web.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerButton.web.js +0 -24
- package/lib/commonjs/components/GestureHandlerButton.web.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerRootView.android.js +0 -31
- package/lib/commonjs/components/GestureHandlerRootView.android.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerRootView.web.js +0 -25
- package/lib/commonjs/components/GestureHandlerRootView.web.js.map +0 -1
- package/lib/commonjs/components/Swipeable.js +0 -408
- package/lib/commonjs/components/Swipeable.js.map +0 -1
- package/lib/commonjs/components/gestureHandlerRootHOC.js +0 -40
- package/lib/commonjs/components/gestureHandlerRootHOC.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableHighlight.js +0 -109
- package/lib/commonjs/components/touchables/TouchableHighlight.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js +0 -100
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.js +0 -12
- package/lib/commonjs/components/touchables/TouchableNativeFeedback.js.map +0 -1
- package/lib/commonjs/getReactNativeVersion.js +0 -22
- package/lib/commonjs/getReactNativeVersion.js.map +0 -1
- package/lib/commonjs/getReactNativeVersion.web.js +0 -11
- package/lib/commonjs/getReactNativeVersion.web.js.map +0 -1
- package/lib/commonjs/getShadowNodeFromRef.js +0 -27
- package/lib/commonjs/getShadowNodeFromRef.js.map +0 -1
- package/lib/commonjs/getShadowNodeFromRef.web.js +0 -15
- package/lib/commonjs/getShadowNodeFromRef.web.js.map +0 -1
- package/lib/commonjs/ghQueueMicrotask.js +0 -12
- package/lib/commonjs/ghQueueMicrotask.js.map +0 -1
- package/lib/commonjs/handlers/FlingGestureHandler.js +0 -25
- package/lib/commonjs/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/ForceTouchGestureHandler.js +0 -49
- package/lib/commonjs/handlers/ForceTouchGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/LongPressGestureHandler.js +0 -27
- package/lib/commonjs/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/PinchGestureHandler.js +0 -23
- package/lib/commonjs/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/PressabilityDebugView.js +0 -14
- package/lib/commonjs/handlers/PressabilityDebugView.js.map +0 -1
- package/lib/commonjs/handlers/PressabilityDebugView.web.js +0 -12
- package/lib/commonjs/handlers/PressabilityDebugView.web.js.map +0 -1
- package/lib/commonjs/handlers/RotationGestureHandler.js +0 -23
- package/lib/commonjs/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/gestureHandlerTypesCompat.js +0 -6
- package/lib/commonjs/handlers/gestureHandlerTypesCompat.js.map +0 -1
- package/lib/commonjs/handlers/gestures/eventReceiver.js +0 -147
- package/lib/commonjs/handlers/gestures/eventReceiver.js.map +0 -1
- package/lib/commonjs/handlers/gestures/flingGesture.js +0 -34
- package/lib/commonjs/handlers/gestures/flingGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/forceTouchGesture.js +0 -65
- package/lib/commonjs/handlers/gestures/forceTouchGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gesture.js +0 -241
- package/lib/commonjs/handlers/gestures/gesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureComposition.js +0 -105
- package/lib/commonjs/handlers/gestures/gestureComposition.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureObjects.js +0 -90
- package/lib/commonjs/handlers/gestures/gestureObjects.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureStateManager.js +0 -65
- package/lib/commonjs/handlers/gestures/gestureStateManager.js.map +0 -1
- package/lib/commonjs/handlers/gestures/gestureStateManager.web.js +0 -32
- package/lib/commonjs/handlers/gestures/gestureStateManager.web.js.map +0 -1
- package/lib/commonjs/handlers/gestures/hoverGesture.js +0 -74
- package/lib/commonjs/handlers/gestures/hoverGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/longPressGesture.js +0 -35
- package/lib/commonjs/handlers/gestures/longPressGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/manualGesture.js +0 -31
- package/lib/commonjs/handlers/gestures/manualGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/nativeGesture.js +0 -34
- package/lib/commonjs/handlers/gestures/nativeGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/panGesture.js +0 -149
- package/lib/commonjs/handlers/gestures/panGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/pinchGesture.js +0 -45
- package/lib/commonjs/handlers/gestures/pinchGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/reanimatedWrapper.js +0 -37
- package/lib/commonjs/handlers/gestures/reanimatedWrapper.js.map +0 -1
- package/lib/commonjs/handlers/gestures/rotationGesture.js +0 -45
- package/lib/commonjs/handlers/gestures/rotationGesture.js.map +0 -1
- package/lib/commonjs/handlers/gestures/tapGesture.js +0 -60
- package/lib/commonjs/handlers/gestures/tapGesture.js.map +0 -1
- package/lib/commonjs/handlers/handlersRegistry.js +0 -67
- package/lib/commonjs/handlers/handlersRegistry.js.map +0 -1
- package/lib/commonjs/jestUtils/index.js +0 -20
- package/lib/commonjs/jestUtils/index.js.map +0 -1
- package/lib/commonjs/jestUtils/jestUtils.js +0 -375
- package/lib/commonjs/jestUtils/jestUtils.js.map +0 -1
- package/lib/commonjs/mocks.js +0 -66
- package/lib/commonjs/mocks.js.map +0 -1
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +0 -15
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +0 -1
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +0 -15
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +0 -1
- package/lib/commonjs/typeUtils.js +0 -2
- package/lib/commonjs/typeUtils.js.map +0 -1
- package/lib/commonjs/utils.js +0 -63
- package/lib/commonjs/utils.js.map +0 -1
- package/lib/commonjs/web/constants.js +0 -16
- package/lib/commonjs/web/constants.js.map +0 -1
- package/lib/commonjs/web/detectors/RotationGestureDetector.js +0 -165
- package/lib/commonjs/web/detectors/RotationGestureDetector.js.map +0 -1
- package/lib/commonjs/web/detectors/ScaleGestureDetector.js +0 -156
- package/lib/commonjs/web/detectors/ScaleGestureDetector.js.map +0 -1
- package/lib/commonjs/web/handlers/FlingGestureHandler.js +0 -167
- package/lib/commonjs/web/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/GestureHandler.js +0 -794
- package/lib/commonjs/web/handlers/GestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/HoverGestureHandler.js +0 -62
- package/lib/commonjs/web/handlers/HoverGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/LongPressGestureHandler.js +0 -151
- package/lib/commonjs/web/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/ManualGestureHandler.js +0 -61
- package/lib/commonjs/web/handlers/ManualGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/NativeViewGestureHandler.js +0 -178
- package/lib/commonjs/web/handlers/NativeViewGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/PanGestureHandler.js +0 -448
- package/lib/commonjs/web/handlers/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/PinchGestureHandler.js +0 -174
- package/lib/commonjs/web/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/RotationGestureHandler.js +0 -186
- package/lib/commonjs/web/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/web/handlers/TapGestureHandler.js +0 -280
- package/lib/commonjs/web/handlers/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/web/interfaces.js +0 -55
- package/lib/commonjs/web/interfaces.js.map +0 -1
- package/lib/commonjs/web/tools/CircularBuffer.js +0 -59
- package/lib/commonjs/web/tools/CircularBuffer.js.map +0 -1
- package/lib/commonjs/web/tools/EventManager.js +0 -127
- package/lib/commonjs/web/tools/EventManager.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerDelegate.js +0 -6
- package/lib/commonjs/web/tools/GestureHandlerDelegate.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js +0 -349
- package/lib/commonjs/web/tools/GestureHandlerOrchestrator.js.map +0 -1
- package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js +0 -118
- package/lib/commonjs/web/tools/GestureHandlerWebDelegate.js.map +0 -1
- package/lib/commonjs/web/tools/InteractionManager.js +0 -114
- package/lib/commonjs/web/tools/InteractionManager.js.map +0 -1
- package/lib/commonjs/web/tools/LeastSquareSolver.js +0 -204
- package/lib/commonjs/web/tools/LeastSquareSolver.js.map +0 -1
- package/lib/commonjs/web/tools/NodeManager.js +0 -48
- package/lib/commonjs/web/tools/NodeManager.js.map +0 -1
- package/lib/commonjs/web/tools/PointerEventManager.js +0 -198
- package/lib/commonjs/web/tools/PointerEventManager.js.map +0 -1
- package/lib/commonjs/web/tools/PointerTracker.js +0 -226
- package/lib/commonjs/web/tools/PointerTracker.js.map +0 -1
- package/lib/commonjs/web/tools/TouchEventManager.js +0 -138
- package/lib/commonjs/web/tools/TouchEventManager.js.map +0 -1
- package/lib/commonjs/web/tools/VelocityTracker.js +0 -111
- package/lib/commonjs/web/tools/VelocityTracker.js.map +0 -1
- package/lib/commonjs/web/utils.js +0 -15
- package/lib/commonjs/web/utils.js.map +0 -1
- package/lib/commonjs/web_hammer/DiscreteGestureHandler.js +0 -105
- package/lib/commonjs/web_hammer/DiscreteGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/DraggingGestureHandler.js +0 -53
- package/lib/commonjs/web_hammer/DraggingGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/Errors.js +0 -16
- package/lib/commonjs/web_hammer/Errors.js.map +0 -1
- package/lib/commonjs/web_hammer/FlingGestureHandler.js +0 -170
- package/lib/commonjs/web_hammer/FlingGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/GestureHandler.js +0 -579
- package/lib/commonjs/web_hammer/GestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js +0 -54
- package/lib/commonjs/web_hammer/IndiscreteGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/LongPressGestureHandler.js +0 -71
- package/lib/commonjs/web_hammer/LongPressGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/NativeViewGestureHandler.js +0 -66
- package/lib/commonjs/web_hammer/NativeViewGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/NodeManager.js +0 -46
- package/lib/commonjs/web_hammer/NodeManager.js.map +0 -1
- package/lib/commonjs/web_hammer/PanGestureHandler.js +0 -208
- package/lib/commonjs/web_hammer/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/PinchGestureHandler.js +0 -40
- package/lib/commonjs/web_hammer/PinchGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/PressGestureHandler.js +0 -188
- package/lib/commonjs/web_hammer/PressGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/RotationGestureHandler.js +0 -44
- package/lib/commonjs/web_hammer/RotationGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/TapGestureHandler.js +0 -192
- package/lib/commonjs/web_hammer/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/web_hammer/constants.js +0 -64
- package/lib/commonjs/web_hammer/constants.js.map +0 -1
- package/lib/commonjs/web_hammer/utils.js +0 -42
- package/lib/commonjs/web_hammer/utils.js.map +0 -1
- package/lib/module/ActionType.js +0 -7
- package/lib/module/ActionType.js.map +0 -1
- package/lib/module/Directions.js +0 -7
- package/lib/module/Directions.js.map +0 -1
- package/lib/module/EnableNewWebImplementation.js +0 -22
- package/lib/module/EnableNewWebImplementation.js.map +0 -1
- package/lib/module/GestureHandlerRootViewContext.js +0 -3
- package/lib/module/GestureHandlerRootViewContext.js.map +0 -1
- package/lib/module/PlatformConstants.js +0 -5
- package/lib/module/PlatformConstants.js.map +0 -1
- package/lib/module/PlatformConstants.web.js +0 -7
- package/lib/module/PlatformConstants.web.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.macos.js +0 -110
- package/lib/module/RNGestureHandlerModule.macos.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.web.js +0 -122
- package/lib/module/RNGestureHandlerModule.web.js.map +0 -1
- package/lib/module/RNGestureHandlerModule.windows.js +0 -118
- package/lib/module/RNGestureHandlerModule.windows.js.map +0 -1
- package/lib/module/RNRenderer.js +0 -4
- package/lib/module/RNRenderer.js.map +0 -1
- package/lib/module/RNRenderer.web.js +0 -4
- package/lib/module/RNRenderer.web.js.map +0 -1
- package/lib/module/State.js +0 -10
- package/lib/module/State.js.map +0 -1
- package/lib/module/TouchEventType.js +0 -8
- package/lib/module/TouchEventType.js.map +0 -1
- package/lib/module/components/DrawerLayout.js +0 -551
- package/lib/module/components/DrawerLayout.js.map +0 -1
- package/lib/module/components/GestureComponents.js +0 -90
- package/lib/module/components/GestureComponents.js.map +0 -1
- package/lib/module/components/GestureComponents.web.js +0 -28
- package/lib/module/components/GestureComponents.web.js.map +0 -1
- package/lib/module/components/GestureHandlerButton.web.js +0 -9
- package/lib/module/components/GestureHandlerButton.web.js.map +0 -1
- package/lib/module/components/GestureHandlerRootView.android.js +0 -14
- package/lib/module/components/GestureHandlerRootView.android.js.map +0 -1
- package/lib/module/components/GestureHandlerRootView.web.js +0 -9
- package/lib/module/components/GestureHandlerRootView.web.js.map +0 -1
- package/lib/module/components/Swipeable.js +0 -390
- package/lib/module/components/Swipeable.js.map +0 -1
- package/lib/module/components/gestureHandlerRootHOC.js +0 -22
- package/lib/module/components/gestureHandlerRootHOC.js.map +0 -1
- package/lib/module/components/touchables/TouchableHighlight.js +0 -95
- package/lib/module/components/touchables/TouchableHighlight.js.map +0 -1
- package/lib/module/components/touchables/TouchableNativeFeedback.android.js +0 -84
- package/lib/module/components/touchables/TouchableNativeFeedback.android.js.map +0 -1
- package/lib/module/components/touchables/TouchableNativeFeedback.js +0 -3
- package/lib/module/components/touchables/TouchableNativeFeedback.js.map +0 -1
- package/lib/module/getReactNativeVersion.js +0 -10
- package/lib/module/getReactNativeVersion.js.map +0 -1
- package/lib/module/getReactNativeVersion.web.js +0 -4
- package/lib/module/getReactNativeVersion.web.js.map +0 -1
- package/lib/module/getShadowNodeFromRef.js +0 -20
- package/lib/module/getShadowNodeFromRef.js.map +0 -1
- package/lib/module/getShadowNodeFromRef.web.js +0 -8
- package/lib/module/getShadowNodeFromRef.web.js.map +0 -1
- package/lib/module/ghQueueMicrotask.js +0 -5
- package/lib/module/ghQueueMicrotask.js.map +0 -1
- package/lib/module/handlers/FlingGestureHandler.js +0 -11
- package/lib/module/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/module/handlers/ForceTouchGestureHandler.js +0 -31
- package/lib/module/handlers/ForceTouchGestureHandler.js.map +0 -1
- package/lib/module/handlers/LongPressGestureHandler.js +0 -13
- package/lib/module/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/module/handlers/PinchGestureHandler.js +0 -10
- package/lib/module/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/module/handlers/PressabilityDebugView.js +0 -3
- package/lib/module/handlers/PressabilityDebugView.js.map +0 -1
- package/lib/module/handlers/PressabilityDebugView.web.js +0 -5
- package/lib/module/handlers/PressabilityDebugView.web.js.map +0 -1
- package/lib/module/handlers/RotationGestureHandler.js +0 -10
- package/lib/module/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/module/handlers/gestureHandlerTypesCompat.js +0 -2
- package/lib/module/handlers/gestureHandlerTypesCompat.js.map +0 -1
- package/lib/module/handlers/gestures/eventReceiver.js +0 -131
- package/lib/module/handlers/gestures/eventReceiver.js.map +0 -1
- package/lib/module/handlers/gestures/flingGesture.js +0 -24
- package/lib/module/handlers/gestures/flingGesture.js.map +0 -1
- package/lib/module/handlers/gestures/forceTouchGesture.js +0 -56
- package/lib/module/handlers/gestures/forceTouchGesture.js.map +0 -1
- package/lib/module/handlers/gestures/gesture.js +0 -222
- package/lib/module/handlers/gestures/gesture.js.map +0 -1
- package/lib/module/handlers/gestures/gestureComposition.js +0 -90
- package/lib/module/handlers/gestures/gestureComposition.js.map +0 -1
- package/lib/module/handlers/gestures/gestureObjects.js +0 -71
- package/lib/module/handlers/gestures/gestureObjects.js.map +0 -1
- package/lib/module/handlers/gestures/gestureStateManager.js +0 -54
- package/lib/module/handlers/gestures/gestureStateManager.js.map +0 -1
- package/lib/module/handlers/gestures/gestureStateManager.web.js +0 -21
- package/lib/module/handlers/gestures/gestureStateManager.web.js.map +0 -1
- package/lib/module/handlers/gestures/hoverGesture.js +0 -62
- package/lib/module/handlers/gestures/hoverGesture.js.map +0 -1
- package/lib/module/handlers/gestures/longPressGesture.js +0 -25
- package/lib/module/handlers/gestures/longPressGesture.js.map +0 -1
- package/lib/module/handlers/gestures/manualGesture.js +0 -22
- package/lib/module/handlers/gestures/manualGesture.js.map +0 -1
- package/lib/module/handlers/gestures/nativeGesture.js +0 -24
- package/lib/module/handlers/gestures/nativeGesture.js.map +0 -1
- package/lib/module/handlers/gestures/panGesture.js +0 -140
- package/lib/module/handlers/gestures/panGesture.js.map +0 -1
- package/lib/module/handlers/gestures/pinchGesture.js +0 -36
- package/lib/module/handlers/gestures/pinchGesture.js.map +0 -1
- package/lib/module/handlers/gestures/reanimatedWrapper.js +0 -30
- package/lib/module/handlers/gestures/reanimatedWrapper.js.map +0 -1
- package/lib/module/handlers/gestures/rotationGesture.js +0 -36
- package/lib/module/handlers/gestures/rotationGesture.js.map +0 -1
- package/lib/module/handlers/gestures/tapGesture.js +0 -50
- package/lib/module/handlers/gestures/tapGesture.js.map +0 -1
- package/lib/module/handlers/handlersRegistry.js +0 -44
- package/lib/module/handlers/handlersRegistry.js.map +0 -1
- package/lib/module/jestUtils/index.js +0 -2
- package/lib/module/jestUtils/index.js.map +0 -1
- package/lib/module/jestUtils/jestUtils.js +0 -350
- package/lib/module/jestUtils/jestUtils.js.map +0 -1
- package/lib/module/mocks.js +0 -56
- package/lib/module/mocks.js.map +0 -1
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js +0 -3
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +0 -1
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js +0 -3
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +0 -1
- package/lib/module/typeUtils.js +0 -2
- package/lib/module/typeUtils.js.map +0 -1
- package/lib/module/utils.js +0 -44
- package/lib/module/utils.js.map +0 -1
- package/lib/module/web/constants.js +0 -8
- package/lib/module/web/constants.js.map +0 -1
- package/lib/module/web/detectors/RotationGestureDetector.js +0 -155
- package/lib/module/web/detectors/RotationGestureDetector.js.map +0 -1
- package/lib/module/web/detectors/ScaleGestureDetector.js +0 -145
- package/lib/module/web/detectors/ScaleGestureDetector.js.map +0 -1
- package/lib/module/web/handlers/FlingGestureHandler.js +0 -152
- package/lib/module/web/handlers/FlingGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/GestureHandler.js +0 -776
- package/lib/module/web/handlers/GestureHandler.js.map +0 -1
- package/lib/module/web/handlers/HoverGestureHandler.js +0 -47
- package/lib/module/web/handlers/HoverGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/LongPressGestureHandler.js +0 -136
- package/lib/module/web/handlers/LongPressGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/ManualGestureHandler.js +0 -49
- package/lib/module/web/handlers/ManualGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/NativeViewGestureHandler.js +0 -163
- package/lib/module/web/handlers/NativeViewGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/PanGestureHandler.js +0 -433
- package/lib/module/web/handlers/PanGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/PinchGestureHandler.js +0 -159
- package/lib/module/web/handlers/PinchGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/RotationGestureHandler.js +0 -171
- package/lib/module/web/handlers/RotationGestureHandler.js.map +0 -1
- package/lib/module/web/handlers/TapGestureHandler.js +0 -265
- package/lib/module/web/handlers/TapGestureHandler.js.map +0 -1
- package/lib/module/web/interfaces.js +0 -45
- package/lib/module/web/interfaces.js.map +0 -1
- package/lib/module/web/tools/CircularBuffer.js +0 -50
- package/lib/module/web/tools/CircularBuffer.js.map +0 -1
- package/lib/module/web/tools/EventManager.js +0 -118
- package/lib/module/web/tools/EventManager.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerDelegate.js +0 -2
- package/lib/module/web/tools/GestureHandlerDelegate.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerOrchestrator.js +0 -335
- package/lib/module/web/tools/GestureHandlerOrchestrator.js.map +0 -1
- package/lib/module/web/tools/GestureHandlerWebDelegate.js +0 -102
- package/lib/module/web/tools/GestureHandlerWebDelegate.js.map +0 -1
- package/lib/module/web/tools/InteractionManager.js +0 -105
- package/lib/module/web/tools/InteractionManager.js.map +0 -1
- package/lib/module/web/tools/LeastSquareSolver.js +0 -195
- package/lib/module/web/tools/LeastSquareSolver.js.map +0 -1
- package/lib/module/web/tools/NodeManager.js +0 -39
- package/lib/module/web/tools/NodeManager.js.map +0 -1
- package/lib/module/web/tools/PointerEventManager.js +0 -184
- package/lib/module/web/tools/PointerEventManager.js.map +0 -1
- package/lib/module/web/tools/PointerTracker.js +0 -213
- package/lib/module/web/tools/PointerTracker.js.map +0 -1
- package/lib/module/web/tools/TouchEventManager.js +0 -124
- package/lib/module/web/tools/TouchEventManager.js.map +0 -1
- package/lib/module/web/tools/VelocityTracker.js +0 -98
- package/lib/module/web/tools/VelocityTracker.js.map +0 -1
- package/lib/module/web/utils.js +0 -8
- package/lib/module/web/utils.js.map +0 -1
- package/lib/module/web_hammer/DiscreteGestureHandler.js +0 -94
- package/lib/module/web_hammer/DiscreteGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/DraggingGestureHandler.js +0 -40
- package/lib/module/web_hammer/DraggingGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/Errors.js +0 -7
- package/lib/module/web_hammer/Errors.js.map +0 -1
- package/lib/module/web_hammer/FlingGestureHandler.js +0 -156
- package/lib/module/web_hammer/FlingGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/GestureHandler.js +0 -563
- package/lib/module/web_hammer/GestureHandler.js.map +0 -1
- package/lib/module/web_hammer/IndiscreteGestureHandler.js +0 -44
- package/lib/module/web_hammer/IndiscreteGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/LongPressGestureHandler.js +0 -58
- package/lib/module/web_hammer/LongPressGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/NativeViewGestureHandler.js +0 -49
- package/lib/module/web_hammer/NativeViewGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/NodeManager.js +0 -33
- package/lib/module/web_hammer/NodeManager.js.map +0 -1
- package/lib/module/web_hammer/PanGestureHandler.js +0 -194
- package/lib/module/web_hammer/PanGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/PinchGestureHandler.js +0 -29
- package/lib/module/web_hammer/PinchGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/PressGestureHandler.js +0 -174
- package/lib/module/web_hammer/PressGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/RotationGestureHandler.js +0 -32
- package/lib/module/web_hammer/RotationGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/TapGestureHandler.js +0 -180
- package/lib/module/web_hammer/TapGestureHandler.js.map +0 -1
- package/lib/module/web_hammer/constants.js +0 -43
- package/lib/module/web_hammer/constants.js.map +0 -1
- package/lib/module/web_hammer/utils.js +0 -19
- package/lib/module/web_hammer/utils.js.map +0 -1
- package/lib/typescript/ActionType.d.ts +0 -7
- package/lib/typescript/Directions.d.ts +0 -7
- package/lib/typescript/EnableNewWebImplementation.d.ts +0 -3
- package/lib/typescript/GestureHandlerRootViewContext.d.ts +0 -3
- package/lib/typescript/PlatformConstants.d.ts +0 -5
- package/lib/typescript/PlatformConstants.web.d.ts +0 -4
- package/lib/typescript/RNGestureHandlerModule.macos.d.ts +0 -47
- package/lib/typescript/RNGestureHandlerModule.web.d.ts +0 -50
- package/lib/typescript/RNGestureHandlerModule.windows.d.ts +0 -48
- package/lib/typescript/RNRenderer.d.ts +0 -1
- package/lib/typescript/RNRenderer.web.d.ts +0 -3
- package/lib/typescript/State.d.ts +0 -9
- package/lib/typescript/TouchEventType.d.ts +0 -8
- package/lib/typescript/components/DrawerLayout.d.ts +0 -148
- package/lib/typescript/components/GestureComponents.d.ts +0 -22
- package/lib/typescript/components/GestureComponents.web.d.ts +0 -8
- package/lib/typescript/components/GestureHandlerButton.web.d.ts +0 -4
- package/lib/typescript/components/GestureHandlerRootView.android.d.ts +0 -6
- package/lib/typescript/components/GestureHandlerRootView.web.d.ts +0 -6
- package/lib/typescript/components/Swipeable.d.ts +0 -178
- package/lib/typescript/components/gestureHandlerRootHOC.d.ts +0 -3
- package/lib/typescript/components/touchables/TouchableHighlight.d.ts +0 -36
- package/lib/typescript/components/touchables/TouchableNativeFeedback.android.d.ts +0 -45
- package/lib/typescript/components/touchables/TouchableNativeFeedback.d.ts +0 -2
- package/lib/typescript/getReactNativeVersion.d.ts +0 -4
- package/lib/typescript/getReactNativeVersion.web.d.ts +0 -1
- package/lib/typescript/getShadowNodeFromRef.d.ts +0 -1
- package/lib/typescript/getShadowNodeFromRef.web.d.ts +0 -1
- package/lib/typescript/ghQueueMicrotask.d.ts +0 -1
- package/lib/typescript/handlers/FlingGestureHandler.d.ts +0 -34
- package/lib/typescript/handlers/ForceTouchGestureHandler.d.ts +0 -44
- package/lib/typescript/handlers/LongPressGestureHandler.d.ts +0 -56
- package/lib/typescript/handlers/PinchGestureHandler.d.ts +0 -29
- package/lib/typescript/handlers/PressabilityDebugView.d.ts +0 -1
- package/lib/typescript/handlers/PressabilityDebugView.web.d.ts +0 -1
- package/lib/typescript/handlers/RotationGestureHandler.d.ts +0 -29
- package/lib/typescript/handlers/gestureHandlerTypesCompat.d.ts +0 -42
- package/lib/typescript/handlers/gestures/eventReceiver.d.ts +0 -4
- package/lib/typescript/handlers/gestures/flingGesture.d.ts +0 -9
- package/lib/typescript/handlers/gestures/forceTouchGesture.d.ts +0 -15
- package/lib/typescript/handlers/gestures/gesture.d.ts +0 -110
- package/lib/typescript/handlers/gestures/gestureComposition.d.ts +0 -21
- package/lib/typescript/handlers/gestures/gestureObjects.d.ts +0 -41
- package/lib/typescript/handlers/gestures/gestureStateManager.d.ts +0 -9
- package/lib/typescript/handlers/gestures/gestureStateManager.web.d.ts +0 -4
- package/lib/typescript/handlers/gestures/hoverGesture.d.ts +0 -32
- package/lib/typescript/handlers/gestures/longPressGesture.d.ts +0 -9
- package/lib/typescript/handlers/gestures/manualGesture.d.ts +0 -7
- package/lib/typescript/handlers/gestures/nativeGesture.d.ts +0 -9
- package/lib/typescript/handlers/gestures/panGesture.d.ts +0 -26
- package/lib/typescript/handlers/gestures/pinchGesture.d.ts +0 -11
- package/lib/typescript/handlers/gestures/reanimatedWrapper.d.ts +0 -14
- package/lib/typescript/handlers/gestures/rotationGesture.d.ts +0 -12
- package/lib/typescript/handlers/gestures/tapGesture.d.ts +0 -14
- package/lib/typescript/handlers/handlersRegistry.d.ts +0 -14
- package/lib/typescript/jestUtils/index.d.ts +0 -1
- package/lib/typescript/jestUtils/jestUtils.d.ts +0 -28
- package/lib/typescript/mocks.d.ts +0 -44
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +0 -14
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +0 -6
- package/lib/typescript/typeUtils.d.ts +0 -1
- package/lib/typescript/utils.d.ts +0 -8
- package/lib/typescript/web/constants.d.ts +0 -7
- package/lib/typescript/web/detectors/RotationGestureDetector.d.ts +0 -30
- package/lib/typescript/web/detectors/ScaleGestureDetector.d.ts +0 -29
- package/lib/typescript/web/handlers/FlingGestureHandler.d.ts +0 -27
- package/lib/typescript/web/handlers/GestureHandler.d.ts +0 -90
- package/lib/typescript/web/handlers/HoverGestureHandler.d.ts +0 -10
- package/lib/typescript/web/handlers/LongPressGestureHandler.d.ts +0 -26
- package/lib/typescript/web/handlers/ManualGestureHandler.d.ts +0 -12
- package/lib/typescript/web/handlers/NativeViewGestureHandler.d.ts +0 -24
- package/lib/typescript/web/handlers/PanGestureHandler.d.ts +0 -55
- package/lib/typescript/web/handlers/PinchGestureHandler.d.ts +0 -28
- package/lib/typescript/web/handlers/RotationGestureHandler.d.ts +0 -29
- package/lib/typescript/web/handlers/TapGestureHandler.d.ts +0 -39
- package/lib/typescript/web/interfaces.d.ts +0 -141
- package/lib/typescript/web/tools/CircularBuffer.d.ts +0 -11
- package/lib/typescript/web/tools/EventManager.d.ts +0 -34
- package/lib/typescript/web/tools/GestureHandlerDelegate.d.ts +0 -22
- package/lib/typescript/web/tools/GestureHandlerOrchestrator.d.ts +0 -29
- package/lib/typescript/web/tools/GestureHandlerWebDelegate.d.ts +0 -21
- package/lib/typescript/web/tools/InteractionManager.d.ts +0 -17
- package/lib/typescript/web/tools/LeastSquareSolver.d.ts +0 -12
- package/lib/typescript/web/tools/NodeManager.d.ts +0 -11
- package/lib/typescript/web/tools/PointerEventManager.d.ts +0 -8
- package/lib/typescript/web/tools/PointerTracker.d.ts +0 -53
- package/lib/typescript/web/tools/TouchEventManager.d.ts +0 -6
- package/lib/typescript/web/tools/VelocityTracker.d.ts +0 -13
- package/lib/typescript/web/utils.d.ts +0 -4
- package/lib/typescript/web_hammer/DiscreteGestureHandler.d.ts +0 -20
- package/lib/typescript/web_hammer/DraggingGestureHandler.d.ts +0 -15
- package/lib/typescript/web_hammer/Errors.d.ts +0 -3
- package/lib/typescript/web_hammer/FlingGestureHandler.d.ts +0 -43
- package/lib/typescript/web_hammer/GestureHandler.d.ts +0 -145
- package/lib/typescript/web_hammer/IndiscreteGestureHandler.d.ts +0 -40
- package/lib/typescript/web_hammer/LongPressGestureHandler.d.ts +0 -38
- package/lib/typescript/web_hammer/NativeViewGestureHandler.d.ts +0 -7
- package/lib/typescript/web_hammer/NodeManager.d.ts +0 -8
- package/lib/typescript/web_hammer/PanGestureHandler.d.ts +0 -56
- package/lib/typescript/web_hammer/PinchGestureHandler.d.ts +0 -13
- package/lib/typescript/web_hammer/PressGestureHandler.d.ts +0 -83
- package/lib/typescript/web_hammer/RotationGestureHandler.d.ts +0 -13
- package/lib/typescript/web_hammer/TapGestureHandler.d.ts +0 -57
- package/lib/typescript/web_hammer/constants.d.ts +0 -39
- package/lib/typescript/web_hammer/utils.d.ts +0 -9
- package/src/ActionType.ts +0 -9
- package/src/Directions.ts +0 -9
- package/src/EnableNewWebImplementation.ts +0 -35
- package/src/GestureHandlerRootViewContext.ts +0 -3
- package/src/PlatformConstants.ts +0 -8
- package/src/PlatformConstants.web.ts +0 -5
- package/src/RNGestureHandlerModule.macos.ts +0 -133
- package/src/RNGestureHandlerModule.web.ts +0 -146
- package/src/RNGestureHandlerModule.windows.ts +0 -144
- package/src/RNRenderer.ts +0 -3
- package/src/RNRenderer.web.ts +0 -3
- package/src/State.ts +0 -13
- package/src/TouchEventType.ts +0 -10
- package/src/components/DrawerLayout.tsx +0 -743
- package/src/components/GestureComponents.tsx +0 -148
- package/src/components/GestureComponents.web.tsx +0 -41
- package/src/components/GestureHandlerButton.web.tsx +0 -6
- package/src/components/GestureHandlerRootView.android.tsx +0 -24
- package/src/components/GestureHandlerRootView.web.tsx +0 -17
- package/src/components/Swipeable.tsx +0 -584
- package/src/components/gestureHandlerRootHOC.tsx +0 -32
- package/src/components/touchables/TouchableHighlight.tsx +0 -115
- package/src/components/touchables/TouchableNativeFeedback.android.tsx +0 -91
- package/src/components/touchables/TouchableNativeFeedback.tsx +0 -3
- package/src/getReactNativeVersion.ts +0 -11
- package/src/getReactNativeVersion.web.ts +0 -3
- package/src/getShadowNodeFromRef.ts +0 -22
- package/src/getShadowNodeFromRef.web.ts +0 -7
- package/src/ghQueueMicrotask.ts +0 -5
- package/src/handlers/FlingGestureHandler.ts +0 -59
- package/src/handlers/ForceTouchGestureHandler.ts +0 -90
- package/src/handlers/LongPressGestureHandler.ts +0 -88
- package/src/handlers/PinchGestureHandler.ts +0 -48
- package/src/handlers/PressabilityDebugView.tsx +0 -2
- package/src/handlers/PressabilityDebugView.web.tsx +0 -4
- package/src/handlers/RotationGestureHandler.ts +0 -48
- package/src/handlers/gestureHandlerTypesCompat.ts +0 -106
- package/src/handlers/gestures/eventReceiver.ts +0 -155
- package/src/handlers/gestures/flingGesture.ts +0 -27
- package/src/handlers/gestures/forceTouchGesture.ts +0 -74
- package/src/handlers/gestures/gesture.ts +0 -349
- package/src/handlers/gestures/gestureComposition.ts +0 -122
- package/src/handlers/gestures/gestureObjects.ts +0 -84
- package/src/handlers/gestures/gestureStateManager.ts +0 -62
- package/src/handlers/gestures/gestureStateManager.web.ts +0 -24
- package/src/handlers/gestures/hoverGesture.ts +0 -83
- package/src/handlers/gestures/longPressGesture.ts +0 -28
- package/src/handlers/gestures/manualGesture.ts +0 -31
- package/src/handlers/gestures/nativeGesture.ts +0 -27
- package/src/handlers/gestures/panGesture.ts +0 -152
- package/src/handlers/gestures/pinchGesture.ts +0 -51
- package/src/handlers/gestures/reanimatedWrapper.ts +0 -56
- package/src/handlers/gestures/rotationGesture.ts +0 -51
- package/src/handlers/gestures/tapGesture.ts +0 -53
- package/src/handlers/handlersRegistry.ts +0 -60
- package/src/jestUtils/index.ts +0 -1
- package/src/jestUtils/jestUtils.ts +0 -505
- package/src/mocks.ts +0 -67
- package/src/specs/RNGestureHandlerButtonNativeComponent.ts +0 -18
- package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +0 -6
- package/src/typeUtils.ts +0 -1
- package/src/utils.ts +0 -54
- package/src/web/constants.ts +0 -8
- package/src/web/detectors/RotationGestureDetector.ts +0 -168
- package/src/web/detectors/ScaleGestureDetector.ts +0 -172
- package/src/web/handlers/FlingGestureHandler.ts +0 -161
- package/src/web/handlers/GestureHandler.ts +0 -849
- package/src/web/handlers/HoverGestureHandler.ts +0 -43
- package/src/web/handlers/LongPressGestureHandler.ts +0 -125
- package/src/web/handlers/ManualGestureHandler.ts +0 -43
- package/src/web/handlers/NativeViewGestureHandler.ts +0 -167
- package/src/web/handlers/PanGestureHandler.ts +0 -485
- package/src/web/handlers/PinchGestureHandler.ts +0 -158
- package/src/web/handlers/RotationGestureHandler.ts +0 -172
- package/src/web/handlers/TapGestureHandler.ts +0 -273
- package/src/web/interfaces.ts +0 -167
- package/src/web/tools/EventManager.ts +0 -104
- package/src/web/tools/GestureHandlerDelegate.ts +0 -23
- package/src/web/tools/GestureHandlerOrchestrator.ts +0 -389
- package/src/web/tools/GestureHandlerWebDelegate.ts +0 -115
- package/src/web/tools/NodeManager.ts +0 -43
- package/src/web/tools/PointerEventManager.ts +0 -202
- package/src/web/tools/TouchEventManager.ts +0 -167
- package/src/web/utils.ts +0 -8
- package/src/web_hammer/DiscreteGestureHandler.ts +0 -82
- package/src/web_hammer/DraggingGestureHandler.ts +0 -34
- package/src/web_hammer/Errors.ts +0 -7
- package/src/web_hammer/FlingGestureHandler.ts +0 -134
- package/src/web_hammer/GestureHandler.ts +0 -599
- package/src/web_hammer/IndiscreteGestureHandler.ts +0 -33
- package/src/web_hammer/LongPressGestureHandler.ts +0 -56
- package/src/web_hammer/NativeViewGestureHandler.ts +0 -47
- package/src/web_hammer/NodeManager.ts +0 -42
- package/src/web_hammer/PanGestureHandler.ts +0 -226
- package/src/web_hammer/PinchGestureHandler.ts +0 -25
- package/src/web_hammer/PressGestureHandler.ts +0 -167
- package/src/web_hammer/RotationGestureHandler.ts +0 -25
- package/src/web_hammer/TapGestureHandler.ts +0 -172
- package/src/web_hammer/constants.ts +0 -48
- package/src/web_hammer/utils.ts +0 -24
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["GestureDetector.tsx"],"names":["React","useContext","useEffect","useRef","useState","BaseGesture","CALLBACK_TYPE","Reanimated","registerHandler","unregisterHandler","RNGestureHandlerModule","baseGestureHandlerWithMonitorProps","filterConfig","findNodeHandle","scheduleFlushOperations","GestureStateManager","flingGestureHandlerProps","forceTouchGestureHandlerProps","longPressGestureHandlerProps","panGestureHandlerProps","panGestureHandlerCustomNativeProps","tapGestureHandlerProps","hoverGestureHandlerProps","State","TouchEventType","ActionType","isFabric","isJestEnv","tagMessage","getReactNativeVersion","getShadowNodeFromRef","Platform","onGestureHandlerEvent","RNRenderer","isNewWebImplementationEnabled","nativeViewGestureHandlerProps","GestureHandlerRootViewContext","ghQueueMicrotask","ALLOWED_PROPS","convertToHandlerTag","ref","handlerTag","current","extractValidHandlerTags","interactionGroup","map","filter","tag","dropHandlers","preparedGesture","handler","config","dropGestureHandler","testId","checkGestureCallbacksForWorklets","gesture","runOnJS","areSomeNotWorklets","handlers","isWorklet","includes","areSomeWorklets","console","error","attachHandlers","gestureConfig","viewTag","webEventHandlersRef","mountedRef","firstExecution","initialize","prepare","createGestureHandler","handlerName","requireToFail","simultaneousWith","blocksHandlers","updateGestureHandler","simultaneousHandlers","waitFor","actionType","shouldUseReanimated","REANIMATED_WORKLET","JS_FUNCTION_NEW_API","OS","attachGestureHandler","JS_FUNCTION_OLD_API","animatedHandlers","isAnimatedGesture","g","value","updateHandlers","i","length","previousHandlersValue","newHandlersValue","shouldUpdateSharedValue","gestureId","needsToReattach","isStateChangeEvent","event","oldState","isTouchEvent","eventType","getHandler","type","BEGAN","onBegin","START","onStart","UPDATE","onUpdate","CHANGE","onChange","END","onEnd","FINALIZE","onFinalize","TOUCHES_DOWN","onTouchesDown","TOUCHES_MOVE","onTouchesMove","TOUCHES_UP","onTouchesUp","TOUCHES_CANCELLED","onTouchesCancelled","touchEventTypeToCallbackType","UNDEFINED","runWorklet","args","warn","useAnimatedGesture","needsRebuild","sharedHandlersCallbacks","useSharedValue","lastUpdateEvent","stateControllers","callback","currentCallback","UNDETERMINED","state","ACTIVE","undefined","FAILED","CANCELLED","create","changeEventCalculator","useEvent","animatedEventHandler","validateDetectorChildren","__DEV__","REACT_NATIVE_VERSION","wrapType","minor","major","_reactInternals","elementType","_reactInternalFiber","instance","findHostInstance_DEPRECATED","_internalFiberInstanceHandleDEV","sibling","Error","return","applyUserSelectProp","userSelect","toGestureArray","GestureDetector","props","rootViewContext","useReanimatedHook","some","firstRender","viewRef","previousViewTag","forceReattach","e","nativeEvent","onGestureHandlerStateChange","renderState","setRenderState","forceRender","onHandlersUpdate","skipConfigUpdate","needsToRebuildReanimatedEvent","refFunction","node","global","isFormsStackingContext","children","Wrap","Component","render","child","Children","only","cloneElement","collapsable","AnimatedWrap","default","createAnimatedComponent"],"mappings":";;AAAA,OAAOA,KAAP,IAAgBC,UAAhB,EAA4BC,SAA5B,EAAuCC,MAAvC,EAA+CC,QAA/C,QAA+D,OAA/D;AACA,SAGEC,WAHF,EAKEC,aALF,QAMO,WANP;AAOA,SAASC,UAAT,QAAwC,qBAAxC;AACA,SAASC,eAAT,EAA0BC,iBAA1B,QAAmD,qBAAnD;AACA,OAAOC,sBAAP,MAAmC,8BAAnC;AACA,SACEC,kCADF,EAEEC,YAFF,EAGEC,cAHF,EAQEC,uBARF,QAUO,yBAVP;AAWA,SACEC,mBADF,QAGO,uBAHP;AAIA,SAASC,wBAAT,QAAyC,wBAAzC;AACA,SAASC,6BAAT,QAA8C,6BAA9C;AACA,SAASC,4BAAT,QAA6C,4BAA7C;AACA,SACEC,sBADF,EAEEC,kCAFF,QAGO,sBAHP;AAIA,SAASC,sBAAT,QAAuC,sBAAvC;AACA,SAASC,wBAAT,QAAyC,gBAAzC;AACA,SAASC,KAAT,QAAsB,aAAtB;AACA,SAASC,cAAT,QAA+B,sBAA/B;AAEA,SAASC,UAAT,QAA2B,kBAA3B;AACA,SAASC,QAAT,EAAmBC,SAAnB,EAA8BC,UAA9B,QAAgD,aAAhD;AACA,SAASC,qBAAT,QAAsC,6BAAtC;AACA,SAASC,oBAAT,QAAqC,4BAArC;AACA,SAASC,QAAT,QAAyB,cAAzB;AAEA,SAASC,qBAAT,QAAsC,iBAAtC;AACA,SAASC,UAAT,QAA2B,kBAA3B;AACA,SAASC,6BAAT,QAA8C,kCAA9C;AACA,SAASC,6BAAT,QAA8C,6BAA9C;AACA,OAAOC,6BAAP,MAA0C,qCAA1C;AACA,SAASC,gBAAT,QAAiC,wBAAjC;AAMA,MAAMC,aAAa,GAAG,CACpB,GAAG3B,kCADiB,EAEpB,GAAGU,sBAFiB,EAGpB,GAAGF,sBAHiB,EAIpB,GAAGC,kCAJiB,EAKpB,GAAGF,4BALiB,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AAN;AAKD;AACF;;AAtBA;;AAyBH,MAAM0K,YAAY,4BAAG/L,UAAH,aAAGA,UAAH,8CAAGA,UAAU,CAAEgM,OAAf,wDAAG,oBAAqBC,uBAArB,CAA6CV,IAA7C,CAAH,yEAAyDA,IAA3E","sourcesContent":["import React, { useContext, useEffect, useRef, useState } from 'react';\r\nimport {\r\n GestureType,\r\n HandlerCallbacks,\r\n BaseGesture,\r\n GestureRef,\r\n CALLBACK_TYPE,\r\n} from './gesture';\r\nimport { Reanimated, SharedValue } from './reanimatedWrapper';\r\nimport { registerHandler, unregisterHandler } from '../handlersRegistry';\r\nimport RNGestureHandlerModule from '../../RNGestureHandlerModule';\r\nimport {\r\n baseGestureHandlerWithMonitorProps,\r\n filterConfig,\r\n findNodeHandle,\r\n GestureTouchEvent,\r\n GestureUpdateEvent,\r\n GestureStateChangeEvent,\r\n HandlerStateChangeEvent,\r\n scheduleFlushOperations,\r\n UserSelect,\r\n} from '../gestureHandlerCommon';\r\nimport {\r\n GestureStateManager,\r\n GestureStateManagerType,\r\n} from './gestureStateManager';\r\nimport { flingGestureHandlerProps } from '../FlingGestureHandler';\r\nimport { forceTouchGestureHandlerProps } from '../ForceTouchGestureHandler';\r\nimport { longPressGestureHandlerProps } from '../LongPressGestureHandler';\r\nimport {\r\n panGestureHandlerProps,\r\n panGestureHandlerCustomNativeProps,\r\n} from '../PanGestureHandler';\r\nimport { tapGestureHandlerProps } from '../TapGestureHandler';\r\nimport { hoverGestureHandlerProps } from './hoverGesture';\r\nimport { State } from '../../State';\r\nimport { TouchEventType } from '../../TouchEventType';\r\nimport { ComposedGesture } from './gestureComposition';\r\nimport { ActionType } from '../../ActionType';\r\nimport { isFabric, isJestEnv, tagMessage } from '../../utils';\r\nimport { getReactNativeVersion } from '../../getReactNativeVersion';\r\nimport { getShadowNodeFromRef } from '../../getShadowNodeFromRef';\r\nimport { Platform } from 'react-native';\r\nimport type RNGestureHandlerModuleWeb from '../../RNGestureHandlerModule.web';\r\nimport { onGestureHandlerEvent } from './eventReceiver';\r\nimport { RNRenderer } from '../../RNRenderer';\r\nimport { isNewWebImplementationEnabled } from '../../EnableNewWebImplementation';\r\nimport { nativeViewGestureHandlerProps } from '../NativeViewGestureHandler';\r\nimport GestureHandlerRootViewContext from '../../GestureHandlerRootViewContext';\r\nimport { ghQueueMicrotask } from '../../ghQueueMicrotask';\r\n\r\ndeclare const global: {\r\n isFormsStackingContext: (node: unknown) => boolean | null; // JSI function\r\n};\r\n\r\nconst ALLOWED_PROPS = [\r\n ...baseGestureHandlerWithMonitorProps,\r\n ...tapGestureHandlerProps,\r\n ...panGestureHandlerProps,\r\n ...panGestureHandlerCustomNativeProps,\r\n ...longPressGestureHandlerProps,\r\n ...forceTouchGestureHandlerProps,\r\n ...flingGestureHandlerProps,\r\n ...hoverGestureHandlerProps,\r\n ...nativeViewGestureHandlerProps,\r\n];\r\n\r\nexport type GestureConfigReference = {\r\n config: GestureType[];\r\n animatedEventHandler: unknown;\r\n animatedHandlers: SharedValue<\r\n HandlerCallbacks<Record<string, unknown>>[] | null\r\n > | null;\r\n firstExecution: boolean;\r\n useReanimatedHook: boolean;\r\n};\r\n\r\nfunction convertToHandlerTag(ref: GestureRef): number {\r\n if (typeof ref === 'number') {\r\n return ref;\r\n } else if (ref instanceof BaseGesture) {\r\n return ref.handlerTag;\r\n } else {\r\n // @ts-ignore in this case it should be a ref either to gesture object or\r\n // a gesture handler component, in both cases handlerTag property exists\r\n return ref.current?.handlerTag ?? -1;\r\n }\r\n}\r\n\r\nfunction extractValidHandlerTags(interactionGroup: GestureRef[] | undefined) {\r\n return (\r\n interactionGroup?.map(convertToHandlerTag)?.filter((tag) => tag > 0) ?? []\r\n );\r\n}\r\n\r\nfunction dropHandlers(preparedGesture: GestureConfigReference) {\r\n for (const handler of preparedGesture.config) {\r\n RNGestureHandlerModule.dropGestureHandler(handler.handlerTag);\r\n\r\n unregisterHandler(handler.handlerTag, handler.config.testId);\r\n }\r\n\r\n scheduleFlushOperations();\r\n}\r\n\r\nfunction checkGestureCallbacksForWorklets(gesture: GestureType) {\r\n // if a gesture is explicitly marked to run on the JS thread there is no need to check\r\n // if callbacks are worklets as the user is aware they will be ran on the JS thread\r\n if (gesture.config.runOnJS) {\r\n return;\r\n }\r\n\r\n const areSomeNotWorklets = gesture.handlers.isWorklet.includes(false);\r\n const areSomeWorklets = gesture.handlers.isWorklet.includes(true);\r\n\r\n // if some of the callbacks are worklets and some are not, and the gesture is not\r\n // explicitly marked with `.runOnJS(true)` show an error\r\n if (areSomeNotWorklets && areSomeWorklets) {\r\n console.error(\r\n tagMessage(\r\n `Some of the callbacks in the gesture are worklets and some are not. Either make sure that all calbacks are marked as 'worklet' if you wish to run them on the UI thread or use '.runOnJS(true)' modifier on the gesture explicitly to run all callbacks on the JS thread.`\r\n )\r\n );\r\n }\r\n}\r\n\r\ninterface WebEventHandler {\r\n onGestureHandlerEvent: (event: HandlerStateChangeEvent<unknown>) => void;\r\n onGestureHandlerStateChange?: (\r\n event: HandlerStateChangeEvent<unknown>\r\n ) => void;\r\n}\r\n\r\ninterface AttachHandlersConfig {\r\n preparedGesture: GestureConfigReference;\r\n gestureConfig: ComposedGesture | GestureType;\r\n gesture: GestureType[];\r\n viewTag: number;\r\n webEventHandlersRef: React.RefObject<WebEventHandler>;\r\n mountedRef: React.RefObject<boolean>;\r\n}\r\n\r\nfunction attachHandlers({\r\n preparedGesture,\r\n gestureConfig,\r\n gesture,\r\n viewTag,\r\n webEventHandlersRef,\r\n mountedRef,\r\n}: AttachHandlersConfig) {\r\n if (!preparedGesture.firstExecution) {\r\n gestureConfig.initialize();\r\n } else {\r\n preparedGesture.firstExecution = false;\r\n }\r\n\r\n // use queueMicrotask to extract handlerTags, because all refs should be initialized\r\n // when it's ran\r\n ghQueueMicrotask(() => {\r\n if (!mountedRef.current) {\r\n return;\r\n }\r\n gestureConfig.prepare();\r\n });\r\n\r\n for (const handler of gesture) {\r\n checkGestureCallbacksForWorklets(handler);\r\n RNGestureHandlerModule.createGestureHandler(\r\n handler.handlerName,\r\n handler.handlerTag,\r\n filterConfig(handler.config, ALLOWED_PROPS)\r\n );\r\n\r\n registerHandler(handler.handlerTag, handler, handler.config.testId);\r\n }\r\n\r\n // use queueMicrotask to extract handlerTags, because all refs should be initialized\r\n // when it's ran\r\n ghQueueMicrotask(() => {\r\n if (!mountedRef.current) {\r\n return;\r\n }\r\n for (const handler of gesture) {\r\n let requireToFail: number[] = [];\r\n if (handler.config.requireToFail) {\r\n requireToFail = extractValidHandlerTags(handler.config.requireToFail);\r\n }\r\n\r\n let simultaneousWith: number[] = [];\r\n if (handler.config.simultaneousWith) {\r\n simultaneousWith = extractValidHandlerTags(\r\n handler.config.simultaneousWith\r\n );\r\n }\r\n\r\n let blocksHandlers: number[] = [];\r\n if (handler.config.blocksHandlers) {\r\n blocksHandlers = extractValidHandlerTags(handler.config.blocksHandlers);\r\n }\r\n\r\n RNGestureHandlerModule.updateGestureHandler(\r\n handler.handlerTag,\r\n filterConfig(handler.config, ALLOWED_PROPS, {\r\n simultaneousHandlers: simultaneousWith,\r\n waitFor: requireToFail,\r\n blocksHandlers: blocksHandlers,\r\n })\r\n );\r\n }\r\n\r\n scheduleFlushOperations();\r\n });\r\n\r\n preparedGesture.config = gesture;\r\n\r\n for (const gesture of preparedGesture.config) {\r\n const actionType = gesture.shouldUseReanimated\r\n ? ActionType.REANIMATED_WORKLET\r\n : ActionType.JS_FUNCTION_NEW_API;\r\n\r\n if (Platform.OS === 'web') {\r\n (\r\n RNGestureHandlerModule.attachGestureHandler as typeof RNGestureHandlerModuleWeb.attachGestureHandler\r\n )(\r\n gesture.handlerTag,\r\n viewTag,\r\n ActionType.JS_FUNCTION_OLD_API, // ignored on web\r\n webEventHandlersRef\r\n );\r\n } else {\r\n RNGestureHandlerModule.attachGestureHandler(\r\n gesture.handlerTag,\r\n viewTag,\r\n actionType\r\n );\r\n }\r\n }\r\n\r\n if (preparedGesture.animatedHandlers) {\r\n const isAnimatedGesture = (g: GestureType) => g.shouldUseReanimated;\r\n\r\n preparedGesture.animatedHandlers.value = gesture\r\n .filter(isAnimatedGesture)\r\n .map((g) => g.handlers) as unknown as HandlerCallbacks<\r\n Record<string, unknown>\r\n >[];\r\n }\r\n}\r\n\r\nfunction updateHandlers(\r\n preparedGesture: GestureConfigReference,\r\n gestureConfig: ComposedGesture | GestureType,\r\n gesture: GestureType[],\r\n mountedRef: React.RefObject<boolean>\r\n) {\r\n gestureConfig.prepare();\r\n\r\n for (let i = 0; i < gesture.length; i++) {\r\n const handler = preparedGesture.config[i];\r\n checkGestureCallbacksForWorklets(handler);\r\n\r\n // only update handlerTag when it's actually different, it may be the same\r\n // if gesture config object is wrapped with useMemo\r\n if (gesture[i].handlerTag !== handler.handlerTag) {\r\n gesture[i].handlerTag = handler.handlerTag;\r\n gesture[i].handlers.handlerTag = handler.handlerTag;\r\n }\r\n }\r\n\r\n // use queueMicrotask to extract handlerTags, because when it's ran, all refs should be updated\r\n // and handlerTags in BaseGesture references should be updated in the loop above (we need to wait\r\n // in case of external relations)\r\n ghQueueMicrotask(() => {\r\n if (!mountedRef.current) {\r\n return;\r\n }\r\n for (let i = 0; i < gesture.length; i++) {\r\n const handler = preparedGesture.config[i];\r\n\r\n handler.config = gesture[i].config;\r\n handler.handlers = gesture[i].handlers;\r\n\r\n const requireToFail = extractValidHandlerTags(\r\n handler.config.requireToFail\r\n );\r\n\r\n const simultaneousWith = extractValidHandlerTags(\r\n handler.config.simultaneousWith\r\n );\r\n\r\n RNGestureHandlerModule.updateGestureHandler(\r\n handler.handlerTag,\r\n filterConfig(handler.config, ALLOWED_PROPS, {\r\n simultaneousHandlers: simultaneousWith,\r\n waitFor: requireToFail,\r\n })\r\n );\r\n\r\n registerHandler(handler.handlerTag, handler, handler.config.testId);\r\n }\r\n\r\n if (preparedGesture.animatedHandlers) {\r\n const previousHandlersValue =\r\n preparedGesture.animatedHandlers.value ?? [];\r\n const newHandlersValue = preparedGesture.config\r\n .filter((g) => g.shouldUseReanimated) // ignore gestures that shouldn't run on UI\r\n .map((g) => g.handlers) as unknown as HandlerCallbacks<\r\n Record<string, unknown>\r\n >[];\r\n\r\n // if amount of gesture configs changes, we need to update the callbacks in shared value\r\n let shouldUpdateSharedValue =\r\n previousHandlersValue.length !== newHandlersValue.length;\r\n\r\n if (!shouldUpdateSharedValue) {\r\n // if the amount is the same, we need to check if any of the configs inside has changed\r\n for (let i = 0; i < newHandlersValue.length; i++) {\r\n if (\r\n // we can use the `gestureId` prop as it's unique for every config instance\r\n newHandlersValue[i].gestureId !== previousHandlersValue[i].gestureId\r\n ) {\r\n shouldUpdateSharedValue = true;\r\n break;\r\n }\r\n }\r\n }\r\n\r\n if (shouldUpdateSharedValue) {\r\n preparedGesture.animatedHandlers.value = newHandlersValue;\r\n }\r\n }\r\n\r\n scheduleFlushOperations();\r\n });\r\n}\r\n\r\nfunction needsToReattach(\r\n preparedGesture: GestureConfigReference,\r\n gesture: GestureType[]\r\n) {\r\n if (gesture.length !== preparedGesture.config.length) {\r\n return true;\r\n }\r\n for (let i = 0; i < gesture.length; i++) {\r\n if (\r\n gesture[i].handlerName !== preparedGesture.config[i].handlerName ||\r\n gesture[i].shouldUseReanimated !==\r\n preparedGesture.config[i].shouldUseReanimated\r\n ) {\r\n return true;\r\n }\r\n }\r\n\r\n return false;\r\n}\r\n\r\nfunction isStateChangeEvent(\r\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\r\n): event is GestureStateChangeEvent {\r\n 'worklet';\r\n // @ts-ignore Yes, the oldState prop is missing on GestureTouchEvent, that's the point\r\n return event.oldState != null;\r\n}\r\n\r\nfunction isTouchEvent(\r\n event: GestureUpdateEvent | GestureStateChangeEvent | GestureTouchEvent\r\n): event is GestureTouchEvent {\r\n 'worklet';\r\n return event.eventType != null;\r\n}\r\n\r\nfunction getHandler(\r\n type: CALLBACK_TYPE,\r\n gesture: HandlerCallbacks<Record<string, unknown>>\r\n) {\r\n 'worklet';\r\n switch (type) {\r\n case CALLBACK_TYPE.BEGAN:\r\n return gesture.onBegin;\r\n case CALLBACK_TYPE.START:\r\n return gesture.onStart;\r\n case CALLBACK_TYPE.UPDATE:\r\n return gesture.onUpdate;\r\n case CALLBACK_TYPE.CHANGE:\r\n return gesture.onChange;\r\n case CALLBACK_TYPE.END:\r\n return gesture.onEnd;\r\n case CALLBACK_TYPE.FINALIZE:\r\n return gesture.onFinalize;\r\n case CALLBACK_TYPE.TOUCHES_DOWN:\r\n return gesture.onTouchesDown;\r\n case CALLBACK_TYPE.TOUCHES_MOVE:\r\n return gesture.onTouchesMove;\r\n case CALLBACK_TYPE.TOUCHES_UP:\r\n return gesture.onTouchesUp;\r\n case CALLBACK_TYPE.TOUCHES_CANCELLED:\r\n return gesture.onTouchesCancelled;\r\n }\r\n}\r\n\r\nfunction touchEventTypeToCallbackType(\r\n eventType: TouchEventType\r\n): CALLBACK_TYPE {\r\n 'worklet';\r\n switch (eventType) {\r\n case TouchEventType.TOUCHES_DOWN:\r\n return CALLBACK_TYPE.TOUCHES_DOWN;\r\n case TouchEventType.TOUCHES_MOVE:\r\n return CALLBACK_TYPE.TOUCHES_MOVE;\r\n case TouchEventType.TOUCHES_UP:\r\n return CALLBACK_TYPE.TOUCHES_UP;\r\n case TouchEventType.TOUCHES_CANCELLED:\r\n return CALLBACK_TYPE.TOUCHES_CANCELLED;\r\n }\r\n return CALLBACK_TYPE.UNDEFINED;\r\n}\r\n\r\nfunction runWorklet(\r\n type: CALLBACK_TYPE,\r\n gesture: HandlerCallbacks<Record<string, unknown>>,\r\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent,\r\n ...args: any[]\r\n) {\r\n 'worklet';\r\n const handler = getHandler(type, gesture);\r\n if (gesture.isWorklet[type]) {\r\n // @ts-ignore Logic below makes sure the correct event is send to the\r\n // correct handler.\r\n handler?.(event, ...args);\r\n } else if (handler) {\r\n console.warn(tagMessage('Animated gesture callback must be a worklet'));\r\n }\r\n}\r\n\r\nfunction useAnimatedGesture(\r\n preparedGesture: GestureConfigReference,\r\n needsRebuild: boolean\r\n) {\r\n if (!Reanimated) {\r\n return;\r\n }\r\n\r\n // Hooks are called conditionally, but the condition is whether the\r\n // react-native-reanimated is installed, which shouldn't change while running\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n const sharedHandlersCallbacks = Reanimated.useSharedValue<\r\n HandlerCallbacks<Record<string, unknown>>[] | null\r\n >(null);\r\n\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n const lastUpdateEvent = Reanimated.useSharedValue<\r\n (GestureUpdateEvent | undefined)[]\r\n >([]);\r\n\r\n // not every gesture needs a state controller, init them lazily\r\n const stateControllers: GestureStateManagerType[] = [];\r\n\r\n const callback = (\r\n event: GestureStateChangeEvent | GestureUpdateEvent | GestureTouchEvent\r\n ) => {\r\n 'worklet';\r\n\r\n const currentCallback = sharedHandlersCallbacks.value;\r\n if (!currentCallback) {\r\n return;\r\n }\r\n\r\n for (let i = 0; i < currentCallback.length; i++) {\r\n const gesture = currentCallback[i];\r\n\r\n if (event.handlerTag === gesture.handlerTag) {\r\n if (isStateChangeEvent(event)) {\r\n if (\r\n event.oldState === State.UNDETERMINED &&\r\n event.state === State.BEGAN\r\n ) {\r\n runWorklet(CALLBACK_TYPE.BEGAN, gesture, event);\r\n } else if (\r\n (event.oldState === State.BEGAN ||\r\n event.oldState === State.UNDETERMINED) &&\r\n event.state === State.ACTIVE\r\n ) {\r\n runWorklet(CALLBACK_TYPE.START, gesture, event);\r\n lastUpdateEvent.value[gesture.handlerTag] = undefined;\r\n } else if (\r\n event.oldState !== event.state &&\r\n event.state === State.END\r\n ) {\r\n if (event.oldState === State.ACTIVE) {\r\n runWorklet(CALLBACK_TYPE.END, gesture, event, true);\r\n }\r\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, true);\r\n } else if (\r\n (event.state === State.FAILED || event.state === State.CANCELLED) &&\r\n event.state !== event.oldState\r\n ) {\r\n if (event.oldState === State.ACTIVE) {\r\n runWorklet(CALLBACK_TYPE.END, gesture, event, false);\r\n }\r\n runWorklet(CALLBACK_TYPE.FINALIZE, gesture, event, false);\r\n }\r\n } else if (isTouchEvent(event)) {\r\n if (!stateControllers[i]) {\r\n stateControllers[i] = GestureStateManager.create(event.handlerTag);\r\n }\r\n\r\n if (event.eventType !== TouchEventType.UNDETERMINED) {\r\n runWorklet(\r\n touchEventTypeToCallbackType(event.eventType),\r\n gesture,\r\n event,\r\n stateControllers[i]\r\n );\r\n }\r\n } else {\r\n runWorklet(CALLBACK_TYPE.UPDATE, gesture, event);\r\n\r\n if (gesture.onChange && gesture.changeEventCalculator) {\r\n runWorklet(\r\n CALLBACK_TYPE.CHANGE,\r\n gesture,\r\n gesture.changeEventCalculator?.(\r\n event,\r\n lastUpdateEvent.value[gesture.handlerTag]\r\n )\r\n );\r\n\r\n lastUpdateEvent.value[gesture.handlerTag] = event;\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n const event = Reanimated.useEvent(\r\n callback,\r\n ['onGestureHandlerStateChange', 'onGestureHandlerEvent'],\r\n needsRebuild\r\n );\r\n\r\n preparedGesture.animatedEventHandler = event;\r\n preparedGesture.animatedHandlers = sharedHandlersCallbacks;\r\n}\r\n\r\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\r\nfunction validateDetectorChildren(ref: any) {\r\n // finds the first native view under the Wrap component and traverses the fiber tree upwards\r\n // to check whether there is more than one native view as a pseudo-direct child of GestureDetector\r\n // i.e. this is not ok:\r\n // Wrap\r\n // |\r\n // / \\\r\n // / \\\r\n // / \\\r\n // / \\\r\n // NativeView NativeView\r\n //\r\n // but this is fine:\r\n // Wrap\r\n // |\r\n // NativeView\r\n // |\r\n // / \\\r\n // / \\\r\n // / \\\r\n // / \\\r\n // NativeView NativeView\r\n if (__DEV__ && Platform.OS !== 'web') {\r\n const REACT_NATIVE_VERSION = getReactNativeVersion();\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n const wrapType =\r\n REACT_NATIVE_VERSION.minor > 63 || REACT_NATIVE_VERSION.major > 0\r\n ? // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\r\n ref._reactInternals.elementType\r\n : // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\r\n ref._reactInternalFiber.elementType;\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\r\n let instance =\r\n RNRenderer.findHostInstance_DEPRECATED(\r\n ref\r\n )._internalFiberInstanceHandleDEV;\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\r\n while (instance && instance.elementType !== wrapType) {\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\r\n if (instance.sibling) {\r\n throw new Error(\r\n 'GestureDetector has more than one native view as its children. This can happen if you are using a custom component that renders multiple views, like React.Fragment. You should wrap content of GestureDetector with a <View> or <Animated.View>.'\r\n );\r\n }\r\n\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access\r\n instance = instance.return;\r\n }\r\n }\r\n}\r\n\r\nconst applyUserSelectProp = (\r\n userSelect: UserSelect,\r\n gesture: ComposedGesture | GestureType\r\n): void => {\r\n for (const g of gesture.toGestureArray()) {\r\n g.config.userSelect = userSelect;\r\n }\r\n};\r\n\r\ninterface GestureDetectorProps {\r\n gesture: ComposedGesture | GestureType;\r\n userSelect?: UserSelect;\r\n children?: React.ReactNode;\r\n}\r\ninterface GestureDetectorState {\r\n firstRender: boolean;\r\n viewRef: React.Component | null;\r\n previousViewTag: number;\r\n forceReattach: boolean;\r\n}\r\nexport const GestureDetector = (props: GestureDetectorProps) => {\r\n const rootViewContext = useContext(GestureHandlerRootViewContext);\r\n if (__DEV__ && !rootViewContext && !isJestEnv() && Platform.OS !== 'web') {\r\n throw new Error(\r\n 'GestureDetector must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/installation for more details.'\r\n );\r\n }\r\n\r\n const gestureConfig = props.gesture;\r\n\r\n if (props.userSelect) {\r\n applyUserSelectProp(props.userSelect, gestureConfig);\r\n }\r\n\r\n const gesture = gestureConfig.toGestureArray();\r\n const useReanimatedHook = gesture.some((g) => g.shouldUseReanimated);\r\n\r\n // store state in ref to prevent unnecessary renders\r\n const state = useRef<GestureDetectorState>({\r\n firstRender: true,\r\n viewRef: null,\r\n previousViewTag: -1,\r\n forceReattach: false,\r\n }).current;\r\n const mountedRef = useRef(false);\r\n const webEventHandlersRef = useRef<WebEventHandler>({\r\n onGestureHandlerEvent: (e: HandlerStateChangeEvent<unknown>) => {\r\n onGestureHandlerEvent(e.nativeEvent);\r\n },\r\n onGestureHandlerStateChange: isNewWebImplementationEnabled()\r\n ? (e: HandlerStateChangeEvent<unknown>) => {\r\n onGestureHandlerEvent(e.nativeEvent);\r\n }\r\n : undefined,\r\n });\r\n\r\n const [renderState, setRenderState] = useState(false);\r\n function forceRender() {\r\n setRenderState(!renderState);\r\n }\r\n\r\n const preparedGesture = React.useRef<GestureConfigReference>({\r\n config: gesture,\r\n animatedEventHandler: null,\r\n animatedHandlers: null,\r\n firstExecution: true,\r\n useReanimatedHook: useReanimatedHook,\r\n }).current;\r\n\r\n if (useReanimatedHook !== preparedGesture.useReanimatedHook) {\r\n throw new Error(\r\n tagMessage(\r\n 'You cannot change the thread the callbacks are ran on while the app is running'\r\n )\r\n );\r\n }\r\n\r\n function onHandlersUpdate(skipConfigUpdate?: boolean) {\r\n // if the underlying view has changed we need to reattach handlers to the new view\r\n const viewTag = findNodeHandle(state.viewRef) as number;\r\n const forceReattach = viewTag !== state.previousViewTag;\r\n\r\n if (forceReattach || needsToReattach(preparedGesture, gesture)) {\r\n validateDetectorChildren(state.viewRef);\r\n dropHandlers(preparedGesture);\r\n attachHandlers({\r\n preparedGesture,\r\n gestureConfig,\r\n gesture,\r\n webEventHandlersRef,\r\n viewTag,\r\n mountedRef,\r\n });\r\n\r\n state.previousViewTag = viewTag;\r\n state.forceReattach = forceReattach;\r\n if (forceReattach) {\r\n forceRender();\r\n }\r\n } else if (!skipConfigUpdate) {\r\n updateHandlers(preparedGesture, gestureConfig, gesture, mountedRef);\r\n }\r\n }\r\n\r\n // Reanimated event should be rebuilt only when gestures are reattached, otherwise\r\n // config update will be enough as all necessary items are stored in shared values anyway\r\n const needsToRebuildReanimatedEvent =\r\n preparedGesture.firstExecution ||\r\n needsToReattach(preparedGesture, gesture) ||\r\n state.forceReattach;\r\n\r\n state.forceReattach = false;\r\n\r\n if (preparedGesture.firstExecution) {\r\n gestureConfig.initialize();\r\n }\r\n\r\n if (useReanimatedHook) {\r\n // Whether animatedGesture or gesture is used shouldn't change while the app is running\r\n // eslint-disable-next-line react-hooks/rules-of-hooks\r\n useAnimatedGesture(preparedGesture, needsToRebuildReanimatedEvent);\r\n }\r\n\r\n useEffect(() => {\r\n const viewTag = findNodeHandle(state.viewRef) as number;\r\n state.firstRender = true;\r\n mountedRef.current = true;\r\n\r\n validateDetectorChildren(state.viewRef);\r\n\r\n attachHandlers({\r\n preparedGesture,\r\n gestureConfig,\r\n gesture,\r\n webEventHandlersRef,\r\n viewTag,\r\n mountedRef,\r\n });\r\n\r\n return () => {\r\n mountedRef.current = false;\r\n dropHandlers(preparedGesture);\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (!state.firstRender) {\r\n onHandlersUpdate();\r\n } else {\r\n state.firstRender = false;\r\n }\r\n }, [props]);\r\n\r\n const refFunction = (ref: unknown) => {\r\n if (ref !== null) {\r\n // @ts-ignore Just setting the view ref\r\n state.viewRef = ref;\r\n\r\n // if it's the first render, also set the previousViewTag to prevent reattaching gestures when not needed\r\n if (state.previousViewTag === -1) {\r\n state.previousViewTag = findNodeHandle(state.viewRef) as number;\r\n }\r\n\r\n // pass true as `skipConfigUpdate`, here we only want to trigger the eventual reattaching of handlers\r\n // in case the view has changed, while config update would be handled be the `useEffect` above\r\n onHandlersUpdate(true);\r\n\r\n if (isFabric()) {\r\n const node = getShadowNodeFromRef(ref);\r\n if (global.isFormsStackingContext(node) === false) {\r\n console.error(\r\n tagMessage(\r\n 'GestureDetector has received a child that may get view-flattened. ' +\r\n '\\nTo prevent it from misbehaving you need to wrap the child with a `<View collapsable={false}>`.'\r\n )\r\n );\r\n }\r\n }\r\n }\r\n };\r\n\r\n if (useReanimatedHook) {\r\n return (\r\n <AnimatedWrap\r\n ref={refFunction}\r\n onGestureHandlerEvent={preparedGesture.animatedEventHandler}>\r\n {props.children}\r\n </AnimatedWrap>\r\n );\r\n } else {\r\n return <Wrap ref={refFunction}>{props.children}</Wrap>;\r\n }\r\n};\r\n\r\nclass Wrap extends React.Component<{\r\n onGestureHandlerEvent?: unknown;\r\n // implicit `children` prop has been removed in @types/react^18.0.0\r\n children?: React.ReactNode;\r\n}> {\r\n render() {\r\n try {\r\n // I don't think that fighting with types over such a simple function is worth it\r\n // The only thing it does is add 'collapsable: false' to the child component\r\n // to make sure it is in the native view hierarchy so the detector can find\r\n // correct viewTag to attach to.\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n const child: any = React.Children.only(this.props.children);\r\n return React.cloneElement(\r\n child,\r\n { collapsable: false },\r\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\r\n child.props.children\r\n );\r\n } catch (e) {\r\n throw new Error(\r\n tagMessage(\r\n `GestureDetector got more than one view as a child. If you want the gesture to work on multiple views, wrap them with a common parent and attach the gesture to that view.`\r\n )\r\n );\r\n }\r\n }\r\n}\r\n\r\nconst AnimatedWrap = Reanimated?.default?.createAnimatedComponent(Wrap) ?? Wrap;\r\n"]}
|
1
|
+
{"version":3,"names":["React","useContext","useEffect","useRef","useState","BaseGesture","CALLBACK_TYPE","Reanimated","registerHandler","unregisterHandler","RNGestureHandlerModule","baseGestureHandlerWithMonitorProps","filterConfig","findNodeHandle","scheduleFlushOperations","GestureStateManager","flingGestureHandlerProps","forceTouchGestureHandlerProps","longPressGestureHandlerProps","panGestureHandlerProps","panGestureHandlerCustomNativeProps","tapGestureHandlerProps","State","TouchEventType","ActionType","isFabric","isJestEnv","REACT_NATIVE_VERSION","tagMessage","getShadowNodeFromRef","Platform","onGestureHandlerEvent","RNRenderer","isNewWebImplementationEnabled","nativeViewGestureHandlerProps","GestureHandlerRootViewContext","ALLOWED_PROPS","convertToHandlerTag","ref","handlerTag","_ref$current","current","extractValidHandlerTags","interactionGroup","_interactionGroup$map","map","filter","tag","dropHandlers","preparedGesture","handler","config","dropGestureHandler","testId","checkGestureCallbacksForWorklets","gesture","runOnJS","areSomeNotWorklets","handlers","isWorklet","includes","areSomeWorklets","console","error","attachHandlers","gestureConfig","viewTag","webEventHandlersRef","mountedRef","firstExecution","initialize","queueMicrotask","prepare","createGestureHandler","handlerName","requireToFail","simultaneousWith","updateGestureHandler","simultaneousHandlers","waitFor","actionType","shouldUseReanimated","REANIMATED_WORKLET","JS_FUNCTION_NEW_API","OS","attachGestureHandler","JS_FUNCTION_OLD_API","animatedHandlers","isAnimatedGesture","g","value","updateHandlers","i","length","previousHandlersValue","newHandlersValue","shouldUpdateSharedValue","gestureId","needsToReattach","isStateChangeEvent","event","oldState","isTouchEvent","eventType","getHandler","type","BEGAN","onBegin","START","onStart","UPDATE","onUpdate","CHANGE","onChange","END","onEnd","FINALIZE","onFinalize","TOUCHES_DOWN","onTouchesDown","TOUCHES_MOVE","onTouchesMove","TOUCHES_UP","onTouchesUp","TOUCHES_CANCELLED","onTouchesCancelled","touchEventTypeToCallbackType","UNDEFINED","runWorklet","args","warn","useAnimatedGesture","needsRebuild","sharedHandlersCallbacks","useSharedValue","lastUpdateEvent","stateControllers","callback","currentCallback","UNDETERMINED","state","ACTIVE","undefined","FAILED","CANCELLED","create","changeEventCalculator","_gesture$changeEventC","call","useEvent","animatedEventHandler","validateDetectorChildren","__DEV__","wrapType","minor","major","_reactInternals","elementType","_reactInternalFiber","instance","findHostInstance_DEPRECATED","_internalFiberInstanceHandleDEV","sibling","Error","return","applyUserSelectProp","userSelect","toGestureArray","GestureDetector","props","rootViewContext","useReanimatedHook","some","firstRender","viewRef","previousViewTag","forceReattach","e","nativeEvent","onGestureHandlerStateChange","renderState","setRenderState","forceRender","onHandlersUpdate","skipConfigUpdate","needsToRebuildReanimatedEvent","refFunction","node","global","isFormsStackingContext","createElement","AnimatedWrap","children","Wrap","Component","render","child","Children","only","cloneElement","collapsable","_Reanimated$default","default","createAnimatedComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["handlers/gestures/GestureDetector.tsx"],"mappings":";AAAA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,UAAU,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AACtE,SAGEC,WAAW,EAEXC,aAAa,QACR,4DAA4D;AACnE,SAASC,UAAU,QAAqB,sEAAsE;AAC9G,SAASC,eAAe,EAAEC,iBAAiB,QAAQ,4DAA4D;AAC/G,SAASC,sBAAsB,QAAQ,8BAA8B,CAAC,CAAC;AACvE,SACEC,kCAAkC,EAClCC,YAAY,EACZC,cAAc,QAMT,gEAAgE;AACvE,SACEC,uBAAuB,QAClB,yBAAyB,CAAC,CAAC;AAClC,SACEC,mBAAmB,QAEd,wEAAwE;AAC/E,SAASC,wBAAwB,QAAQ,+DAA+D;AACxG,SAASC,6BAA6B,QAAQ,oEAAoE;AAClH,SAASC,4BAA4B,QAAQ,mEAAmE;AAChH,SACEC,sBAAsB,EACtBC,kCAAkC,QAC7B,6DAA6D;AACpE,SAASC,sBAAsB,QAAQ,6DAA6D;AACpG,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,cAAc,QAAQ,iDAAiD;AAEhF,SAASC,UAAU,QAAQ,6CAA6C;AACxE,SACEC,QAAQ,EACRC,SAAS,EACTC,oBAAoB,EACpBC,UAAU,QACL,wCAAwC;AAC/C,SAASC,oBAAoB,QAAQ,uDAAuD;AAC5F,SAASC,QAAQ,QAAQ,cAAc;AAEvC,SAASC,qBAAqB,QAAQ,kEAAkE;AACxG,SAASC,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SAAS,CAI/B;EACDC,MAAMA,CAAA,EAAG;IACP,IAAI;MACF;MACA;MACA;MACA;MACA;MACA,MAAMC,KAAU,GAAGpM,KAAK,CAACqM,QAAQ,CAACC,IAAI,CAAC,IAAI,CAAC7B,KAAK,CAACuB,QAAQ,CAAC;MAC3D,oBAAOhM,KAAK,CAACuM,YAAY,CACvBH,KAAK,EACL;QAAEI,WAAW,EAAE;MAAM,CAAC;MACtB;MACAJ,KAAK,CAAC3B,KAAK,CAACuB,QACd,CAAC;IACH,CAAC,CAAC,OAAOf,CAAC,EAAE;MACV,MAAM,IAAId,KAAK,CACbvI,UAAU,CACP,2KACH,CACF,CAAC;IACH;EACF;AACF;AAEA,MAAMmK,YAAY,GAAG,CAAAxL,UAAU,aAAVA,UAAU,gBAAAkM,mBAAA,GAAVlM,UAAU,CAAEmM,OAAO,cAAAD,mBAAA,uBAAnBA,mBAAA,CAAqBE,uBAAuB,CAACV,IAAI,CAAC,KAAIA,IAAI"}
|
package/lib/module/index.js
CHANGED
@@ -1,25 +1,167 @@
|
|
1
|
+
global.isFormsStackingContext = () => true; // TODO: add using JSI
|
2
|
+
|
1
3
|
import { initialize } from './init';
|
2
|
-
|
3
|
-
export {
|
4
|
-
export {
|
4
|
+
|
5
|
+
// export { Directions } from './Directions';
|
6
|
+
export { State } from 'react-native-gesture-handler/src/State';
|
7
|
+
// export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
|
5
8
|
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
9
|
+
// export type {
|
10
|
+
// // event types
|
11
|
+
// GestureEvent,
|
12
|
+
// HandlerStateChangeEvent,
|
13
|
+
// // event payloads types
|
14
|
+
// GestureEventPayload,
|
15
|
+
// HandlerStateChangeEventPayload,
|
16
|
+
// // pointer events
|
17
|
+
// GestureTouchEvent,
|
18
|
+
// TouchData,
|
19
|
+
// // new api event types
|
20
|
+
// GestureUpdateEvent,
|
21
|
+
// GestureStateChangeEvent,
|
22
|
+
// } from './handlers/gestureHandlerCommon';
|
23
|
+
|
24
|
+
// export type {
|
25
|
+
// TapGestureHandlerEventPayload,
|
26
|
+
// TapGestureHandlerProps,
|
27
|
+
// } from './handlers/TapGestureHandler';
|
28
|
+
// export type {
|
29
|
+
// ForceTouchGestureHandlerEventPayload,
|
30
|
+
// ForceTouchGestureHandlerProps,
|
31
|
+
// } from './handlers/ForceTouchGestureHandler';
|
32
|
+
// export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
|
33
|
+
// export type {
|
34
|
+
// LongPressGestureHandlerEventPayload,
|
35
|
+
// LongPressGestureHandlerProps,
|
36
|
+
// } from './handlers/LongPressGestureHandler';
|
37
|
+
// export type {
|
38
|
+
// PanGestureHandlerEventPayload,
|
39
|
+
// PanGestureHandlerProps,
|
40
|
+
// } from './handlers/PanGestureHandler';
|
41
|
+
// export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
|
42
|
+
// export type {
|
43
|
+
// PinchGestureHandlerEventPayload,
|
44
|
+
// PinchGestureHandlerProps,
|
45
|
+
// } from './handlers/PinchGestureHandler';
|
46
|
+
// export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
|
47
|
+
// export type {
|
48
|
+
// RotationGestureHandlerEventPayload,
|
49
|
+
// RotationGestureHandlerProps,
|
50
|
+
// } from './handlers/RotationGestureHandler';
|
51
|
+
// export type {
|
52
|
+
// FlingGestureHandlerEventPayload,
|
53
|
+
// FlingGestureHandlerProps,
|
54
|
+
// } from './handlers/FlingGestureHandler';
|
6
55
|
export { TapGestureHandler } from './handlers/TapGestureHandler';
|
7
|
-
export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
8
|
-
export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
|
56
|
+
// export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
57
|
+
// export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
|
9
58
|
export { PanGestureHandler } from './handlers/PanGestureHandler';
|
10
|
-
export { PinchGestureHandler } from './handlers/PinchGestureHandler';
|
11
|
-
export { RotationGestureHandler } from './handlers/RotationGestureHandler';
|
12
|
-
export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
13
|
-
export { default as createNativeWrapper } from './handlers/createNativeWrapper';
|
59
|
+
// export { PinchGestureHandler } from './handlers/PinchGestureHandler';
|
60
|
+
// export { RotationGestureHandler } from './handlers/RotationGestureHandler';
|
61
|
+
// export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
62
|
+
// export { default as createNativeWrapper } from './handlers/createNativeWrapper';
|
63
|
+
// export type {
|
64
|
+
// NativeViewGestureHandlerPayload,
|
65
|
+
// NativeViewGestureHandlerProps,
|
66
|
+
// } from './handlers/NativeViewGestureHandler';
|
14
67
|
export { GestureDetector } from './handlers/gestures/GestureDetector';
|
15
|
-
export { GestureObjects as Gesture } from '
|
16
|
-
export {
|
17
|
-
export {
|
18
|
-
export {
|
19
|
-
export {
|
20
|
-
export {
|
21
|
-
export {
|
22
|
-
export {
|
23
|
-
export {
|
68
|
+
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
69
|
+
// export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
70
|
+
// export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
71
|
+
// export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
72
|
+
// export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
73
|
+
// export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
74
|
+
// export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
75
|
+
// export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
76
|
+
// export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
77
|
+
// export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
78
|
+
// export type {
|
79
|
+
// ComposedGestureType as ComposedGesture,
|
80
|
+
// RaceGestureType as RaceGesture,
|
81
|
+
// SimultaneousGestureType as SimultaneousGesture,
|
82
|
+
// ExclusiveGestureType as ExclusiveGesture,
|
83
|
+
// } from './handlers/gestures/gestureComposition';
|
84
|
+
// export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
85
|
+
// export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
86
|
+
// export type {
|
87
|
+
// RawButtonProps,
|
88
|
+
// BaseButtonProps,
|
89
|
+
// RectButtonProps,
|
90
|
+
// BorderlessButtonProps,
|
91
|
+
// } from './components/GestureButtons';
|
92
|
+
// export {
|
93
|
+
// RawButton,
|
94
|
+
// BaseButton,
|
95
|
+
// RectButton,
|
96
|
+
// BorderlessButton,
|
97
|
+
// PureNativeButton,
|
98
|
+
// } from './components/GestureButtons';
|
99
|
+
export {
|
100
|
+
// TouchableHighlight,
|
101
|
+
// TouchableNativeFeedback,
|
102
|
+
TouchableOpacity, TouchableWithoutFeedback } from './components/touchables';
|
103
|
+
// export {
|
104
|
+
// ScrollView,
|
105
|
+
// Switch,
|
106
|
+
// TextInput,
|
107
|
+
// DrawerLayoutAndroid,
|
108
|
+
// FlatList,
|
109
|
+
// RefreshControl,
|
110
|
+
// } from './components/GestureComponents';
|
111
|
+
// export type {
|
112
|
+
// //events
|
113
|
+
// GestureHandlerGestureEvent,
|
114
|
+
// GestureHandlerStateChangeEvent,
|
115
|
+
// //event payloads
|
116
|
+
// GestureHandlerGestureEventNativeEvent,
|
117
|
+
// GestureHandlerStateChangeNativeEvent,
|
118
|
+
// NativeViewGestureHandlerGestureEvent,
|
119
|
+
// NativeViewGestureHandlerStateChangeEvent,
|
120
|
+
// TapGestureHandlerGestureEvent,
|
121
|
+
// TapGestureHandlerStateChangeEvent,
|
122
|
+
// ForceTouchGestureHandlerGestureEvent,
|
123
|
+
// ForceTouchGestureHandlerStateChangeEvent,
|
124
|
+
// LongPressGestureHandlerGestureEvent,
|
125
|
+
// LongPressGestureHandlerStateChangeEvent,
|
126
|
+
// PanGestureHandlerGestureEvent,
|
127
|
+
// PanGestureHandlerStateChangeEvent,
|
128
|
+
// PinchGestureHandlerGestureEvent,
|
129
|
+
// PinchGestureHandlerStateChangeEvent,
|
130
|
+
// RotationGestureHandlerGestureEvent,
|
131
|
+
// RotationGestureHandlerStateChangeEvent,
|
132
|
+
// FlingGestureHandlerGestureEvent,
|
133
|
+
// FlingGestureHandlerStateChangeEvent,
|
134
|
+
// // handlers props
|
135
|
+
// NativeViewGestureHandlerProperties,
|
136
|
+
// TapGestureHandlerProperties,
|
137
|
+
// LongPressGestureHandlerProperties,
|
138
|
+
// PanGestureHandlerProperties,
|
139
|
+
// PinchGestureHandlerProperties,
|
140
|
+
// RotationGestureHandlerProperties,
|
141
|
+
// FlingGestureHandlerProperties,
|
142
|
+
// ForceTouchGestureHandlerProperties,
|
143
|
+
// // buttons props
|
144
|
+
// RawButtonProperties,
|
145
|
+
// BaseButtonProperties,
|
146
|
+
// RectButtonProperties,
|
147
|
+
// BorderlessButtonProperties,
|
148
|
+
// } from './handlers/gestureHandlerTypesCompat';
|
149
|
+
|
150
|
+
// export { default as Swipeable } from './components/Swipeable';
|
151
|
+
// export type {
|
152
|
+
// DrawerLayoutProps,
|
153
|
+
// DrawerPosition,
|
154
|
+
// DrawerState,
|
155
|
+
// DrawerType,
|
156
|
+
// DrawerLockMode,
|
157
|
+
// DrawerKeyboardDismissMode,
|
158
|
+
// } from './components/DrawerLayout';
|
159
|
+
// export { default as DrawerLayout } from './components/DrawerLayout';
|
160
|
+
|
161
|
+
// export {
|
162
|
+
// enableExperimentalWebImplementation,
|
163
|
+
// enableLegacyWebImplementation,
|
164
|
+
// } from './EnableNewWebImplementation';
|
165
|
+
|
24
166
|
initialize();
|
25
167
|
//# sourceMappingURL=index.js.map
|
package/lib/module/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"names":["global","isFormsStackingContext","initialize","State","default","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","GestureDetector","GestureObjects","Gesture","TouchableOpacity","TouchableWithoutFeedback"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":"AAIAA,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAE5C,SAASC,UAAU,QAAQ,QAAQ;;AAEnC;AACA,SAASC,KAAK,QAAQ,wCAAwC;AAC9D;AACA,SAASC,OAAO,IAAIC,sBAAsB,QAAQ,qCAAqC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,iBAAiB,QAAQ,8BAA8B;AAChE;AACA;AACA,SAASC,iBAAiB,QAAQ,8BAA8B;AAChE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,eAAe,QAAQ,qCAAqC;AACrE,SAASC,cAAc,IAAIC,OAAO,QAAQ,mEAAmE;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACAC,gBAAgB,EAChBC,wBAAwB,QACnB,yBAAyB;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEAV,UAAU,CAAC,CAAC"}
|
package/lib/module/init.js
CHANGED
@@ -1,12 +1,13 @@
|
|
1
|
-
import { startListening } from '
|
2
|
-
import RNGestureHandlerModule from './RNGestureHandlerModule';
|
3
|
-
import { isFabric } from '
|
1
|
+
import { startListening } from 'react-native-gesture-handler/src/handlers/gestures/eventReceiver';
|
2
|
+
import { RNGestureHandlerModule } from './RNGestureHandlerModule';
|
3
|
+
import { isFabric } from 'react-native-gesture-handler/src/utils';
|
4
4
|
let fabricInitialized = false;
|
5
5
|
export function initialize() {
|
6
6
|
startListening();
|
7
|
-
}
|
8
|
-
// method during render of GestureHandlerRootView
|
7
|
+
}
|
9
8
|
|
9
|
+
// since isFabric() may give wrong results before the first render, we call this
|
10
|
+
// method during render of GestureHandlerRootView
|
10
11
|
export function maybeInitializeFabric() {
|
11
12
|
if (isFabric() && !fabricInitialized) {
|
12
13
|
RNGestureHandlerModule.install();
|
package/lib/module/init.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"names":["startListening","RNGestureHandlerModule","isFabric","fabricInitialized","initialize","maybeInitializeFabric","install"],"sourceRoot":"..\\..\\src","sources":["init.ts"],"mappings":"AAAA,SAASA,cAAc,QAAQ,kEAAkE;AACjG,SAASC,sBAAsB,QAAQ,0BAA0B;AACjE,SAASC,QAAQ,QAAQ,wCAAwC;AAEjE,IAAIC,iBAAiB,GAAG,KAAK;AAE7B,OAAO,SAASC,UAAUA,CAAA,EAAG;EAC3BJ,cAAc,CAAC,CAAC;AAClB;;AAEA;AACA;AACA,OAAO,SAASK,qBAAqBA,CAAA,EAAG;EACtC,IAAIH,QAAQ,CAAC,CAAC,IAAI,CAACC,iBAAiB,EAAE;IACpCF,sBAAsB,CAACK,OAAO,CAAC,CAAC;IAChCH,iBAAiB,GAAG,IAAI;EAC1B;AACF"}
|
@@ -1,13 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
dropGestureHandler: (handlerTag: number) => void;
|
9
|
-
install: () => void;
|
10
|
-
flushOperations: () => void;
|
11
|
-
};
|
12
|
-
declare const _default: RNGestureHandlerModuleProps;
|
13
|
-
export default _default;
|
1
|
+
import { TurboModule } from 'react-native';
|
2
|
+
import { RNGestureHandlerModuleProps } from "react-native-gesture-handler/src/RNGestureHandlerModule";
|
3
|
+
interface Spec extends TurboModule, RNGestureHandlerModuleProps {
|
4
|
+
}
|
5
|
+
export declare const RNGestureHandlerModule: Spec;
|
6
|
+
export {};
|
7
|
+
//# sourceMappingURL=RNGestureHandlerModule.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../src/RNGestureHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAsB,MAAM,cAAc,CAAC;AAC9D,OAAO,EAAC,2BAA2B,EAAC,MAAM,yDAAyD,CAAA;AAEnG,UAAU,IAAK,SAAQ,WAAW,EAAE,2BAA2B;CAAG;AAElE,eAAO,MAAM,sBAAsB,MAA2D,CAAC"}
|