@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.
Files changed (211) hide show
  1. package/harmony/gesture_handler/BuildProfile.ets +5 -0
  2. package/harmony/gesture_handler/build-profile.json5 +18 -7
  3. package/harmony/gesture_handler/hvigorfile.ts +2 -2
  4. package/harmony/gesture_handler/index.ets +3 -3
  5. package/harmony/gesture_handler/oh-package-lock.json5 +17 -0
  6. package/harmony/gesture_handler/oh-package.json5 +12 -11
  7. package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +8 -8
  8. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +103 -34
  9. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +21 -15
  10. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +36 -60
  11. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentInstance.h +27 -0
  12. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +32 -0
  13. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +22 -17
  14. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +15 -12
  15. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +72 -0
  16. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +36 -60
  17. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +78 -0
  18. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +25 -0
  19. package/harmony/gesture_handler/src/main/ets/CircularBuffer.ts +42 -42
  20. package/harmony/gesture_handler/src/main/ets/Event.ts +67 -67
  21. package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +52 -37
  22. package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +663 -663
  23. package/harmony/gesture_handler/src/main/ets/{GestureHandlerArkUIAdapter.ets → GestureHandlerArkUIAdapter.ts} +202 -201
  24. package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +44 -44
  25. package/harmony/gesture_handler/src/main/ets/GestureHandlerOrchestrator.ts +280 -280
  26. package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +22 -22
  27. package/harmony/gesture_handler/src/main/ets/GestureHandlerRegistry.ts +27 -27
  28. package/harmony/gesture_handler/src/main/ets/InteractionManager.ts +108 -108
  29. package/harmony/gesture_handler/src/main/ets/LeastSquareSolver.ts +182 -182
  30. package/harmony/gesture_handler/src/main/ets/NativeViewGestureHandler.ts +114 -114
  31. package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +33 -33
  32. package/harmony/gesture_handler/src/main/ets/PanGestureHandler.ts +327 -327
  33. package/harmony/gesture_handler/src/main/ets/PointerTracker.ts +239 -239
  34. package/harmony/gesture_handler/src/main/ets/RNGHError.ts +4 -4
  35. package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +47 -28
  36. package/harmony/gesture_handler/src/main/ets/{RNGHRootTouchHandler.ets → RNGHRootTouchHandlerArkTS.ts} +59 -57
  37. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +87 -0
  38. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +37 -36
  39. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +183 -125
  40. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +52 -55
  41. package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +23 -11
  42. package/harmony/gesture_handler/src/main/ets/State.ts +46 -46
  43. package/harmony/gesture_handler/src/main/ets/TapGestureHandler.ts +205 -205
  44. package/harmony/gesture_handler/src/main/ets/Vector2D.ts +36 -36
  45. package/harmony/gesture_handler/src/main/ets/VelocityTracker.ts +98 -98
  46. package/harmony/gesture_handler/src/main/ets/View.ts +70 -70
  47. package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +42 -42
  48. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerButton.ts +140 -0
  49. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +25 -0
  50. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerRootView.ts +101 -0
  51. package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +3 -0
  52. package/harmony/gesture_handler/src/main/ets/pages/Index.ets +16 -16
  53. package/harmony/gesture_handler/src/main/ets/types.ts +25 -0
  54. package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +41 -41
  55. package/harmony/gesture_handler/src/main/module.json5 +7 -7
  56. package/harmony/gesture_handler/src/main/resources/base/element/color.json +7 -7
  57. package/harmony/gesture_handler/src/main/resources/base/element/string.json +15 -15
  58. package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +5 -5
  59. package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +15 -15
  60. package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +15 -15
  61. package/harmony/gesture_handler/ts.ts +2 -1
  62. package/harmony/gesture_handler.har +0 -0
  63. package/lib/commonjs/RNGestureHandlerModule.js +6 -3
  64. package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
  65. package/lib/commonjs/components/GestureHandlerRootView.js +5 -13
  66. package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
  67. package/lib/commonjs/handlers/createHandler.js +31 -28
  68. package/lib/commonjs/handlers/createHandler.js.map +1 -1
  69. package/lib/commonjs/index.js +42 -19
  70. package/lib/commonjs/index.js.map +1 -1
  71. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js +10 -0
  72. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -0
  73. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +11 -0
  74. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
  75. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +11 -0
  76. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
  77. package/lib/module/RNGestureHandlerModule.js +3 -2
  78. package/lib/module/RNGestureHandlerModule.js.map +1 -1
  79. package/lib/module/components/GestureHandlerRootView.js +3 -11
  80. package/lib/module/components/GestureHandlerRootView.js.map +1 -1
  81. package/lib/module/handlers/createHandler.js +20 -19
  82. package/lib/module/handlers/createHandler.js.map +1 -1
  83. package/lib/module/index.js +6 -14
  84. package/lib/module/index.js.map +1 -1
  85. package/lib/module/specs/NativeRNGestureHandlerModule.js +3 -0
  86. package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -0
  87. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js +3 -0
  88. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
  89. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js +3 -0
  90. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
  91. package/lib/typescript/RNGestureHandlerModule.d.ts +2 -6
  92. package/lib/typescript/RNGestureHandlerModule.d.ts.map +1 -1
  93. package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
  94. package/lib/typescript/components/GestureHandlerRootView.d.ts.map +1 -1
  95. package/lib/typescript/handlers/createHandler.d.ts +11 -11
  96. package/lib/typescript/handlers/createHandler.d.ts.map +1 -1
  97. package/lib/typescript/index.d.ts +9 -8
  98. package/lib/typescript/index.d.ts.map +1 -1
  99. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +15 -0
  100. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -0
  101. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +15 -0
  102. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -0
  103. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +7 -0
  104. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +1 -0
  105. package/package.json +66 -70
  106. package/src/RNGestureHandlerModule.ts +5 -6
  107. package/src/components/GestureHandlerRootView.tsx +23 -34
  108. package/src/handlers/createHandler.tsx +534 -535
  109. package/src/index.ts +172 -172
  110. package/src/specs/NativeRNGestureHandlerModule.ts +26 -0
  111. package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -0
  112. package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -0
  113. package/README.md +0 -1
  114. package/lib/commonjs/components/GestureButtons.js +0 -186
  115. package/lib/commonjs/components/GestureButtons.js.map +0 -1
  116. package/lib/commonjs/components/GestureHandlerButton.js +0 -9
  117. package/lib/commonjs/components/GestureHandlerButton.js.map +0 -1
  118. package/lib/commonjs/components/RNGestureHandlerButton.js +0 -23
  119. package/lib/commonjs/components/RNGestureHandlerButton.js.map +0 -1
  120. package/lib/commonjs/components/touchables/GenericTouchable.js +0 -247
  121. package/lib/commonjs/components/touchables/GenericTouchable.js.map +0 -1
  122. package/lib/commonjs/components/touchables/TouchableOpacity.js +0 -58
  123. package/lib/commonjs/components/touchables/TouchableOpacity.js.map +0 -1
  124. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +0 -18
  125. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  126. package/lib/commonjs/components/touchables/index.js +0 -21
  127. package/lib/commonjs/components/touchables/index.js.map +0 -1
  128. package/lib/commonjs/handlers/NativeViewGestureHandler.js +0 -19
  129. package/lib/commonjs/handlers/NativeViewGestureHandler.js.map +0 -1
  130. package/lib/commonjs/handlers/PanGestureHandler.js +0 -103
  131. package/lib/commonjs/handlers/PanGestureHandler.js.map +0 -1
  132. package/lib/commonjs/handlers/TapGestureHandler.js +0 -22
  133. package/lib/commonjs/handlers/TapGestureHandler.js.map +0 -1
  134. package/lib/commonjs/handlers/createNativeWrapper.js +0 -64
  135. package/lib/commonjs/handlers/createNativeWrapper.js.map +0 -1
  136. package/lib/commonjs/handlers/gestureHandlerCommon.js +0 -22
  137. package/lib/commonjs/handlers/gestureHandlerCommon.js.map +0 -1
  138. package/lib/commonjs/handlers/gestures/GestureDetector.js +0 -554
  139. package/lib/commonjs/handlers/gestures/GestureDetector.js.map +0 -1
  140. package/lib/commonjs/init.js +0 -24
  141. package/lib/commonjs/init.js.map +0 -1
  142. package/lib/module/components/GestureButtons.js +0 -168
  143. package/lib/module/components/GestureButtons.js.map +0 -1
  144. package/lib/module/components/GestureHandlerButton.js +0 -3
  145. package/lib/module/components/GestureHandlerButton.js.map +0 -1
  146. package/lib/module/components/RNGestureHandlerButton.js +0 -17
  147. package/lib/module/components/RNGestureHandlerButton.js.map +0 -1
  148. package/lib/module/components/touchables/GenericTouchable.js +0 -238
  149. package/lib/module/components/touchables/GenericTouchable.js.map +0 -1
  150. package/lib/module/components/touchables/TouchableOpacity.js +0 -49
  151. package/lib/module/components/touchables/TouchableOpacity.js.map +0 -1
  152. package/lib/module/components/touchables/TouchableWithoutFeedback.js +0 -9
  153. package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  154. package/lib/module/components/touchables/index.js +0 -8
  155. package/lib/module/components/touchables/index.js.map +0 -1
  156. package/lib/module/handlers/NativeViewGestureHandler.js +0 -12
  157. package/lib/module/handlers/NativeViewGestureHandler.js.map +0 -1
  158. package/lib/module/handlers/PanGestureHandler.js +0 -92
  159. package/lib/module/handlers/PanGestureHandler.js.map +0 -1
  160. package/lib/module/handlers/TapGestureHandler.js +0 -14
  161. package/lib/module/handlers/TapGestureHandler.js.map +0 -1
  162. package/lib/module/handlers/createNativeWrapper.js +0 -57
  163. package/lib/module/handlers/createNativeWrapper.js.map +0 -1
  164. package/lib/module/handlers/gestureHandlerCommon.js +0 -15
  165. package/lib/module/handlers/gestureHandlerCommon.js.map +0 -1
  166. package/lib/module/handlers/gestures/GestureDetector.js +0 -543
  167. package/lib/module/handlers/gestures/GestureDetector.js.map +0 -1
  168. package/lib/module/init.js +0 -17
  169. package/lib/module/init.js.map +0 -1
  170. package/lib/typescript/components/GestureButtons.d.ts +0 -122
  171. package/lib/typescript/components/GestureButtons.d.ts.map +0 -1
  172. package/lib/typescript/components/GestureHandlerButton.d.ts +0 -5
  173. package/lib/typescript/components/GestureHandlerButton.d.ts.map +0 -1
  174. package/lib/typescript/components/RNGestureHandlerButton.d.ts +0 -2
  175. package/lib/typescript/components/RNGestureHandlerButton.d.ts.map +0 -1
  176. package/lib/typescript/components/touchables/GenericTouchable.d.ts +0 -68
  177. package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +0 -1
  178. package/lib/typescript/components/touchables/TouchableOpacity.d.ts +0 -26
  179. package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +0 -1
  180. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +0 -8
  181. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +0 -1
  182. package/lib/typescript/components/touchables/index.d.ts +0 -4
  183. package/lib/typescript/components/touchables/index.d.ts.map +0 -1
  184. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +0 -29
  185. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +0 -1
  186. package/lib/typescript/handlers/PanGestureHandler.d.ts +0 -140
  187. package/lib/typescript/handlers/PanGestureHandler.d.ts.map +0 -1
  188. package/lib/typescript/handlers/TapGestureHandler.d.ts +0 -58
  189. package/lib/typescript/handlers/TapGestureHandler.d.ts.map +0 -1
  190. package/lib/typescript/handlers/createNativeWrapper.d.ts +0 -4
  191. package/lib/typescript/handlers/createNativeWrapper.d.ts.map +0 -1
  192. package/lib/typescript/handlers/gestureHandlerCommon.d.ts +0 -2
  193. package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +0 -1
  194. package/lib/typescript/handlers/gestures/GestureDetector.d.ts +0 -24
  195. package/lib/typescript/handlers/gestures/GestureDetector.d.ts.map +0 -1
  196. package/lib/typescript/init.d.ts +0 -3
  197. package/lib/typescript/init.d.ts.map +0 -1
  198. package/src/components/GestureButtons.tsx +0 -334
  199. package/src/components/GestureHandlerButton.tsx +0 -5
  200. package/src/components/RNGestureHandlerButton.tsx +0 -23
  201. package/src/components/touchables/GenericTouchable.tsx +0 -301
  202. package/src/components/touchables/TouchableOpacity.tsx +0 -76
  203. package/src/components/touchables/TouchableWithoutFeedback.tsx +0 -14
  204. package/src/components/touchables/index.ts +0 -7
  205. package/src/handlers/NativeViewGestureHandler.ts +0 -55
  206. package/src/handlers/PanGestureHandler.ts +0 -327
  207. package/src/handlers/TapGestureHandler.ts +0 -95
  208. package/src/handlers/createNativeWrapper.tsx +0 -81
  209. package/src/handlers/gestureHandlerCommon.ts +0 -15
  210. package/src/handlers/gestures/GestureDetector.tsx +0 -823
  211. package/src/init.ts +0 -18
