@react-native-oh-tpl/react-native-gesture-handler 2.12.6-1 → 2.12.9
Sign up to get free protection for your applications and to get access to all the features.
- package/harmony/gesture_handler/BuildProfile.ets +5 -0
- package/harmony/gesture_handler/build-profile.json5 +18 -7
- package/harmony/gesture_handler/hvigorfile.ts +2 -2
- package/harmony/gesture_handler/index.ets +3 -3
- package/harmony/gesture_handler/oh-package-lock.json5 +17 -0
- package/harmony/gesture_handler/oh-package.json5 +12 -11
- package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +8 -8
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +103 -34
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +21 -15
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +36 -60
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentInstance.h +27 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +32 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +22 -17
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +15 -12
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +72 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +36 -60
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +78 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +25 -0
- package/harmony/gesture_handler/src/main/ets/CircularBuffer.ts +42 -42
- package/harmony/gesture_handler/src/main/ets/Event.ts +67 -67
- package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +52 -37
- package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +663 -663
- package/harmony/gesture_handler/src/main/ets/{GestureHandlerArkUIAdapter.ets → GestureHandlerArkUIAdapter.ts} +202 -201
- package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +44 -44
- package/harmony/gesture_handler/src/main/ets/GestureHandlerOrchestrator.ts +280 -280
- package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +22 -22
- package/harmony/gesture_handler/src/main/ets/GestureHandlerRegistry.ts +27 -27
- package/harmony/gesture_handler/src/main/ets/InteractionManager.ts +108 -108
- package/harmony/gesture_handler/src/main/ets/LeastSquareSolver.ts +182 -182
- package/harmony/gesture_handler/src/main/ets/NativeViewGestureHandler.ts +114 -114
- package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +33 -33
- package/harmony/gesture_handler/src/main/ets/PanGestureHandler.ts +327 -327
- package/harmony/gesture_handler/src/main/ets/PointerTracker.ts +239 -239
- package/harmony/gesture_handler/src/main/ets/RNGHError.ts +4 -4
- package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +47 -28
- package/harmony/gesture_handler/src/main/ets/{RNGHRootTouchHandler.ets → RNGHRootTouchHandlerArkTS.ts} +59 -57
- package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +87 -0
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +37 -36
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +183 -125
- package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +52 -55
- package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +23 -11
- package/harmony/gesture_handler/src/main/ets/State.ts +46 -46
- package/harmony/gesture_handler/src/main/ets/TapGestureHandler.ts +205 -205
- package/harmony/gesture_handler/src/main/ets/Vector2D.ts +36 -36
- package/harmony/gesture_handler/src/main/ets/VelocityTracker.ts +98 -98
- package/harmony/gesture_handler/src/main/ets/View.ts +70 -70
- package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +42 -42
- package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerButton.ts +140 -0
- package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +25 -0
- package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerRootView.ts +101 -0
- package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +3 -0
- package/harmony/gesture_handler/src/main/ets/pages/Index.ets +16 -16
- package/harmony/gesture_handler/src/main/ets/types.ts +25 -0
- package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +41 -41
- package/harmony/gesture_handler/src/main/module.json5 +7 -7
- package/harmony/gesture_handler/src/main/resources/base/element/color.json +7 -7
- package/harmony/gesture_handler/src/main/resources/base/element/string.json +15 -15
- package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +5 -5
- package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +15 -15
- package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +15 -15
- package/harmony/gesture_handler/ts.ts +2 -1
- package/harmony/gesture_handler.har +0 -0
- package/lib/commonjs/RNGestureHandlerModule.js +6 -3
- package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
- package/lib/commonjs/components/GestureHandlerRootView.js +5 -13
- package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
- package/lib/commonjs/handlers/createHandler.js +31 -28
- package/lib/commonjs/handlers/createHandler.js.map +1 -1
- package/lib/commonjs/index.js +42 -19
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/specs/NativeRNGestureHandlerModule.js +10 -0
- package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -0
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +11 -0
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +11 -0
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
- package/lib/module/RNGestureHandlerModule.js +3 -2
- package/lib/module/RNGestureHandlerModule.js.map +1 -1
- package/lib/module/components/GestureHandlerRootView.js +3 -11
- package/lib/module/components/GestureHandlerRootView.js.map +1 -1
- package/lib/module/handlers/createHandler.js +20 -19
- package/lib/module/handlers/createHandler.js.map +1 -1
- package/lib/module/index.js +6 -14
- package/lib/module/index.js.map +1 -1
- package/lib/module/specs/NativeRNGestureHandlerModule.js +3 -0
- package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -0
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js +3 -0
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js +3 -0
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
- package/lib/typescript/RNGestureHandlerModule.d.ts +2 -6
- package/lib/typescript/RNGestureHandlerModule.d.ts.map +1 -1
- package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
- package/lib/typescript/components/GestureHandlerRootView.d.ts.map +1 -1
- package/lib/typescript/handlers/createHandler.d.ts +11 -11
- package/lib/typescript/handlers/createHandler.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +9 -8
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +15 -0
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -0
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +15 -0
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -0
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +7 -0
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +1 -0
- package/package.json +66 -70
- package/src/RNGestureHandlerModule.ts +5 -6
- package/src/components/GestureHandlerRootView.tsx +23 -34
- package/src/handlers/createHandler.tsx +534 -535
- package/src/index.ts +172 -172
- package/src/specs/NativeRNGestureHandlerModule.ts +26 -0
- package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -0
- package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -0
- package/README.md +0 -1
- package/lib/commonjs/components/GestureButtons.js +0 -186
- package/lib/commonjs/components/GestureButtons.js.map +0 -1
- package/lib/commonjs/components/GestureHandlerButton.js +0 -9
- package/lib/commonjs/components/GestureHandlerButton.js.map +0 -1
- package/lib/commonjs/components/RNGestureHandlerButton.js +0 -23
- package/lib/commonjs/components/RNGestureHandlerButton.js.map +0 -1
- package/lib/commonjs/components/touchables/GenericTouchable.js +0 -247
- package/lib/commonjs/components/touchables/GenericTouchable.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableOpacity.js +0 -58
- package/lib/commonjs/components/touchables/TouchableOpacity.js.map +0 -1
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +0 -18
- package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +0 -1
- package/lib/commonjs/components/touchables/index.js +0 -21
- package/lib/commonjs/components/touchables/index.js.map +0 -1
- package/lib/commonjs/handlers/NativeViewGestureHandler.js +0 -19
- package/lib/commonjs/handlers/NativeViewGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/PanGestureHandler.js +0 -103
- package/lib/commonjs/handlers/PanGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/TapGestureHandler.js +0 -22
- package/lib/commonjs/handlers/TapGestureHandler.js.map +0 -1
- package/lib/commonjs/handlers/createNativeWrapper.js +0 -64
- package/lib/commonjs/handlers/createNativeWrapper.js.map +0 -1
- package/lib/commonjs/handlers/gestureHandlerCommon.js +0 -22
- package/lib/commonjs/handlers/gestureHandlerCommon.js.map +0 -1
- package/lib/commonjs/handlers/gestures/GestureDetector.js +0 -554
- package/lib/commonjs/handlers/gestures/GestureDetector.js.map +0 -1
- package/lib/commonjs/init.js +0 -24
- package/lib/commonjs/init.js.map +0 -1
- package/lib/module/components/GestureButtons.js +0 -168
- package/lib/module/components/GestureButtons.js.map +0 -1
- package/lib/module/components/GestureHandlerButton.js +0 -3
- package/lib/module/components/GestureHandlerButton.js.map +0 -1
- package/lib/module/components/RNGestureHandlerButton.js +0 -17
- package/lib/module/components/RNGestureHandlerButton.js.map +0 -1
- package/lib/module/components/touchables/GenericTouchable.js +0 -238
- package/lib/module/components/touchables/GenericTouchable.js.map +0 -1
- package/lib/module/components/touchables/TouchableOpacity.js +0 -49
- package/lib/module/components/touchables/TouchableOpacity.js.map +0 -1
- package/lib/module/components/touchables/TouchableWithoutFeedback.js +0 -9
- package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +0 -1
- package/lib/module/components/touchables/index.js +0 -8
- package/lib/module/components/touchables/index.js.map +0 -1
- package/lib/module/handlers/NativeViewGestureHandler.js +0 -12
- package/lib/module/handlers/NativeViewGestureHandler.js.map +0 -1
- package/lib/module/handlers/PanGestureHandler.js +0 -92
- package/lib/module/handlers/PanGestureHandler.js.map +0 -1
- package/lib/module/handlers/TapGestureHandler.js +0 -14
- package/lib/module/handlers/TapGestureHandler.js.map +0 -1
- package/lib/module/handlers/createNativeWrapper.js +0 -57
- package/lib/module/handlers/createNativeWrapper.js.map +0 -1
- package/lib/module/handlers/gestureHandlerCommon.js +0 -15
- package/lib/module/handlers/gestureHandlerCommon.js.map +0 -1
- package/lib/module/handlers/gestures/GestureDetector.js +0 -543
- package/lib/module/handlers/gestures/GestureDetector.js.map +0 -1
- package/lib/module/init.js +0 -17
- package/lib/module/init.js.map +0 -1
- package/lib/typescript/components/GestureButtons.d.ts +0 -122
- package/lib/typescript/components/GestureButtons.d.ts.map +0 -1
- package/lib/typescript/components/GestureHandlerButton.d.ts +0 -5
- package/lib/typescript/components/GestureHandlerButton.d.ts.map +0 -1
- package/lib/typescript/components/RNGestureHandlerButton.d.ts +0 -2
- package/lib/typescript/components/RNGestureHandlerButton.d.ts.map +0 -1
- package/lib/typescript/components/touchables/GenericTouchable.d.ts +0 -68
- package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts +0 -26
- package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +0 -1
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +0 -8
- package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +0 -1
- package/lib/typescript/components/touchables/index.d.ts +0 -4
- package/lib/typescript/components/touchables/index.d.ts.map +0 -1
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +0 -29
- package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/PanGestureHandler.d.ts +0 -140
- package/lib/typescript/handlers/PanGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/TapGestureHandler.d.ts +0 -58
- package/lib/typescript/handlers/TapGestureHandler.d.ts.map +0 -1
- package/lib/typescript/handlers/createNativeWrapper.d.ts +0 -4
- package/lib/typescript/handlers/createNativeWrapper.d.ts.map +0 -1
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts +0 -2
- package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +0 -1
- package/lib/typescript/handlers/gestures/GestureDetector.d.ts +0 -24
- package/lib/typescript/handlers/gestures/GestureDetector.d.ts.map +0 -1
- package/lib/typescript/init.d.ts +0 -3
- package/lib/typescript/init.d.ts.map +0 -1
- package/src/components/GestureButtons.tsx +0 -334
- package/src/components/GestureHandlerButton.tsx +0 -5
- package/src/components/RNGestureHandlerButton.tsx +0 -23
- package/src/components/touchables/GenericTouchable.tsx +0 -301
- package/src/components/touchables/TouchableOpacity.tsx +0 -76
- package/src/components/touchables/TouchableWithoutFeedback.tsx +0 -14
- package/src/components/touchables/index.ts +0 -7
- package/src/handlers/NativeViewGestureHandler.ts +0 -55
- package/src/handlers/PanGestureHandler.ts +0 -327
- package/src/handlers/TapGestureHandler.ts +0 -95
- package/src/handlers/createNativeWrapper.tsx +0 -81
- package/src/handlers/gestureHandlerCommon.ts +0 -15
- package/src/handlers/gestures/GestureDetector.tsx +0 -823
- package/src/init.ts +0 -18
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Platform","UIManager","DeviceEventEmitter","deepEqual","RNGestureHandlerModule","State","handlerIDToTag","getNextHandlerTag","registerOldGestureHandler","filterConfig","findNodeHandle","scheduleFlushOperations","isFabric","isJestEnv","tagMessage","ActionType","PressabilityDebugView","GestureHandlerRootViewContext","UIManagerAny","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","OS","genericDirectEventTypes","UIManagerConstants","_UIManagerAny$getView","getViewManagerConfig","call","_UIManagerAny$getCons","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","r","stateToPropMappings","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","constructor","handlerTag","propsRef","createRef","isMountedRef","state","id","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","attachGestureHandler","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","handlerID","event","nativeEvent","onGestureEvent","_this$props$onGesture","_this$props","_this$props$onGesture2","_this$props2","onHandlerStateChange","_this$props$onHandler","_this$props3","stateEventName","eventHandler","_this$props$onGesture3","_this$props4","refHandler","node","child","Children","only","children","ref","newConfig","newViewTag","JS_FUNCTION_OLD_API","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","setNativeProps","updates","mergedProps","render","context","gestureEventHandler","gestureStateEventHandler","events","e","grandChildren","type","toArray","push","createElement","key","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"..\\..\\..\\src","sources":["handlers/createHandler.tsx"],"mappings":";AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAA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C,KAAK,EACL;QACEI,GAAG,EAAE,IAAI,CAACN,UAAU;QACpBqC,WAAW,EAAE,KAAK;QAClB,IAAIxI,SAAS,CAAC,CAAC,GACX;UACEyI,WAAW,EAAErF,IAAI;UACjBU,UAAU,EAAE,IAAI,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACP4E,MAAM,EAAE,IAAI,CAACxG,KAAK,CAACwG,MAAM,IAAIrC,KAAK,CAACnE,KAAK,CAACwG,MAAM;QAC/C,GAAGb;MACL,CAAC,EACDE,aACF,CAAC;IACH;EACF;EACA,OAAOtE,OAAO;AAChB"}
|
1
|
+
{"version":3,"names":["React","Platform","UIManager","DeviceEventEmitter","deepEqual","RNGestureHandlerModule","State","handlerIDToTag","getNextHandlerTag","registerOldGestureHandler","filterConfig","findNodeHandle","scheduleFlushOperations","isFabric","isJestEnv","tagMessage","ActionType","PressabilityDebugView","GestureHandlerRootViewContext","UIManagerAny","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","OS","genericDirectEventTypes","UIManagerConstants","_UIManagerAny$getView","getViewManagerConfig","call","_UIManagerAny$getCons","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","r","stateToPropMappings","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","_ref","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","constructor","handlerTag","propsRef","createRef","isMountedRef","state","id","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","attachGestureHandler","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","handlerID","event","nativeEvent","onGestureEvent","_this$props$onGesture","_this$props","_this$props$onGesture2","_this$props2","onHandlerStateChange","_this$props$onHandler","_this$props3","stateEventName","eventHandler","_this$props$onGesture3","_this$props4","refHandler","node","child","Children","only","children","ref","newConfig","newViewTag","JS_FUNCTION_OLD_API","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","setNativeProps","updates","mergedProps","render","context","gestureEventHandler","gestureStateEventHandler","events","e","grandChildren","type","toArray","push","createElement","key","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"../../../src","sources":["handlers/createHandler.tsx"],"mappings":";AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EACRC,SAAS,EACTC,kBAAkB,QAEb,cAAc;AACrB;AACA,OAAOC,SAAS,MAAM,gBAAgB;AACtC,OAAOC,sBAAsB,MAAM,2BAA2B,CAAC,CAAC;;AAEhE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SACEC,cAAc,EACdC,iBAAiB,EACjBC,yBAAyB,QACpB,4DAA4D;AAEnE,SAEEC,YAAY,EAGZC,cAAc,EACdC,uBAAuB,QAClB,gEAAgE;AAEvE,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,QAAQ,wCAAwC;AACxF,SAASC,UAAU,QAAQ,6CAA6C;AACxE,SAASC,qBAAqB,QAAQ,iEAAiE;AACvG,OAAOC,6BAA6B,MAAM,gEAAgE;AAE1G,MAAMC,YAAY,GAAGjB,SAAgB;AAErC,MAAMkB,iCAAiC,GAAG;EACxCC,wBAAwB,EAAE;IAAEC,gBAAgB,EAAE;EAAwB,CAAC;EACvEC,8BAA8B,EAAE;IAC9BD,gBAAgB,EAAE;EACpB;AACF,CAAC;AAED,MAAME,oBAAoB,GAAG;EAC3BC,qBAAqB,EAAE;IAAEH,gBAAgB,EAAE;EAAwB,CAAC;EACpEI,2BAA2B,EAA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,CAAC2B,IAAI,KACT3B,KAAK,CAAC2B,IAAI,KAAK,wBAAwB,IACtC3B,KAAK,CAAC2B,IAAI,CAAC5E,IAAI,KAAK,MAAM,IAC1BiD,KAAK,CAAC2B,IAAI,CAACrE,WAAW,KAAK,MAAM,CAAC,EACpC;QACAoE,aAAa,GAAG9I,KAAK,CAACqH,QAAQ,CAAC2B,OAAO,CAACF,aAAa,CAAC;QACrDA,aAAa,CAACG,IAAI,eAChBjJ,KAAA,CAAAkJ,aAAA,CAACjI,qBAAqB;UACpBkI,GAAG,EAAC,uBAAuB;UAC3BC,KAAK,EAAC,mBAAmB;UACzBC,OAAO,EAAEjC,KAAK,CAACpE,KAAK,CAACqG;QAAQ,CAC9B,CACH,CAAC;MACH;MAEA,oBAAOrJ,KAAK,CAACsJ,YAAY,CACvBlC,KAAK,EACL;QACEI,GAAG,EAAE,IAAI,CAACN,UAAU;QACpBqC,WAAW,EAAE,KAAK;QAClB,IAAIzI,SAAS,CAAC,CAAC,GACX;UACE0I,WAAW,EAAErF,IAAI;UACjBU,UAAU,EAAE,IAAI,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACP4E,MAAM,EAAE,IAAI,CAACzG,KAAK,CAACyG,MAAM,IAAIrC,KAAK,CAACpE,KAAK,CAACyG,MAAM;QAC/C,GAAGb;MACL,CAAC,EACDE,aACF,CAAC;IACH;EACF;EACA,OAAOtE,OAAO;AAChB"}
|
package/lib/module/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
global.isFormsStackingContext = () => true; // TODO: add using JSI
|
2
2
|
|
3
|
-
import { initialize } from '
|
3
|
+
import { initialize } from 'react-native-gesture-handler/src/init';
|
4
4
|
|
5
5
|
// export { Directions } from './Directions';
|
6
6
|
export { State } from 'react-native-gesture-handler/src/State';
|
@@ -20,7 +20,6 @@ export { default as GestureHandlerRootView } from './components/GestureHandlerRo
|
|
20
20
|
// GestureUpdateEvent,
|
21
21
|
// GestureStateChangeEvent,
|
22
22
|
// } from './handlers/gestureHandlerCommon';
|
23
|
-
|
24
23
|
// export type {
|
25
24
|
// TapGestureHandlerEventPayload,
|
26
25
|
// TapGestureHandlerProps,
|
@@ -52,10 +51,10 @@ export { default as GestureHandlerRootView } from './components/GestureHandlerRo
|
|
52
51
|
// FlingGestureHandlerEventPayload,
|
53
52
|
// FlingGestureHandlerProps,
|
54
53
|
// } from './handlers/FlingGestureHandler';
|
55
|
-
export { TapGestureHandler } from '
|
54
|
+
export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
56
55
|
// export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
57
56
|
// export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
|
58
|
-
export { PanGestureHandler } from '
|
57
|
+
export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
59
58
|
// export { PinchGestureHandler } from './handlers/PinchGestureHandler';
|
60
59
|
// export { RotationGestureHandler } from './handlers/RotationGestureHandler';
|
61
60
|
// export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
@@ -64,7 +63,7 @@ export { PanGestureHandler } from './handlers/PanGestureHandler';
|
|
64
63
|
// NativeViewGestureHandlerPayload,
|
65
64
|
// NativeViewGestureHandlerProps,
|
66
65
|
// } from './handlers/NativeViewGestureHandler';
|
67
|
-
export { GestureDetector } from '
|
66
|
+
export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
|
68
67
|
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
69
68
|
// export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
|
70
69
|
// export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
|
@@ -99,15 +98,8 @@ export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/hand
|
|
99
98
|
export {
|
100
99
|
// TouchableHighlight,
|
101
100
|
// TouchableNativeFeedback,
|
102
|
-
TouchableOpacity, TouchableWithoutFeedback } from '
|
103
|
-
|
104
|
-
// ScrollView,
|
105
|
-
// Switch,
|
106
|
-
// TextInput,
|
107
|
-
// DrawerLayoutAndroid,
|
108
|
-
// FlatList,
|
109
|
-
// RefreshControl,
|
110
|
-
// } from './components/GestureComponents';
|
101
|
+
TouchableOpacity, TouchableWithoutFeedback } from 'react-native-gesture-handler/src/components/touchables';
|
102
|
+
export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl } from 'react-native-gesture-handler/src/components/GestureComponents';
|
111
103
|
// export type {
|
112
104
|
// //events
|
113
105
|
// GestureHandlerGestureEvent,
|
package/lib/module/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["global","isFormsStackingContext","initialize","State","default","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","GestureDetector","GestureObjects","Gesture","TouchableOpacity","TouchableWithoutFeedback"],"sourceRoot":"
|
1
|
+
{"version":3,"names":["global","isFormsStackingContext","initialize","State","default","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","GestureDetector","GestureObjects","Gesture","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","RefreshControl"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAIAA,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAE5C,SAASC,UAAU,QAAQ,uCAAuC;;AAElE;AACA,SAASC,KAAK,QAAQ,wCAAwC;AAC9D;AACA,SAASC,OAAO,IAAIC,sBAAsB,QAAQ,qCAAqC;AACvF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,eAAe,QAAQ,oEAAoE;AACpG,SAASC,cAAc,IAAIC,OAAO,QAAQ,mEAAmE;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACAC,gBAAgB,EAChBC,wBAAwB,QACnB,wDAAwD;AAC/D,SACEC,UAAU,EACVC,MAAM,EACNC,SAAS,EACTC,mBAAmB,EACnBC,QAAQ,EACRC,cAAc,QACT,+DAA+D;AACtE;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;;AAEAhB,UAAU,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":"AAAA,SAASA,mBAAmB,QAAqB,cAAc;AAyB/D,eAAeA,mBAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAiB5F,eAAeA,sBAAsB,CAAc,wBAAwB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAK5F,eAAeA,sBAAsB,CAAc,0BAA0B,CAAC"}
|
@@ -1,7 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
interface Spec extends TurboModule, RNGestureHandlerModuleProps {
|
4
|
-
}
|
5
|
-
export declare const RNGestureHandlerModule: Spec;
|
6
|
-
export {};
|
1
|
+
declare const RNGestureHandlerModule: import("../src/specs/NativeRNGestureHandlerModule").Spec;
|
2
|
+
export default RNGestureHandlerModule;
|
7
3
|
//# sourceMappingURL=RNGestureHandlerModule.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"RNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../src/RNGestureHandlerModule.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"RNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../src/RNGestureHandlerModule.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,sBAAsB,0DAA+B,CAAC;AAE5D,eAAe,sBAAsB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import { ViewProps } from 'react-native';
|
4
|
-
export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
|
5
|
-
}
|
6
|
-
export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
|
1
|
+
import * as React from 'react';
|
2
|
+
import { PropsWithChildren } from 'react';
|
3
|
+
import { ViewProps } from 'react-native';
|
4
|
+
export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
|
5
|
+
}
|
6
|
+
export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
|
7
7
|
//# sourceMappingURL=GestureHandlerRootView.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GestureHandlerRootView.d.ts","sourceRoot":"","sources":["../../../src/components/GestureHandlerRootView.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"GestureHandlerRootView.d.ts","sourceRoot":"","sources":["../../../src/components/GestureHandlerRootView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,MAAM,WAAW,2BACf,SAAQ,iBAAiB,CAAC,SAAS,CAAC;CAAG;AAEzC,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,KAAK,EAAE,2BAA2B,qBAYnC"}
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { BaseGestureHandlerProps } from
|
3
|
-
declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
|
4
|
-
name: string;
|
5
|
-
allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
|
6
|
-
config: Readonly<Record<string, unknown>>;
|
7
|
-
transformProps?: (props: HandlerPropsT) => HandlerPropsT;
|
8
|
-
customNativeProps?: Readonly<string[]>;
|
9
|
-
}>;
|
10
|
-
export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
|
11
|
-
export {};
|
1
|
+
import * as React from 'react';
|
2
|
+
import { BaseGestureHandlerProps } from "react-native-gesture-handler/src/handlers/gestureHandlerCommon";
|
3
|
+
declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
|
4
|
+
name: string;
|
5
|
+
allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
|
6
|
+
config: Readonly<Record<string, unknown>>;
|
7
|
+
transformProps?: (props: HandlerPropsT) => HandlerPropsT;
|
8
|
+
customNativeProps?: Readonly<string[]>;
|
9
|
+
}>;
|
10
|
+
export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
|
11
|
+
export {};
|
12
12
|
//# sourceMappingURL=createHandler.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"createHandler.d.ts","sourceRoot":"","sources":["../../../src/handlers/createHandler.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EACL,uBAAuB,EAMxB,MAAM,gEAAgE,CAAC;
|
1
|
+
{"version":3,"file":"createHandler.d.ts","sourceRoot":"","sources":["../../../src/handlers/createHandler.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EACL,uBAAuB,EAMxB,MAAM,gEAAgE,CAAC;AA8GxE,aAAK,iBAAiB,CAAC,aAAa,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAClE,QAAQ,CAAC;IACP,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,aAAa,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;IAC/D,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC1C,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,aAAa,CAAC;IACzD,iBAAiB,CAAC,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;CACxC,CAAC,CAAC;AAWL,MAAM,CAAC,OAAO,UAAU,aAAa,CACnC,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,EACpC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EACjC,EACA,IAAI,EACJ,YAAiB,EACjB,MAAW,EACX,cAAc,EACd,iBAAsB,GACvB,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAiX1E"}
|
@@ -1,9 +1,10 @@
|
|
1
|
-
export { State } from 'react-native-gesture-handler/src/State';
|
2
|
-
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
3
|
-
export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
|
4
|
-
export { TapGestureHandler } from '
|
5
|
-
export { PanGestureHandler } from '
|
6
|
-
export { GestureDetector } from '
|
7
|
-
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
8
|
-
export { TouchableOpacity, TouchableWithoutFeedback, } from '
|
1
|
+
export { State } from 'react-native-gesture-handler/src/State';
|
2
|
+
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
3
|
+
export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
|
4
|
+
export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
5
|
+
export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
6
|
+
export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
|
7
|
+
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
8
|
+
export { TouchableOpacity, TouchableWithoutFeedback, } from 'react-native-gesture-handler/src/components/touchables';
|
9
|
+
export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl, } from 'react-native-gesture-handler/src/components/GestureComponents';
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAexF,YAAY,EAAE,WAAW,EAAE,MAAM,4DAA4D,CAAC;AAgC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAC;AAE/D,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAexF,YAAY,EAAE,WAAW,EAAE,MAAM,4DAA4D,CAAC;AAgC9F,OAAO,EAAE,iBAAiB,EAAE,MAAM,6DAA6D,CAAC;AAGhG,OAAO,EAAE,iBAAiB,EAAE,MAAM,6DAA6D,CAAC;AAShG,OAAO,EAAE,eAAe,EAAE,MAAM,oEAAoE,CAAC;AACrG,OAAO,EAAE,cAAc,IAAI,OAAO,EAAE,MAAM,mEAAmE,CAAC;AA+B9G,OAAO,EAGL,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,UAAU,EACV,MAAM,EACN,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,cAAc,GACf,MAAM,+DAA+D,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { TurboModule } from 'react-native';
|
2
|
+
import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
3
|
+
export interface Spec extends TurboModule {
|
4
|
+
handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
|
5
|
+
handleClearJSResponder: () => void;
|
6
|
+
createGestureHandler: (handlerName: string, handlerTag: Int32, config: Object) => void;
|
7
|
+
attachGestureHandler: (handlerTag: Int32, newView: Int32, actionType: Int32) => void;
|
8
|
+
updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
|
9
|
+
dropGestureHandler: (handlerTag: Int32) => void;
|
10
|
+
install: () => boolean;
|
11
|
+
flushOperations: () => void;
|
12
|
+
}
|
13
|
+
declare const _default: Spec;
|
14
|
+
export default _default;
|
15
|
+
//# sourceMappingURL=NativeRNGestureHandlerModule.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"NativeRNGestureHandlerModule.d.ts","sourceRoot":"","sources":["../../../src/specs/NativeRNGestureHandlerModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,WAAW,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,2CAA2C,CAAC;AAElE,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,oBAAoB,EAAE,CAAC,GAAG,EAAE,KAAK,EAAE,oBAAoB,EAAE,OAAO,KAAK,IAAI,CAAC;IAC1E,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,oBAAoB,EAAE,CACpB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,KAAK,EAGjB,MAAM,EAAE,MAAM,KACX,IAAI,CAAC;IACV,oBAAoB,EAAE,CACpB,UAAU,EAAE,KAAK,EACjB,OAAO,EAAE,KAAK,EACd,UAAU,EAAE,KAAK,KACd,IAAI,CAAC;IAEV,oBAAoB,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACrE,kBAAkB,EAAE,CAAC,UAAU,EAAE,KAAK,KAAK,IAAI,CAAC;IAChD,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;;AAED,wBAAgF"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react-native/types/modules/codegen" />
|
2
|
+
import type { Int32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
3
|
+
import type { ViewProps, ColorValue } from 'react-native';
|
4
|
+
interface NativeProps extends ViewProps {
|
5
|
+
exclusive?: WithDefault<boolean, true>;
|
6
|
+
foreground?: boolean;
|
7
|
+
borderless?: boolean;
|
8
|
+
enabled?: WithDefault<boolean, true>;
|
9
|
+
rippleColor?: ColorValue;
|
10
|
+
rippleRadius?: Int32;
|
11
|
+
touchSoundDisabled?: WithDefault<boolean, false>;
|
12
|
+
}
|
13
|
+
declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
14
|
+
export default _default;
|
15
|
+
//# sourceMappingURL=RNGestureHandlerButtonNativeComponent.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerButtonNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerButtonNativeComponent.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1D,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IACrC,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,kBAAkB,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;CAClD;;AAED,wBAA6E"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react-native/types/modules/codegen" />
|
2
|
+
import type { ViewProps } from 'react-native';
|
3
|
+
interface NativeProps extends ViewProps {
|
4
|
+
}
|
5
|
+
declare const _default: import("react-native/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeProps>;
|
6
|
+
export default _default;
|
7
|
+
//# sourceMappingURL=RNGestureHandlerRootViewNativeComponent.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RNGestureHandlerRootViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../src/specs/RNGestureHandlerRootViewNativeComponent.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,UAAU,WAAY,SAAQ,SAAS;CAAG;;AAE1C,wBAA+E"}
|
package/package.json
CHANGED
@@ -1,70 +1,66 @@
|
|
1
|
-
{
|
2
|
-
"name": "@react-native-oh-tpl/react-native-gesture-handler",
|
3
|
-
"harmony": {
|
4
|
-
"alias": "react-native-gesture-handler"
|
5
|
-
|
6
|
-
|
7
|
-
"
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
"
|
12
|
-
"
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"
|
17
|
-
|
18
|
-
"
|
19
|
-
|
20
|
-
|
21
|
-
"
|
22
|
-
|
23
|
-
|
24
|
-
"
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
"
|
32
|
-
|
33
|
-
|
34
|
-
"
|
35
|
-
"
|
36
|
-
|
37
|
-
|
38
|
-
"@babel/
|
39
|
-
"@babel/
|
40
|
-
"@
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
|
47
|
-
|
48
|
-
"
|
49
|
-
"
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
"src",
|
54
|
-
"lib"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
]
|
68
|
-
]
|
69
|
-
}
|
70
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@react-native-oh-tpl/react-native-gesture-handler",
|
3
|
+
"harmony": {
|
4
|
+
"alias": "react-native-gesture-handler",
|
5
|
+
"redirectInternalImports": true
|
6
|
+
},
|
7
|
+
"repository": {
|
8
|
+
"type": "git",
|
9
|
+
"url": "https://github.com/react-native-oh-library/react-native-harmony-gesture-handler.git"
|
10
|
+
},
|
11
|
+
"version": "2.12.9",
|
12
|
+
"description": "",
|
13
|
+
"react-native": "src/index.ts",
|
14
|
+
"main": "lib/commonjs/index.js",
|
15
|
+
"module": "lib/module/index.js",
|
16
|
+
"types": "lib/typescript/index.d.ts",
|
17
|
+
"scripts": {
|
18
|
+
"prepack": "bob build",
|
19
|
+
"test": "jest",
|
20
|
+
"pack:harmony": "react-native pack-harmony --oh-module-path ../tester/harmony/react_native_modules/gesture_handler --harmony-dir-path ./harmony --package-json-path ./package.json",
|
21
|
+
"pack:prod": "npm run pack:harmony && npm pack"
|
22
|
+
},
|
23
|
+
"peerDependencies": {
|
24
|
+
"react": "*",
|
25
|
+
"react-native": "*",
|
26
|
+
"react-native-harmony": "*"
|
27
|
+
},
|
28
|
+
"keywords": [],
|
29
|
+
"author": "",
|
30
|
+
"license": "ISC",
|
31
|
+
"dependencies": {
|
32
|
+
"react-native-gesture-handler": "2.12.1"
|
33
|
+
},
|
34
|
+
"devDependencies": {
|
35
|
+
"@babel/core": "^7.12.9",
|
36
|
+
"@babel/plugin-proposal-class-properties": "^7.12.1",
|
37
|
+
"@babel/preset-env": "^7.12.11",
|
38
|
+
"@babel/preset-typescript": "^7.12.7",
|
39
|
+
"@babel/runtime": "^7.12.5",
|
40
|
+
"@types/react": "^18.2.18",
|
41
|
+
"metro-react-native-babel-preset": "^0.64.0",
|
42
|
+
"react": "^18.2.0",
|
43
|
+
"react-native": "^0.72.0",
|
44
|
+
"react-native-builder-bob": "^0.21.3",
|
45
|
+
"typescript": "4.5.5"
|
46
|
+
},
|
47
|
+
"files": [
|
48
|
+
"harmony",
|
49
|
+
"src",
|
50
|
+
"lib"
|
51
|
+
],
|
52
|
+
"react-native-builder-bob": {
|
53
|
+
"source": "src",
|
54
|
+
"output": "lib",
|
55
|
+
"targets": [
|
56
|
+
"commonjs",
|
57
|
+
"module",
|
58
|
+
[
|
59
|
+
"typescript",
|
60
|
+
{
|
61
|
+
"project": "tsconfig.build.json"
|
62
|
+
}
|
63
|
+
]
|
64
|
+
]
|
65
|
+
}
|
66
|
+
}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
export const RNGestureHandlerModule = TurboModuleRegistry.get<Spec>('RNGestureHandlerModule')!;
|
1
|
+
import NativeRNGestureHandlerModule from '../src/specs/NativeRNGestureHandlerModule';
|
2
|
+
|
3
|
+
const RNGestureHandlerModule = NativeRNGestureHandlerModule;
|
4
|
+
|
5
|
+
export default RNGestureHandlerModule;
|
@@ -1,34 +1,23 @@
|
|
1
|
-
import
|
2
|
-
import
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
// try initialize fabric on the first render, at this point we can
|
25
|
-
// reliably check if fabric is enabled (the function contains a flag
|
26
|
-
// to make sure it's called only once)
|
27
|
-
maybeInitializeFabric();
|
28
|
-
|
29
|
-
return (
|
30
|
-
<GestureHandlerRootViewContext.Provider value>
|
31
|
-
<GestureHandlerRootViewNativeComponent {...props} />
|
32
|
-
</GestureHandlerRootViewContext.Provider>
|
33
|
-
);
|
34
|
-
}
|
1
|
+
import * as React from 'react';
|
2
|
+
import { PropsWithChildren } from 'react';
|
3
|
+
import { ViewProps } from 'react-native';
|
4
|
+
import { maybeInitializeFabric } from "react-native-gesture-handler/src/init";
|
5
|
+
import GestureHandlerRootViewContext from 'react-native-gesture-handler/src/GestureHandlerRootViewContext';
|
6
|
+
import RNGestureHandlerRootViewNativeComponent from '../specs/RNGestureHandlerRootViewNativeComponent';
|
7
|
+
export interface GestureHandlerRootViewProps
|
8
|
+
extends PropsWithChildren<ViewProps> {}
|
9
|
+
|
10
|
+
export default function GestureHandlerRootView(
|
11
|
+
props: GestureHandlerRootViewProps
|
12
|
+
) {
|
13
|
+
// try initialize fabric on the first render, at this point we can
|
14
|
+
// reliably check if fabric is enabled (the function contains a flag
|
15
|
+
// to make sure it's called only once)
|
16
|
+
maybeInitializeFabric();
|
17
|
+
|
18
|
+
return (
|
19
|
+
<GestureHandlerRootViewContext.Provider value>
|
20
|
+
<RNGestureHandlerRootViewNativeComponent {...props} />
|
21
|
+
</GestureHandlerRootViewContext.Provider>
|
22
|
+
);
|
23
|
+
}
|