@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":["ALLOWED_PROPS","baseGestureHandlerWithMonitorProps","tapGestureHandlerProps","panGestureHandlerProps","panGestureHandlerCustomNativeProps","longPressGestureHandlerProps","forceTouchGestureHandlerProps","flingGestureHandlerProps","hoverGestureHandlerProps","nativeViewGestureHandlerProps","convertToHandlerTag","ref","BaseGesture","handlerTag","current","extractValidHandlerTags","interactionGroup","map","filter","tag","dropHandlers","preparedGesture","handler","config","RNGestureHandlerModule","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","ActionType","REANIMATED_WORKLET","JS_FUNCTION_NEW_API","Platform","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","CALLBACK_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","TouchEventType","UNDEFINED","runWorklet","args","warn","useAnimatedGesture","needsRebuild","Reanimated","sharedHandlersCallbacks","useSharedValue","lastUpdateEvent","stateControllers","callback","currentCallback","State","UNDETERMINED","state","ACTIVE","undefined","FAILED","CANCELLED","GestureStateManager","create","changeEventCalculator","useEvent","animatedEventHandler","validateDetectorChildren","__DEV__","REACT_NATIVE_VERSION","wrapType","minor","major","_reactInternals","elementType","_reactInternalFiber","instance","RNRenderer","findHostInstance_DEPRECATED","_internalFiberInstanceHandleDEV","sibling","Error","return","applyUserSelectProp","userSelect","toGestureArray","GestureDetector","props","rootViewContext","GestureHandlerRootViewContext","useReanimatedHook","some","firstRender","viewRef","previousViewTag","forceReattach","onGestureHandlerEvent","e","nativeEvent","onGestureHandlerStateChange","renderState","setRenderState","forceRender","React","useRef","onHandlersUpdate","skipConfigUpdate","needsToRebuildReanimatedEvent","refFunction","node","global","isFormsStackingContext","children","Wrap","Component","render","child","Children","only","cloneElement","collapsable","AnimatedWrap","default","createAnimatedComponent"],"mappings":";;;;;;;AAAA;;AACA;;AAOA;;AACA;;AACA;;AACA;;AAWA;;AAIA;;AACA;;AACA;;AACA;;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,CAAC2G;AAFzC,OAGGqB,KAAK,CAACyB,QAHT,CADF;AAOD,GARD,MAQO;AACL,wBAAO,6BAAC,IAAD;AAAM,MAAA,GAAG,EAAEJ;AAAX,OAAyBrB,KAAK,CAACyB,QAA/B,CAAP;AACD;AACF,CA5KM;;;;AA8KP,MAAMC,IAAN,SAAmBV,eAAMW,SAAzB,CAIG;AACDC,EAAAA,MAAM,GAAG;AACP,QAAI;AACF;AACA;AACA;AACA;AACA;AACA,YAAMC,KAAU,GAAGb,eAAMc,QAAN,CAAeC,IAAf,CAAoB,KAAK/B,KAAL,CAAWyB,QAA/B,CAAnB;;AACA,0BAAOT,eAAMgB,YAAN,CACLH,KADK,EAEL;AAAEI,QAAAA,WAAW,EAAE;AAAf,OAFK,EAGL;AACAJ,MAAAA,KAAK,CAAC7B,KAAN,CAAYyB,QAJP,CAAP;AAMD,KAbD,CAaE,OAAOf,CAAP,EAAU;AACV,YAAM,IAAIhB,KAAJ,CACJ,uBACG,2KADH,CADI,CAAN;AAKD;AACF;;AAtBA;;AAyBH,MAAMwC,YAAY,4BAAGzE,6BAAH,aAAGA,6BAAH,8CAAGA,8BAAY0E,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","_interopRequireWildcard","require","_gesture","_reanimatedWrapper","_handlersRegistry","_RNGestureHandlerModule","_gestureHandlerCommon","_gestureHandlerCommon2","_gestureStateManager","_FlingGestureHandler","_ForceTouchGestureHandler","_LongPressGestureHandler","_PanGestureHandler","_TapGestureHandler","_State","_TouchEventType","_ActionType","_utils","_getShadowNodeFromRef","_reactNative","_eventReceiver","_RNRenderer","_EnableNewWebImplementation","_NativeViewGestureHandler","_GestureHandlerRootViewContext","_interopRequireDefault","_Reanimated$default","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","ALLOWED_PROPS","baseGestureHandlerWithMonitorProps","tapGestureHandlerProps","panGestureHandlerProps","panGestureHandlerCustomNativeProps","longPressGestureHandlerProps","forceTouchGestureHandlerProps","flingGestureHandlerProps","nativeViewGestureHandlerProps","convertToHandlerTag","ref","BaseGesture","handlerTag","_ref$current","current","extractValidHandlerTags","interactionGroup","_interactionGroup$map","map","filter","tag","dropHandlers","preparedGesture","handler","config","RNGestureHandlerModule","dropGestureHandler","unregisterHandler","testId","scheduleFlushOperations","checkGestureCallbacksForWorklets","gesture","runOnJS","areSomeNotWorklets","handlers","isWorklet","includes","areSomeWorklets","console","error","tagMessage","attachHandlers","gestureConfig","viewTag","webEventHandlersRef","mountedRef","firstExecution","initialize","queueMicrotask","prepare","createGestureHandler","handlerName","filterConfig","registerHandler","requireToFail","simultaneousWith","updateGestureHandler","simultaneousHandlers","waitFor","actionType","shouldUseReanimated","ActionType","REANIMATED_WORKLET","JS_FUNCTION_NEW_API","Platform","OS","attachGestureHandler","JS_FUNCTION_OLD_API","animatedHandlers","isAnimatedGesture","g","value","updateHandlers","length","previousHandlersValue","newHandlersValue","shouldUpdateSharedValue","gestureId","needsToReattach","isStateChangeEvent","event","oldState","isTouchEvent","eventType","getHandler","type","CALLBACK_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","TouchEventType","UNDEFINED","runWorklet","args","warn","useAnimatedGesture","needsRebuild","Reanimated","sharedHandlersCallbacks","useSharedValue","lastUpdateEvent","stateControllers","callback","currentCallback","State","UNDETERMINED","state","ACTIVE","undefined","FAILED","CANCELLED","GestureStateManager","create","changeEventCalculator","_gesture$changeEventC","useEvent","animatedEventHandler","validateDetectorChildren","__DEV__","wrapType","REACT_NATIVE_VERSION","minor","major","_reactInternals","elementType","_reactInternalFiber","instance","RNRenderer","findHostInstance_DEPRECATED","_internalFiberInstanceHandleDEV","sibling","Error","return","applyUserSelectProp","userSelect","toGestureArray","GestureDetector","props","rootViewContext","useContext","GestureHandlerRootViewContext","isJestEnv","useReanimatedHook","some","useRef","firstRender","viewRef","previousViewTag","forceReattach","onGestureHandlerEvent","nativeEvent","onGestureHandlerStateChange","isNewWebImplementationEnabled","renderState","setRenderState","useState","forceRender","React","onHandlersUpdate","skipConfigUpdate","findNodeHandle","needsToRebuildReanimatedEvent","useEffect","refFunction","isFabric","node","getShadowNodeFromRef","global","isFormsStackingContext","createElement","AnimatedWrap","children","Wrap","exports","Component","render","child","Children","only","cloneElement","collapsable","createAnimatedComponent"],"sourceRoot":"..\\..\\..\\..\\src","sources":["handlers/gestures/GestureDetector.tsx"],"mappings":";;;;;;AAKA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAOA,IAAAE,kBAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AACA,IAAAK,qBAAA,GAAAL,OAAA;AAUA,IAAAM,sBAAA,GAAAN,OAAA;AAGA,IAAAO,oBAAA,GAAAP,OAAA;AAIA,IAAAQ,oBAAA,GAAAR,OAAA;AACA,IAAAS,yBAAA,GAAAT,OAAA;AACA,IAAAU,wBAAA,GAAAV,OAAA;AACA,IAAAW,kBAAA,GAAAX,OAAA;AAIA,IAAAY,kBAAA,GAAAZ,OAAA;AACA,IAAAa,MAAA,GAAAb,OAAA;AACA,IAAAc,eAAA,GAAAd,OAAA;AAEA,IAAAe,WAAA,GAAAf,OAAA;AACA,IAAAgB,MAAA,GAAAhB,OAAA;AAMA,IAAAiB,qBAAA,GAAAjB,OAAA;AACA,IAAAkB,YAAA,GAAAlB,OAAA;AAEA,IAAAmB,cAAA,GAAAnB,OAAA;AACA,IAAAoB,WAAA,GAAApB,OAAA;AACA,IAAAqB,2BAAA,GAAArB,OAAA;AACA,IAAAsB,yBAAA,GAAAtB,OAAA;AACA,IAAAuB,8BAAA,GAAAC,sBAAA,CAAAxB,OAAA;AAA2G,IAAAyB,mBAAA;AA1D3G;AACA;AACA;AACA;AAYuE;AAarC;AAAA,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA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C3D,oBAAOd,cAAK,CAACsB,YAAY,CACvBH,KAAK,EACL;QAAEI,WAAW,EAAE;MAAM,CAAC;MACtB;MACAJ,KAAK,CAACvC,KAAK,CAACkC,QACd,CAAC;IACH,CAAC,CAAC,OAAO/M,CAAC,EAAE;MACV,MAAM,IAAIuK,KAAK,CACb,IAAA7G,iBAAU,EACP,2KACH,CACF,CAAC;IACH;EACF;AACF;AAEA,MAAMoJ,YAAY,GAAG,CAAAzE,6BAAU,aAAVA,6BAAU,gBAAA1I,mBAAA,GAAV0I,6BAAU,CAAEvI,OAAO,cAAAH,mBAAA,uBAAnBA,mBAAA,CAAqB8N,uBAAuB,CAACT,IAAI,CAAC,KAAIA,IAAI"}
|
package/lib/commonjs/index.js
CHANGED
@@ -3,22 +3,16 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
Object.defineProperty(exports, "
|
7
|
-
enumerable: true,
|
8
|
-
get: function () {
|
9
|
-
return _Directions.Directions;
|
10
|
-
}
|
11
|
-
});
|
12
|
-
Object.defineProperty(exports, "State", {
|
6
|
+
Object.defineProperty(exports, "Gesture", {
|
13
7
|
enumerable: true,
|
14
8
|
get: function () {
|
15
|
-
return
|
9
|
+
return _gestureObjects.GestureObjects;
|
16
10
|
}
|
17
11
|
});
|
18
|
-
Object.defineProperty(exports, "
|
12
|
+
Object.defineProperty(exports, "GestureDetector", {
|
19
13
|
enumerable: true,
|
20
14
|
get: function () {
|
21
|
-
return
|
15
|
+
return _GestureDetector.GestureDetector;
|
22
16
|
}
|
23
17
|
});
|
24
18
|
Object.defineProperty(exports, "GestureHandlerRootView", {
|
@@ -27,112 +21,22 @@ Object.defineProperty(exports, "GestureHandlerRootView", {
|
|
27
21
|
return _GestureHandlerRootView.default;
|
28
22
|
}
|
29
23
|
});
|
30
|
-
Object.defineProperty(exports, "TapGestureHandler", {
|
31
|
-
enumerable: true,
|
32
|
-
get: function () {
|
33
|
-
return _TapGestureHandler.TapGestureHandler;
|
34
|
-
}
|
35
|
-
});
|
36
|
-
Object.defineProperty(exports, "ForceTouchGestureHandler", {
|
37
|
-
enumerable: true,
|
38
|
-
get: function () {
|
39
|
-
return _ForceTouchGestureHandler.ForceTouchGestureHandler;
|
40
|
-
}
|
41
|
-
});
|
42
|
-
Object.defineProperty(exports, "LongPressGestureHandler", {
|
43
|
-
enumerable: true,
|
44
|
-
get: function () {
|
45
|
-
return _LongPressGestureHandler.LongPressGestureHandler;
|
46
|
-
}
|
47
|
-
});
|
48
24
|
Object.defineProperty(exports, "PanGestureHandler", {
|
49
25
|
enumerable: true,
|
50
26
|
get: function () {
|
51
27
|
return _PanGestureHandler.PanGestureHandler;
|
52
28
|
}
|
53
29
|
});
|
54
|
-
Object.defineProperty(exports, "
|
55
|
-
enumerable: true,
|
56
|
-
get: function () {
|
57
|
-
return _PinchGestureHandler.PinchGestureHandler;
|
58
|
-
}
|
59
|
-
});
|
60
|
-
Object.defineProperty(exports, "RotationGestureHandler", {
|
61
|
-
enumerable: true,
|
62
|
-
get: function () {
|
63
|
-
return _RotationGestureHandler.RotationGestureHandler;
|
64
|
-
}
|
65
|
-
});
|
66
|
-
Object.defineProperty(exports, "FlingGestureHandler", {
|
67
|
-
enumerable: true,
|
68
|
-
get: function () {
|
69
|
-
return _FlingGestureHandler.FlingGestureHandler;
|
70
|
-
}
|
71
|
-
});
|
72
|
-
Object.defineProperty(exports, "createNativeWrapper", {
|
73
|
-
enumerable: true,
|
74
|
-
get: function () {
|
75
|
-
return _createNativeWrapper.default;
|
76
|
-
}
|
77
|
-
});
|
78
|
-
Object.defineProperty(exports, "GestureDetector", {
|
79
|
-
enumerable: true,
|
80
|
-
get: function () {
|
81
|
-
return _GestureDetector.GestureDetector;
|
82
|
-
}
|
83
|
-
});
|
84
|
-
Object.defineProperty(exports, "Gesture", {
|
85
|
-
enumerable: true,
|
86
|
-
get: function () {
|
87
|
-
return _gestureObjects.GestureObjects;
|
88
|
-
}
|
89
|
-
});
|
90
|
-
Object.defineProperty(exports, "NativeViewGestureHandler", {
|
91
|
-
enumerable: true,
|
92
|
-
get: function () {
|
93
|
-
return _NativeViewGestureHandler.NativeViewGestureHandler;
|
94
|
-
}
|
95
|
-
});
|
96
|
-
Object.defineProperty(exports, "RawButton", {
|
97
|
-
enumerable: true,
|
98
|
-
get: function () {
|
99
|
-
return _GestureButtons.RawButton;
|
100
|
-
}
|
101
|
-
});
|
102
|
-
Object.defineProperty(exports, "BaseButton", {
|
103
|
-
enumerable: true,
|
104
|
-
get: function () {
|
105
|
-
return _GestureButtons.BaseButton;
|
106
|
-
}
|
107
|
-
});
|
108
|
-
Object.defineProperty(exports, "RectButton", {
|
109
|
-
enumerable: true,
|
110
|
-
get: function () {
|
111
|
-
return _GestureButtons.RectButton;
|
112
|
-
}
|
113
|
-
});
|
114
|
-
Object.defineProperty(exports, "BorderlessButton", {
|
115
|
-
enumerable: true,
|
116
|
-
get: function () {
|
117
|
-
return _GestureButtons.BorderlessButton;
|
118
|
-
}
|
119
|
-
});
|
120
|
-
Object.defineProperty(exports, "PureNativeButton", {
|
121
|
-
enumerable: true,
|
122
|
-
get: function () {
|
123
|
-
return _GestureButtons.PureNativeButton;
|
124
|
-
}
|
125
|
-
});
|
126
|
-
Object.defineProperty(exports, "TouchableHighlight", {
|
30
|
+
Object.defineProperty(exports, "State", {
|
127
31
|
enumerable: true,
|
128
32
|
get: function () {
|
129
|
-
return
|
33
|
+
return _State.State;
|
130
34
|
}
|
131
35
|
});
|
132
|
-
Object.defineProperty(exports, "
|
36
|
+
Object.defineProperty(exports, "TapGestureHandler", {
|
133
37
|
enumerable: true,
|
134
38
|
get: function () {
|
135
|
-
return
|
39
|
+
return _TapGestureHandler.TapGestureHandler;
|
136
40
|
}
|
137
41
|
});
|
138
42
|
Object.defineProperty(exports, "TouchableOpacity", {
|
@@ -147,120 +51,173 @@ Object.defineProperty(exports, "TouchableWithoutFeedback", {
|
|
147
51
|
return _touchables.TouchableWithoutFeedback;
|
148
52
|
}
|
149
53
|
});
|
150
|
-
Object.defineProperty(exports, "ScrollView", {
|
151
|
-
enumerable: true,
|
152
|
-
get: function () {
|
153
|
-
return _GestureComponents.ScrollView;
|
154
|
-
}
|
155
|
-
});
|
156
|
-
Object.defineProperty(exports, "Switch", {
|
157
|
-
enumerable: true,
|
158
|
-
get: function () {
|
159
|
-
return _GestureComponents.Switch;
|
160
|
-
}
|
161
|
-
});
|
162
|
-
Object.defineProperty(exports, "TextInput", {
|
163
|
-
enumerable: true,
|
164
|
-
get: function () {
|
165
|
-
return _GestureComponents.TextInput;
|
166
|
-
}
|
167
|
-
});
|
168
|
-
Object.defineProperty(exports, "DrawerLayoutAndroid", {
|
169
|
-
enumerable: true,
|
170
|
-
get: function () {
|
171
|
-
return _GestureComponents.DrawerLayoutAndroid;
|
172
|
-
}
|
173
|
-
});
|
174
|
-
Object.defineProperty(exports, "FlatList", {
|
175
|
-
enumerable: true,
|
176
|
-
get: function () {
|
177
|
-
return _GestureComponents.FlatList;
|
178
|
-
}
|
179
|
-
});
|
180
|
-
Object.defineProperty(exports, "RefreshControl", {
|
181
|
-
enumerable: true,
|
182
|
-
get: function () {
|
183
|
-
return _GestureComponents.RefreshControl;
|
184
|
-
}
|
185
|
-
});
|
186
|
-
Object.defineProperty(exports, "HoverEffect", {
|
187
|
-
enumerable: true,
|
188
|
-
get: function () {
|
189
|
-
return _hoverGesture.HoverEffect;
|
190
|
-
}
|
191
|
-
});
|
192
|
-
Object.defineProperty(exports, "Swipeable", {
|
193
|
-
enumerable: true,
|
194
|
-
get: function () {
|
195
|
-
return _Swipeable.default;
|
196
|
-
}
|
197
|
-
});
|
198
|
-
Object.defineProperty(exports, "DrawerLayout", {
|
199
|
-
enumerable: true,
|
200
|
-
get: function () {
|
201
|
-
return _DrawerLayout.default;
|
202
|
-
}
|
203
|
-
});
|
204
|
-
Object.defineProperty(exports, "enableExperimentalWebImplementation", {
|
205
|
-
enumerable: true,
|
206
|
-
get: function () {
|
207
|
-
return _EnableNewWebImplementation.enableExperimentalWebImplementation;
|
208
|
-
}
|
209
|
-
});
|
210
|
-
Object.defineProperty(exports, "enableLegacyWebImplementation", {
|
211
|
-
enumerable: true,
|
212
|
-
get: function () {
|
213
|
-
return _EnableNewWebImplementation.enableLegacyWebImplementation;
|
214
|
-
}
|
215
|
-
});
|
216
|
-
|
217
54
|
var _init = require("./init");
|
218
|
-
|
219
|
-
var _Directions = require("./Directions");
|
220
|
-
|
221
|
-
var _State = require("./State");
|
222
|
-
|
223
|
-
var _gestureHandlerRootHOC = _interopRequireDefault(require("./components/gestureHandlerRootHOC"));
|
224
|
-
|
55
|
+
var _State = require("react-native-gesture-handler/src/State");
|
225
56
|
var _GestureHandlerRootView = _interopRequireDefault(require("./components/GestureHandlerRootView"));
|
226
|
-
|
227
57
|
var _TapGestureHandler = require("./handlers/TapGestureHandler");
|
228
|
-
|
229
|
-
var _ForceTouchGestureHandler = require("./handlers/ForceTouchGestureHandler");
|
230
|
-
|
231
|
-
var _LongPressGestureHandler = require("./handlers/LongPressGestureHandler");
|
232
|
-
|
233
58
|
var _PanGestureHandler = require("./handlers/PanGestureHandler");
|
234
|
-
|
235
|
-
var _PinchGestureHandler = require("./handlers/PinchGestureHandler");
|
236
|
-
|
237
|
-
var _RotationGestureHandler = require("./handlers/RotationGestureHandler");
|
238
|
-
|
239
|
-
var _FlingGestureHandler = require("./handlers/FlingGestureHandler");
|
240
|
-
|
241
|
-
var _createNativeWrapper = _interopRequireDefault(require("./handlers/createNativeWrapper"));
|
242
|
-
|
243
59
|
var _GestureDetector = require("./handlers/gestures/GestureDetector");
|
244
|
-
|
245
|
-
var _gestureObjects = require("./handlers/gestures/gestureObjects");
|
246
|
-
|
247
|
-
var _NativeViewGestureHandler = require("./handlers/NativeViewGestureHandler");
|
248
|
-
|
249
|
-
var _GestureButtons = require("./components/GestureButtons");
|
250
|
-
|
60
|
+
var _gestureObjects = require("react-native-gesture-handler/src/handlers/gestures/gestureObjects");
|
251
61
|
var _touchables = require("./components/touchables");
|
252
|
-
|
253
|
-
var _GestureComponents = require("./components/GestureComponents");
|
254
|
-
|
255
|
-
var _hoverGesture = require("./handlers/gestures/hoverGesture");
|
256
|
-
|
257
|
-
var _Swipeable = _interopRequireDefault(require("./components/Swipeable"));
|
258
|
-
|
259
|
-
var _DrawerLayout = _interopRequireDefault(require("./components/DrawerLayout"));
|
260
|
-
|
261
|
-
var _EnableNewWebImplementation = require("./EnableNewWebImplementation");
|
262
|
-
|
263
62
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
63
|
+
global.isFormsStackingContext = () => true; // TODO: add using JSI
|
64
|
+
|
65
|
+
// export { Directions } from './Directions';
|
66
|
+
|
67
|
+
// export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
|
68
|
+
|
69
|
+
// export type {
|
70
|
+
// // event types
|
71
|
+
// GestureEvent,
|
72
|
+
// HandlerStateChangeEvent,
|
73
|
+
// // event payloads types
|
74
|
+
// GestureEventPayload,
|
75
|
+
// HandlerStateChangeEventPayload,
|
76
|
+
// // pointer events
|
77
|
+
// GestureTouchEvent,
|
78
|
+
// TouchData,
|
79
|
+
// // new api event types
|
80
|
+
// GestureUpdateEvent,
|
81
|
+
// GestureStateChangeEvent,
|
82
|
+
// } from './handlers/gestureHandlerCommon';
|
83
|
+
|
84
|
+
// export type {
|
85
|
+
// TapGestureHandlerEventPayload,
|
86
|
+
// TapGestureHandlerProps,
|
87
|
+
// } from './handlers/TapGestureHandler';
|
88
|
+
// export type {
|
89
|
+
// ForceTouchGestureHandlerEventPayload,
|
90
|
+
// ForceTouchGestureHandlerProps,
|
91
|
+
// } from './handlers/ForceTouchGestureHandler';
|
92
|
+
// export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
|
93
|
+
// export type {
|
94
|
+
// LongPressGestureHandlerEventPayload,
|
95
|
+
// LongPressGestureHandlerProps,
|
96
|
+
// } from './handlers/LongPressGestureHandler';
|
97
|
+
// export type {
|
98
|
+
// PanGestureHandlerEventPayload,
|
99
|
+
// PanGestureHandlerProps,
|
100
|
+
// } from './handlers/PanGestureHandler';
|
101
|
+
// export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
|
102
|
+
// export type {
|
103
|
+
// PinchGestureHandlerEventPayload,
|
104
|
+
// PinchGestureHandlerProps,
|
105
|
+
// } from './handlers/PinchGestureHandler';
|
106
|
+
// export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
|
107
|
+
// export type {
|
108
|
+
// RotationGestureHandlerEventPayload,
|
109
|
+
// RotationGestureHandlerProps,
|
110
|
+
// } from './handlers/RotationGestureHandler';
|
111
|
+
// export type {
|
112
|
+
// FlingGestureHandlerEventPayload,
|
113
|
+
// FlingGestureHandlerProps,
|
114
|
+
// } from './handlers/FlingGestureHandler';
|
115
|
+
|
116
|
+
// export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
117
|
+
// export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
|
118
|
+
|
119
|
+
// export { PinchGestureHandler } from './handlers/PinchGestureHandler';
|
120
|
+
// export { RotationGestureHandler } from './handlers/RotationGestureHandler';
|
121
|
+
// export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
122
|
+
// export { default as createNativeWrapper } from './handlers/createNativeWrapper';
|
123
|
+
// export type {
|
124
|
+
// NativeViewGestureHandlerPayload,
|
125
|
+
// NativeViewGestureHandlerProps,
|
126
|
+
// } from './handlers/NativeViewGestureHandler';
|
127
|
+
|
128
|
+
// export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
129
|
+
// export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
130
|
+
// export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
|
131
|
+
// export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
|
132
|
+
// export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
|
133
|
+
// export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
|
134
|
+
// export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
|
135
|
+
// export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
|
136
|
+
// export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
|
137
|
+
// export type {
|
138
|
+
// ComposedGestureType as ComposedGesture,
|
139
|
+
// RaceGestureType as RaceGesture,
|
140
|
+
// SimultaneousGestureType as SimultaneousGesture,
|
141
|
+
// ExclusiveGestureType as ExclusiveGesture,
|
142
|
+
// } from './handlers/gestures/gestureComposition';
|
143
|
+
// export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
|
144
|
+
// export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
145
|
+
// export type {
|
146
|
+
// RawButtonProps,
|
147
|
+
// BaseButtonProps,
|
148
|
+
// RectButtonProps,
|
149
|
+
// BorderlessButtonProps,
|
150
|
+
// } from './components/GestureButtons';
|
151
|
+
// export {
|
152
|
+
// RawButton,
|
153
|
+
// BaseButton,
|
154
|
+
// RectButton,
|
155
|
+
// BorderlessButton,
|
156
|
+
// PureNativeButton,
|
157
|
+
// } from './components/GestureButtons';
|
158
|
+
|
159
|
+
// export {
|
160
|
+
// ScrollView,
|
161
|
+
// Switch,
|
162
|
+
// TextInput,
|
163
|
+
// DrawerLayoutAndroid,
|
164
|
+
// FlatList,
|
165
|
+
// RefreshControl,
|
166
|
+
// } from './components/GestureComponents';
|
167
|
+
// export type {
|
168
|
+
// //events
|
169
|
+
// GestureHandlerGestureEvent,
|
170
|
+
// GestureHandlerStateChangeEvent,
|
171
|
+
// //event payloads
|
172
|
+
// GestureHandlerGestureEventNativeEvent,
|
173
|
+
// GestureHandlerStateChangeNativeEvent,
|
174
|
+
// NativeViewGestureHandlerGestureEvent,
|
175
|
+
// NativeViewGestureHandlerStateChangeEvent,
|
176
|
+
// TapGestureHandlerGestureEvent,
|
177
|
+
// TapGestureHandlerStateChangeEvent,
|
178
|
+
// ForceTouchGestureHandlerGestureEvent,
|
179
|
+
// ForceTouchGestureHandlerStateChangeEvent,
|
180
|
+
// LongPressGestureHandlerGestureEvent,
|
181
|
+
// LongPressGestureHandlerStateChangeEvent,
|
182
|
+
// PanGestureHandlerGestureEvent,
|
183
|
+
// PanGestureHandlerStateChangeEvent,
|
184
|
+
// PinchGestureHandlerGestureEvent,
|
185
|
+
// PinchGestureHandlerStateChangeEvent,
|
186
|
+
// RotationGestureHandlerGestureEvent,
|
187
|
+
// RotationGestureHandlerStateChangeEvent,
|
188
|
+
// FlingGestureHandlerGestureEvent,
|
189
|
+
// FlingGestureHandlerStateChangeEvent,
|
190
|
+
// // handlers props
|
191
|
+
// NativeViewGestureHandlerProperties,
|
192
|
+
// TapGestureHandlerProperties,
|
193
|
+
// LongPressGestureHandlerProperties,
|
194
|
+
// PanGestureHandlerProperties,
|
195
|
+
// PinchGestureHandlerProperties,
|
196
|
+
// RotationGestureHandlerProperties,
|
197
|
+
// FlingGestureHandlerProperties,
|
198
|
+
// ForceTouchGestureHandlerProperties,
|
199
|
+
// // buttons props
|
200
|
+
// RawButtonProperties,
|
201
|
+
// BaseButtonProperties,
|
202
|
+
// RectButtonProperties,
|
203
|
+
// BorderlessButtonProperties,
|
204
|
+
// } from './handlers/gestureHandlerTypesCompat';
|
205
|
+
|
206
|
+
// export { default as Swipeable } from './components/Swipeable';
|
207
|
+
// export type {
|
208
|
+
// DrawerLayoutProps,
|
209
|
+
// DrawerPosition,
|
210
|
+
// DrawerState,
|
211
|
+
// DrawerType,
|
212
|
+
// DrawerLockMode,
|
213
|
+
// DrawerKeyboardDismissMode,
|
214
|
+
// } from './components/DrawerLayout';
|
215
|
+
// export { default as DrawerLayout } from './components/DrawerLayout';
|
216
|
+
|
217
|
+
// export {
|
218
|
+
// enableExperimentalWebImplementation,
|
219
|
+
// enableLegacyWebImplementation,
|
220
|
+
// } from './EnableNewWebImplementation';
|
264
221
|
|
265
222
|
(0, _init.initialize)();
|
266
223
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"names":["_init","require","_State","_GestureHandlerRootView","_interopRequireDefault","_TapGestureHandler","_PanGestureHandler","_GestureDetector","_gestureObjects","_touchables","obj","__esModule","default","global","isFormsStackingContext","initialize"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AAEA,IAAAE,uBAAA,GAAAC,sBAAA,CAAAH,OAAA;AA+CA,IAAAI,kBAAA,GAAAJ,OAAA;AAGA,IAAAK,kBAAA,GAAAL,OAAA;AASA,IAAAM,gBAAA,GAAAN,OAAA;AACA,IAAAO,eAAA,GAAAP,OAAA;AA+BA,IAAAQ,WAAA,GAAAR,OAAA;AAKiC,SAAAG,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAvGjCG,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAI5C;;AAEA;;AAEA;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;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAGA;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;;AAOA;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;;AAEA,IAAAC,gBAAU,EAAC,CAAC"}
|