package/src/index.ts CHANGED
@@ -1,172 +1,172 @@
1
- declare const global: {
2
- isFormsStackingContext: (node: unknown) => boolean | null; // JSI function
3
- };
4
-
5
- global.isFormsStackingContext = () => true; // TODO: add using JSI
6
-
7
- import { initialize } from './init';
8
-
9
- // export { Directions } from './Directions';
10
- export { State } from 'react-native-gesture-handler/src/State';
11
- // export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
12
- export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
13
- // export type {
14
- // // event types
15
- // GestureEvent,
16
- // HandlerStateChangeEvent,
17
- // // event payloads types
18
- // GestureEventPayload,
19
- // HandlerStateChangeEventPayload,
20
- // // pointer events
21
- // GestureTouchEvent,
22
- // TouchData,
23
- // // new api event types
24
- // GestureUpdateEvent,
25
- // GestureStateChangeEvent,
26
- // } from './handlers/gestureHandlerCommon';
27
- export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
28
- // export type {
29
- // TapGestureHandlerEventPayload,
30
- // TapGestureHandlerProps,
31
- // } from './handlers/TapGestureHandler';
32
- // export type {
33
- // ForceTouchGestureHandlerEventPayload,
34
- // ForceTouchGestureHandlerProps,
35
- // } from './handlers/ForceTouchGestureHandler';
36
- // export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
37
- // export type {
38
- // LongPressGestureHandlerEventPayload,
39
- // LongPressGestureHandlerProps,
40
- // } from './handlers/LongPressGestureHandler';
41
- // export type {
42
- // PanGestureHandlerEventPayload,
43
- // PanGestureHandlerProps,
44
- // } from './handlers/PanGestureHandler';
45
- // export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
46
- // export type {
47
- // PinchGestureHandlerEventPayload,
48
- // PinchGestureHandlerProps,
49
- // } from './handlers/PinchGestureHandler';
50
- // export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
51
- // export type {
52
- // RotationGestureHandlerEventPayload,
53
- // RotationGestureHandlerProps,
54
- // } from './handlers/RotationGestureHandler';
55
- // export type {
56
- // FlingGestureHandlerEventPayload,
57
- // FlingGestureHandlerProps,
58
- // } from './handlers/FlingGestureHandler';
59
- export { TapGestureHandler } from './handlers/TapGestureHandler';
60
- // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
61
- // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
62
- export { PanGestureHandler } from './handlers/PanGestureHandler';
63
- // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
64
- // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
65
- // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
66
- // export { default as createNativeWrapper } from './handlers/createNativeWrapper';
67
- // export type {
68
- // NativeViewGestureHandlerPayload,
69
- // NativeViewGestureHandlerProps,
70
- // } from './handlers/NativeViewGestureHandler';
71
- export { GestureDetector } from './handlers/gestures/GestureDetector';
72
- export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
73
- // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
74
- // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
75
- // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
76
- // export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
77
- // export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
78
- // export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
79
- // export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
80
- // export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
81
- // export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
82
- // export type {
83
- // ComposedGestureType as ComposedGesture,
84
- // RaceGestureType as RaceGesture,
85
- // SimultaneousGestureType as SimultaneousGesture,
86
- // ExclusiveGestureType as ExclusiveGesture,
87
- // } from './handlers/gestures/gestureComposition';
88
- // export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
89
- // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
90
- // export type {
91
- // RawButtonProps,
92
- // BaseButtonProps,
93
- // RectButtonProps,
94
- // BorderlessButtonProps,
95
- // } from './components/GestureButtons';
96
- // export {
97
- // RawButton,
98
- // BaseButton,
99
- // RectButton,
100
- // BorderlessButton,
101
- // PureNativeButton,
102
- // } from './components/GestureButtons';
103
- export {
104
- // TouchableHighlight,
105
- // TouchableNativeFeedback,
106
- TouchableOpacity,
107
- TouchableWithoutFeedback,
108
- } from './components/touchables';
109
- // export {
110
- // ScrollView,
111
- // Switch,
112
- // TextInput,
113
- // DrawerLayoutAndroid,
114
- // FlatList,
115
- // RefreshControl,
116
- // } from './components/GestureComponents';
117
- // export type {
118
- // //events
119
- // GestureHandlerGestureEvent,
120
- // GestureHandlerStateChangeEvent,
121
- // //event payloads
122
- // GestureHandlerGestureEventNativeEvent,
123
- // GestureHandlerStateChangeNativeEvent,
124
- // NativeViewGestureHandlerGestureEvent,
125
- // NativeViewGestureHandlerStateChangeEvent,
126
- // TapGestureHandlerGestureEvent,
127
- // TapGestureHandlerStateChangeEvent,
128
- // ForceTouchGestureHandlerGestureEvent,
129
- // ForceTouchGestureHandlerStateChangeEvent,
130
- // LongPressGestureHandlerGestureEvent,
131
- // LongPressGestureHandlerStateChangeEvent,
132
- // PanGestureHandlerGestureEvent,
133
- // PanGestureHandlerStateChangeEvent,
134
- // PinchGestureHandlerGestureEvent,
135
- // PinchGestureHandlerStateChangeEvent,
136
- // RotationGestureHandlerGestureEvent,
137
- // RotationGestureHandlerStateChangeEvent,
138
- // FlingGestureHandlerGestureEvent,
139
- // FlingGestureHandlerStateChangeEvent,
140
- // // handlers props
141
- // NativeViewGestureHandlerProperties,
142
- // TapGestureHandlerProperties,
143
- // LongPressGestureHandlerProperties,
144
- // PanGestureHandlerProperties,
145
- // PinchGestureHandlerProperties,
146
- // RotationGestureHandlerProperties,
147
- // FlingGestureHandlerProperties,
148
- // ForceTouchGestureHandlerProperties,
149
- // // buttons props
150
- // RawButtonProperties,
151
- // BaseButtonProperties,
152
- // RectButtonProperties,
153
- // BorderlessButtonProperties,
154
- // } from './handlers/gestureHandlerTypesCompat';
155
-
156
- // export { default as Swipeable } from './components/Swipeable';
157
- // export type {
158
- // DrawerLayoutProps,
159
- // DrawerPosition,
160
- // DrawerState,
161
- // DrawerType,
162
- // DrawerLockMode,
163
- // DrawerKeyboardDismissMode,
164
- // } from './components/DrawerLayout';
165
- // export { default as DrawerLayout } from './components/DrawerLayout';
166
-
167
- // export {
168
- // enableExperimentalWebImplementation,
169
- // enableLegacyWebImplementation,
170
- // } from './EnableNewWebImplementation';
171
-
172
- initialize();
1
+ declare const global: {
2
+ isFormsStackingContext: (node: unknown) => boolean | null; // JSI function
3
+ };
4
+
5
+ global.isFormsStackingContext = () => true; // TODO: add using JSI
6
+
7
+ import { initialize } from 'react-native-gesture-handler/src/init';
8
+
9
+ // export { Directions } from './Directions';
10
+ export { State } from 'react-native-gesture-handler/src/State';
11
+ // export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
12
+ export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
13
+ // export type {
14
+ // // event types
15
+ // GestureEvent,
16
+ // HandlerStateChangeEvent,
17
+ // // event payloads types
18
+ // GestureEventPayload,
19
+ // HandlerStateChangeEventPayload,
20
+ // // pointer events
21
+ // GestureTouchEvent,
22
+ // TouchData,
23
+ // // new api event types
24
+ // GestureUpdateEvent,
25
+ // GestureStateChangeEvent,
26
+ // } from './handlers/gestureHandlerCommon';
27
+ export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
28
+ // export type {
29
+ // TapGestureHandlerEventPayload,
30
+ // TapGestureHandlerProps,
31
+ // } from './handlers/TapGestureHandler';
32
+ // export type {
33
+ // ForceTouchGestureHandlerEventPayload,
34
+ // ForceTouchGestureHandlerProps,
35
+ // } from './handlers/ForceTouchGestureHandler';
36
+ // export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
37
+ // export type {
38
+ // LongPressGestureHandlerEventPayload,
39
+ // LongPressGestureHandlerProps,
40
+ // } from './handlers/LongPressGestureHandler';
41
+ // export type {
42
+ // PanGestureHandlerEventPayload,
43
+ // PanGestureHandlerProps,
44
+ // } from './handlers/PanGestureHandler';
45
+ // export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
46
+ // export type {
47
+ // PinchGestureHandlerEventPayload,
48
+ // PinchGestureHandlerProps,
49
+ // } from './handlers/PinchGestureHandler';
50
+ // export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
51
+ // export type {
52
+ // RotationGestureHandlerEventPayload,
53
+ // RotationGestureHandlerProps,
54
+ // } from './handlers/RotationGestureHandler';
55
+ // export type {
56
+ // FlingGestureHandlerEventPayload,
57
+ // FlingGestureHandlerProps,
58
+ // } from './handlers/FlingGestureHandler';
59
+ export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
60
+ // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
61
+ // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
62
+ export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
63
+ // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
64
+ // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
65
+ // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
66
+ // export { default as createNativeWrapper } from './handlers/createNativeWrapper';
67
+ // export type {
68
+ // NativeViewGestureHandlerPayload,
69
+ // NativeViewGestureHandlerProps,
70
+ // } from './handlers/NativeViewGestureHandler';
71
+ export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
72
+ export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
73
+ // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
74
+ // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
75
+ // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
76
+ // export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
77
+ // export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
78
+ // export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
79
+ // export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
80
+ // export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
81
+ // export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
82
+ // export type {
83
+ // ComposedGestureType as ComposedGesture,
84
+ // RaceGestureType as RaceGesture,
85
+ // SimultaneousGestureType as SimultaneousGesture,
86
+ // ExclusiveGestureType as ExclusiveGesture,
87
+ // } from './handlers/gestures/gestureComposition';
88
+ // export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
89
+ // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
90
+ // export type {
91
+ // RawButtonProps,
92
+ // BaseButtonProps,
93
+ // RectButtonProps,
94
+ // BorderlessButtonProps,
95
+ // } from './components/GestureButtons';
96
+ // export {
97
+ // RawButton,
98
+ // BaseButton,
99
+ // RectButton,
100
+ // BorderlessButton,
101
+ // PureNativeButton,
102
+ // } from './components/GestureButtons';
103
+ export {
104
+ // TouchableHighlight,
105
+ // TouchableNativeFeedback,
106
+ TouchableOpacity,
107
+ TouchableWithoutFeedback,
108
+ } from 'react-native-gesture-handler/src/components/touchables';
109
+ export {
110
+ ScrollView,
111
+ Switch,
112
+ TextInput,
113
+ DrawerLayoutAndroid,
114
+ FlatList,
115
+ RefreshControl,
116
+ } from 'react-native-gesture-handler/src/components/GestureComponents';
117
+ // export type {
118
+ // //events
119
+ // GestureHandlerGestureEvent,
120
+ // GestureHandlerStateChangeEvent,
121
+ // //event payloads
122
+ // GestureHandlerGestureEventNativeEvent,
123
+ // GestureHandlerStateChangeNativeEvent,
124
+ // NativeViewGestureHandlerGestureEvent,
125
+ // NativeViewGestureHandlerStateChangeEvent,
126
+ // TapGestureHandlerGestureEvent,
127
+ // TapGestureHandlerStateChangeEvent,
128
+ // ForceTouchGestureHandlerGestureEvent,
129
+ // ForceTouchGestureHandlerStateChangeEvent,
130
+ // LongPressGestureHandlerGestureEvent,
131
+ // LongPressGestureHandlerStateChangeEvent,
132
+ // PanGestureHandlerGestureEvent,
133
+ // PanGestureHandlerStateChangeEvent,
134
+ // PinchGestureHandlerGestureEvent,
135
+ // PinchGestureHandlerStateChangeEvent,
136
+ // RotationGestureHandlerGestureEvent,
137
+ // RotationGestureHandlerStateChangeEvent,
138
+ // FlingGestureHandlerGestureEvent,
139
+ // FlingGestureHandlerStateChangeEvent,
140
+ // // handlers props
141
+ // NativeViewGestureHandlerProperties,
142
+ // TapGestureHandlerProperties,
143
+ // LongPressGestureHandlerProperties,
144
+ // PanGestureHandlerProperties,
145
+ // PinchGestureHandlerProperties,
146
+ // RotationGestureHandlerProperties,
147
+ // FlingGestureHandlerProperties,
148
+ // ForceTouchGestureHandlerProperties,
149
+ // // buttons props
150
+ // RawButtonProperties,
151
+ // BaseButtonProperties,
152
+ // RectButtonProperties,
153
+ // BorderlessButtonProperties,
154
+ // } from './handlers/gestureHandlerTypesCompat';
155
+
156
+ // export { default as Swipeable } from './components/Swipeable';
157
+ // export type {
158
+ // DrawerLayoutProps,
159
+ // DrawerPosition,
160
+ // DrawerState,
161
+ // DrawerType,
162
+ // DrawerLockMode,
163
+ // DrawerKeyboardDismissMode,
164
+ // } from './components/DrawerLayout';
165
+ // export { default as DrawerLayout } from './components/DrawerLayout';
166
+
167
+ // export {
168
+ // enableExperimentalWebImplementation,
169
+ // enableLegacyWebImplementation,
170
+ // } from './EnableNewWebImplementation';
171
+
172
+ initialize();
@@ -0,0 +1,26 @@
1
+ import { TurboModuleRegistry, TurboModule } from 'react-native';
2
+ import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
3
+
4
+ export interface Spec extends TurboModule {
5
+ handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
6
+ handleClearJSResponder: () => void;
7
+ createGestureHandler: (
8
+ handlerName: string,
9
+ handlerTag: Int32,
10
+ // Record<> is not supported by codegen
11
+ // eslint-disable-next-line @typescript-eslint/ban-types
12
+ config: Object
13
+ ) => void;
14
+ attachGestureHandler: (
15
+ handlerTag: Int32,
16
+ newView: Int32,
17
+ actionType: Int32
18
+ ) => void;
19
+ // eslint-disable-next-line @typescript-eslint/ban-types
20
+ updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
21
+ dropGestureHandler: (handlerTag: Int32) => void;
22
+ install: () => boolean;
23
+ flushOperations: () => void;
24
+ }
25
+
26
+ export default TurboModuleRegistry.getEnforcing<Spec>('RNGestureHandlerModule');
@@ -0,0 +1,18 @@
1
+ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
+ import type {
3
+ Int32,
4
+ WithDefault,
5
+ } from 'react-native/Libraries/Types/CodegenTypes';
6
+ import type { ViewProps, ColorValue } from 'react-native';
7
+
8
+ interface NativeProps extends ViewProps {
9
+ exclusive?: WithDefault<boolean, true>;
10
+ foreground?: boolean;
11
+ borderless?: boolean;
12
+ enabled?: WithDefault<boolean, true>;
13
+ rippleColor?: ColorValue;
14
+ rippleRadius?: Int32;
15
+ touchSoundDisabled?: WithDefault<boolean, false>;
16
+ }
17
+
18
+ export default codegenNativeComponent<NativeProps>('RNGestureHandlerButton');
@@ -0,0 +1,6 @@
1
+ import codegenNativeComponent from 'react-native/Libraries/Utilities/codegenNativeComponent';
2
+ import type { ViewProps } from 'react-native';
3
+
4
+ interface NativeProps extends ViewProps {}
5
+
6
+ export default codegenNativeComponent<NativeProps>('RNGestureHandlerRootView');
package/README.md DELETED
@@ -1 +0,0 @@
1
- # react-native-harmony-gesture-handler
@@ -1,186 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.BorderlessButton = exports.BaseButton = void 0;
7
- Object.defineProperty(exports, "PureNativeButton", {
8
- enumerable: true,
9
- get: function () {
10
- return _GestureHandlerButton.default;
11
- }
12
- });
13
- exports.RectButton = exports.RawButton = void 0;
14
- var React = _interopRequireWildcard(require("react"));
15
- var _reactNative = require("react-native");
16
- var _createNativeWrapper = _interopRequireDefault(require("../handlers/createNativeWrapper"));
17
- var _GestureHandlerButton = _interopRequireDefault(require("./GestureHandlerButton"));
18
- var _State = require("react-native-gesture-handler/src/State");
19
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
20
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
21
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
22
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
- const RawButton = exports.RawButton = (0, _createNativeWrapper.default)(_GestureHandlerButton.default, {
24
- shouldCancelWhenOutside: false,
25
- shouldActivateOnStart: false
26
- });
27
- class BaseButton extends React.Component {
28
- static defaultProps = {
29
- delayLongPress: 600
30
- };
31
- constructor(props) {
32
- super(props);
33
- this.lastActive = false;
34
- this.longPressDetected = false;
35
- }
36
- handleEvent = ({
37
- nativeEvent
38
- }) => {
39
- const {
40
- state,
41
- oldState,
42
- pointerInside
43
- } = nativeEvent;
44
- const active = pointerInside && state === _State.State.ACTIVE;
45
- if (active !== this.lastActive && this.props.onActiveStateChange) {
46
- this.props.onActiveStateChange(active);
47
- }
48
- if (!this.longPressDetected && oldState === _State.State.ACTIVE && state !== _State.State.CANCELLED && this.lastActive && this.props.onPress) {
49
- this.props.onPress(active);
50
- }
51
- if (!this.lastActive &&
52
- // NativeViewGestureHandler sends different events based on platform
53
- state === (_reactNative.Platform.OS !== 'android' ? _State.State.ACTIVE : _State.State.BEGAN) && pointerInside) {
54
- this.longPressDetected = false;
55
- if (this.props.onLongPress) {
56
- this.longPressTimeout = setTimeout(this.onLongPress, this.props.delayLongPress);
57
- }
58
- } else if (
59
- // cancel longpress timeout if it's set and the finger moved out of the view
60
- state === _State.State.ACTIVE && !pointerInside && this.longPressTimeout !== undefined) {
61
- clearTimeout(this.longPressTimeout);
62
- this.longPressTimeout = undefined;
63
- } else if (
64
- // cancel longpress timeout if it's set and the gesture has finished
65
- this.longPressTimeout !== undefined && (state === _State.State.END || state === _State.State.CANCELLED || state === _State.State.FAILED)) {
66
- clearTimeout(this.longPressTimeout);
67
- this.longPressTimeout = undefined;
68
- }
69
- this.lastActive = active;
70
- };
71
- onLongPress = () => {
72
- var _this$props$onLongPre, _this$props;
73
- this.longPressDetected = true;
74
- (_this$props$onLongPre = (_this$props = this.props).onLongPress) === null || _this$props$onLongPre === void 0 || _this$props$onLongPre.call(_this$props);
75
- };
76
-
77
- // Normally, the parent would execute it's handler first, then forward the
78
- // event to listeners. However, here our handler is virtually only forwarding
79
- // events to listeners, so we reverse the order to keep the proper order of
80
- // the callbacks (from "raw" ones to "processed").
81
- onHandlerStateChange = e => {
82
- var _this$props$onHandler, _this$props2;
83
- (_this$props$onHandler = (_this$props2 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 || _this$props$onHandler.call(_this$props2, e);
84
- this.handleEvent(e);
85
- };
86
- onGestureEvent = e => {
87
- var _this$props$onGesture, _this$props3;
88
- (_this$props$onGesture = (_this$props3 = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 || _this$props$onGesture.call(_this$props3, e);
89
- this.handleEvent(e); // TODO: maybe it is not correct
90
- };
91
- render() {
92
- const {
93
- rippleColor,
94
- ...rest
95
- } = this.props;
96
- return /*#__PURE__*/React.createElement(RawButton, _extends({
97
- rippleColor: (0, _reactNative.processColor)(rippleColor)
98
- }, rest, {
99
- onGestureEvent: this.onGestureEvent,
100
- onHandlerStateChange: this.onHandlerStateChange
101
- }));
102
- }
103
- }
104
- exports.BaseButton = BaseButton;
105
- const AnimatedBaseButton = _reactNative.Animated.createAnimatedComponent(BaseButton);
106
- const btnStyles = _reactNative.StyleSheet.create({
107
- underlay: {
108
- position: 'absolute',
109
- left: 0,
110
- right: 0,
111
- bottom: 0,
112
- top: 0
113
- }
114
- });
115
- class RectButton extends React.Component {
116
- static defaultProps = {
117
- activeOpacity: 0.105,
118
- underlayColor: 'black'
119
- };
120
- constructor(props) {
121
- super(props);
122
- this.opacity = new _reactNative.Animated.Value(0);
123
- }
124
- onActiveStateChange = active => {
125
- var _this$props$onActiveS, _this$props4;
126
- if (_reactNative.Platform.OS !== 'android') {
127
- this.opacity.setValue(active ? this.props.activeOpacity : 0);
128
- }
129
- (_this$props$onActiveS = (_this$props4 = this.props).onActiveStateChange) === null || _this$props$onActiveS === void 0 || _this$props$onActiveS.call(_this$props4, active);
130
- };
131
- render() {
132
- const {
133
- children,
134
- style,
135
- ...rest
136
- } = this.props;
137
- const resolvedStyle = _reactNative.StyleSheet.flatten(style ?? {});
138
- return /*#__PURE__*/React.createElement(BaseButton, _extends({}, rest, {
139
- style: resolvedStyle,
140
- onActiveStateChange: this.onActiveStateChange
141
- }), /*#__PURE__*/React.createElement(_reactNative.Animated.View, {
142
- style: [btnStyles.underlay, {
143
- opacity: this.opacity,
144
- backgroundColor: this.props.underlayColor,
145
- borderRadius: resolvedStyle.borderRadius,
146
- borderTopLeftRadius: resolvedStyle.borderTopLeftRadius,
147
- borderTopRightRadius: resolvedStyle.borderTopRightRadius,
148
- borderBottomLeftRadius: resolvedStyle.borderBottomLeftRadius,
149
- borderBottomRightRadius: resolvedStyle.borderBottomRightRadius
150
- }]
151
- }), children);
152
- }
153
- }
154
- exports.RectButton = RectButton;
155
- class BorderlessButton extends React.Component {
156
- static defaultProps = {
157
- activeOpacity: 0.3,
158
- borderless: true
159
- };
160
- constructor(props) {
161
- super(props);
162
- this.opacity = new _reactNative.Animated.Value(1);
163
- }
164
- onActiveStateChange = active => {
165
- var _this$props$onActiveS2, _this$props5;
166
- if (_reactNative.Platform.OS !== 'android') {
167
- this.opacity.setValue(active ? this.props.activeOpacity : 1);
168
- }
169
- (_this$props$onActiveS2 = (_this$props5 = this.props).onActiveStateChange) === null || _this$props$onActiveS2 === void 0 || _this$props$onActiveS2.call(_this$props5, active);
170
- };
171
- render() {
172
- const {
173
- children,
174
- style,
175
- ...rest
176
- } = this.props;
177
- return /*#__PURE__*/React.createElement(AnimatedBaseButton, _extends({}, rest, {
178
- onActiveStateChange: this.onActiveStateChange,
179
- style: [style, _reactNative.Platform.OS === 'ios' && {
180
- opacity: this.opacity
181
- }]
182
- }), children);
183
- }
184
- }
185
- exports.BorderlessButton = BorderlessButton;
186
- //# sourceMappingURL=GestureButtons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_createNativeWrapper","_interopRequireDefault","_GestureHandlerButton","_State","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","RawButton","exports","createNativeWrapper","GestureHandlerButton","shouldCancelWhenOutside","shouldActivateOnStart","BaseButton","Component","defaultProps","delayLongPress","constructor","props","lastActive","longPressDetected","handleEvent","nativeEvent","state","oldState","pointerInside","active","State","ACTIVE","onActiveStateChange","CANCELLED","onPress","Platform","OS","BEGAN","onLongPress","longPressTimeout","setTimeout","undefined","clearTimeout","END","FAILED","_this$props$onLongPre","_this$props","onHandlerStateChange","_this$props$onHandler","_this$props2","onGestureEvent","_this$props$onGesture","_this$props3","render","rippleColor","rest","createElement","processColor","AnimatedBaseButton","Animated","createAnimatedComponent","btnStyles","StyleSheet","create","underlay","position","left","right","bottom","top","RectButton","activeOpacity","underlayColor","opacity","Value","_this$props$onActiveS","_this$props4","setValue","children","style","resolvedStyle","flatten","View","backgroundColor","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","BorderlessButton","borderless","_this$props$onActiveS2","_this$props5"],"sourceRoot":"..\\..\\..\\src","sources":["components/GestureButtons.tsx"],"mappings":";;;;;;;;;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,oBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,qBAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAA+D,SAAAG,uBAAAG,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,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ACC,EAAE,KAAK,KAAK,IAAI;QAAEqC,OAAO,EAAE,IAAI,CAACA;MAAQ,CAAC;IAAE,IAElEK,QACiB,CAAC;EAEzB;AACF;AAACnE,OAAA,CAAA8E,gBAAA,GAAAA,gBAAA"}
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _RNGestureHandlerButton = require("./RNGestureHandlerButton");
8
- var _default = exports.default = _RNGestureHandlerButton.RNGestureHandlerButton;
9
- //# sourceMappingURL=GestureHandlerButton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_RNGestureHandlerButton","require","_default","exports","default","RNGestureHandlerButton"],"sourceRoot":"..\\..\\..\\src","sources":["components/GestureHandlerButton.tsx"],"mappings":";;;;;;AAEA,IAAAA,uBAAA,GAAAC,OAAA;AAAkE,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEnDC,8CAAsB"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.RNGestureHandlerButton = void 0;
7
- var _reactNativeHarmony = require("react-native-harmony");
8
- const RNGestureHandlerButton = exports.RNGestureHandlerButton = (0, _reactNativeHarmony.registerViewConfig)('RNGestureHandlerButton', () => ({
9
- uiViewClassName: 'RNGestureHandlerButton',
10
- bubblingEventTypes: {},
11
- directEventTypes: {},
12
- validAttributes: {
13
- ..._reactNativeHarmony.ReactNativeViewAttributes.UIView,
14
- exclusive: true,
15
- foreground: true,
16
- borderless: true,
17
- enabled: true,
18
- rippleColor: true,
19
- rippleRadius: true,
20
- touchSoundDisabled: true
21
- }
22
- }));
23
- //# sourceMappingURL=RNGestureHandlerButton.js.map