@react-native-oh-tpl/react-native-gesture-handler 2.12.6-2 → 2.12.9-1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/harmony/gesture_handler/BuildProfile.ets +6 -0
  2. package/harmony/gesture_handler/build-profile.json5 +13 -2
  3. package/harmony/gesture_handler/hvigorfile.ts +1 -1
  4. package/harmony/gesture_handler/index.ets +1 -1
  5. package/harmony/gesture_handler/oh-package-lock.json5 +18 -0
  6. package/harmony/gesture_handler/oh-package.json5 +10 -11
  7. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +75 -6
  8. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +14 -8
  9. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +4 -28
  10. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentInstance.h +27 -0
  11. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +32 -0
  12. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +17 -12
  13. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +5 -2
  14. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +72 -0
  15. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +4 -28
  16. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +123 -0
  17. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +25 -0
  18. package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +16 -1
  19. package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +2 -2
  20. package/harmony/gesture_handler/src/main/ets/{GestureHandlerArkUIAdapter.ets → GestureHandlerArkUIAdapter.ts} +2 -1
  21. package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +2 -2
  22. package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +5 -5
  23. package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +20 -1
  24. package/harmony/gesture_handler/src/main/ets/{RNGHRootTouchHandler.ets → RNGHRootTouchHandlerArkTS.ts} +5 -3
  25. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +87 -0
  26. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +4 -3
  27. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +65 -7
  28. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +7 -11
  29. package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +17 -5
  30. package/harmony/gesture_handler/src/main/ets/View.ts +1 -1
  31. package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +1 -1
  32. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerButton.ts +140 -0
  33. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +25 -0
  34. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerRootView.ts +101 -0
  35. package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +3 -0
  36. package/harmony/gesture_handler/src/main/ets/types.ts +25 -0
  37. package/harmony/gesture_handler/src/main/module.json5 +6 -6
  38. package/harmony/gesture_handler/ts.ts +2 -1
  39. package/harmony/gesture_handler.har +0 -0
  40. package/lib/commonjs/RNGestureHandlerModule.js +6 -3
  41. package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
  42. package/lib/commonjs/components/GestureHandlerRootView.js +5 -13
  43. package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
  44. package/lib/commonjs/handlers/createHandler.js +31 -28
  45. package/lib/commonjs/handlers/createHandler.js.map +1 -1
  46. package/lib/commonjs/index.js +42 -19
  47. package/lib/commonjs/index.js.map +1 -1
  48. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js +10 -0
  49. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -0
  50. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +11 -0
  51. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
  52. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +11 -0
  53. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
  54. package/lib/module/RNGestureHandlerModule.js +3 -2
  55. package/lib/module/RNGestureHandlerModule.js.map +1 -1
  56. package/lib/module/components/GestureHandlerRootView.js +3 -11
  57. package/lib/module/components/GestureHandlerRootView.js.map +1 -1
  58. package/lib/module/handlers/createHandler.js +20 -19
  59. package/lib/module/handlers/createHandler.js.map +1 -1
  60. package/lib/module/index.js +6 -14
  61. package/lib/module/index.js.map +1 -1
  62. package/lib/module/specs/NativeRNGestureHandlerModule.js +3 -0
  63. package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -0
  64. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js +3 -0
  65. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -0
  66. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js +3 -0
  67. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -0
  68. package/lib/typescript/RNGestureHandlerModule.d.ts +2 -6
  69. package/lib/typescript/RNGestureHandlerModule.d.ts.map +1 -1
  70. package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
  71. package/lib/typescript/components/GestureHandlerRootView.d.ts.map +1 -1
  72. package/lib/typescript/handlers/createHandler.d.ts +11 -11
  73. package/lib/typescript/handlers/createHandler.d.ts.map +1 -1
  74. package/lib/typescript/index.d.ts +9 -8
  75. package/lib/typescript/index.d.ts.map +1 -1
  76. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +15 -0
  77. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts.map +1 -0
  78. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +15 -0
  79. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts.map +1 -0
  80. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +7 -0
  81. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts.map +1 -0
  82. package/package.json +9 -13
  83. package/src/RNGestureHandlerModule.ts +3 -4
  84. package/src/components/GestureHandlerRootView.tsx +4 -15
  85. package/src/handlers/createHandler.tsx +4 -5
  86. package/src/index.ts +13 -13
  87. package/src/specs/NativeRNGestureHandlerModule.ts +26 -0
  88. package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -0
  89. package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -0
  90. package/README.md +0 -1
  91. package/harmony/gesture_handler/LICENSE +0 -21
  92. package/harmony/gesture_handler/OAT.xml +0 -44
  93. package/harmony/gesture_handler/README.OpenSource +0 -11
  94. package/harmony/gesture_handler/README.md +0 -1
  95. package/lib/commonjs/components/GestureButtons.js +0 -186
  96. package/lib/commonjs/components/GestureButtons.js.map +0 -1
  97. package/lib/commonjs/components/GestureHandlerButton.js +0 -9
  98. package/lib/commonjs/components/GestureHandlerButton.js.map +0 -1
  99. package/lib/commonjs/components/RNGestureHandlerButton.js +0 -23
  100. package/lib/commonjs/components/RNGestureHandlerButton.js.map +0 -1
  101. package/lib/commonjs/components/touchables/GenericTouchable.js +0 -247
  102. package/lib/commonjs/components/touchables/GenericTouchable.js.map +0 -1
  103. package/lib/commonjs/components/touchables/TouchableOpacity.js +0 -58
  104. package/lib/commonjs/components/touchables/TouchableOpacity.js.map +0 -1
  105. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js +0 -18
  106. package/lib/commonjs/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  107. package/lib/commonjs/components/touchables/index.js +0 -21
  108. package/lib/commonjs/components/touchables/index.js.map +0 -1
  109. package/lib/commonjs/handlers/NativeViewGestureHandler.js +0 -19
  110. package/lib/commonjs/handlers/NativeViewGestureHandler.js.map +0 -1
  111. package/lib/commonjs/handlers/PanGestureHandler.js +0 -103
  112. package/lib/commonjs/handlers/PanGestureHandler.js.map +0 -1
  113. package/lib/commonjs/handlers/TapGestureHandler.js +0 -22
  114. package/lib/commonjs/handlers/TapGestureHandler.js.map +0 -1
  115. package/lib/commonjs/handlers/createNativeWrapper.js +0 -64
  116. package/lib/commonjs/handlers/createNativeWrapper.js.map +0 -1
  117. package/lib/commonjs/handlers/gestureHandlerCommon.js +0 -22
  118. package/lib/commonjs/handlers/gestureHandlerCommon.js.map +0 -1
  119. package/lib/commonjs/handlers/gestures/GestureDetector.js +0 -554
  120. package/lib/commonjs/handlers/gestures/GestureDetector.js.map +0 -1
  121. package/lib/commonjs/init.js +0 -24
  122. package/lib/commonjs/init.js.map +0 -1
  123. package/lib/module/components/GestureButtons.js +0 -168
  124. package/lib/module/components/GestureButtons.js.map +0 -1
  125. package/lib/module/components/GestureHandlerButton.js +0 -3
  126. package/lib/module/components/GestureHandlerButton.js.map +0 -1
  127. package/lib/module/components/RNGestureHandlerButton.js +0 -17
  128. package/lib/module/components/RNGestureHandlerButton.js.map +0 -1
  129. package/lib/module/components/touchables/GenericTouchable.js +0 -238
  130. package/lib/module/components/touchables/GenericTouchable.js.map +0 -1
  131. package/lib/module/components/touchables/TouchableOpacity.js +0 -49
  132. package/lib/module/components/touchables/TouchableOpacity.js.map +0 -1
  133. package/lib/module/components/touchables/TouchableWithoutFeedback.js +0 -9
  134. package/lib/module/components/touchables/TouchableWithoutFeedback.js.map +0 -1
  135. package/lib/module/components/touchables/index.js +0 -8
  136. package/lib/module/components/touchables/index.js.map +0 -1
  137. package/lib/module/handlers/NativeViewGestureHandler.js +0 -12
  138. package/lib/module/handlers/NativeViewGestureHandler.js.map +0 -1
  139. package/lib/module/handlers/PanGestureHandler.js +0 -92
  140. package/lib/module/handlers/PanGestureHandler.js.map +0 -1
  141. package/lib/module/handlers/TapGestureHandler.js +0 -14
  142. package/lib/module/handlers/TapGestureHandler.js.map +0 -1
  143. package/lib/module/handlers/createNativeWrapper.js +0 -57
  144. package/lib/module/handlers/createNativeWrapper.js.map +0 -1
  145. package/lib/module/handlers/gestureHandlerCommon.js +0 -15
  146. package/lib/module/handlers/gestureHandlerCommon.js.map +0 -1
  147. package/lib/module/handlers/gestures/GestureDetector.js +0 -543
  148. package/lib/module/handlers/gestures/GestureDetector.js.map +0 -1
  149. package/lib/module/init.js +0 -17
  150. package/lib/module/init.js.map +0 -1
  151. package/lib/typescript/components/GestureButtons.d.ts +0 -122
  152. package/lib/typescript/components/GestureButtons.d.ts.map +0 -1
  153. package/lib/typescript/components/GestureHandlerButton.d.ts +0 -5
  154. package/lib/typescript/components/GestureHandlerButton.d.ts.map +0 -1
  155. package/lib/typescript/components/RNGestureHandlerButton.d.ts +0 -2
  156. package/lib/typescript/components/RNGestureHandlerButton.d.ts.map +0 -1
  157. package/lib/typescript/components/touchables/GenericTouchable.d.ts +0 -68
  158. package/lib/typescript/components/touchables/GenericTouchable.d.ts.map +0 -1
  159. package/lib/typescript/components/touchables/TouchableOpacity.d.ts +0 -26
  160. package/lib/typescript/components/touchables/TouchableOpacity.d.ts.map +0 -1
  161. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts +0 -8
  162. package/lib/typescript/components/touchables/TouchableWithoutFeedback.d.ts.map +0 -1
  163. package/lib/typescript/components/touchables/index.d.ts +0 -4
  164. package/lib/typescript/components/touchables/index.d.ts.map +0 -1
  165. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts +0 -29
  166. package/lib/typescript/handlers/NativeViewGestureHandler.d.ts.map +0 -1
  167. package/lib/typescript/handlers/PanGestureHandler.d.ts +0 -140
  168. package/lib/typescript/handlers/PanGestureHandler.d.ts.map +0 -1
  169. package/lib/typescript/handlers/TapGestureHandler.d.ts +0 -58
  170. package/lib/typescript/handlers/TapGestureHandler.d.ts.map +0 -1
  171. package/lib/typescript/handlers/createNativeWrapper.d.ts +0 -4
  172. package/lib/typescript/handlers/createNativeWrapper.d.ts.map +0 -1
  173. package/lib/typescript/handlers/gestureHandlerCommon.d.ts +0 -2
  174. package/lib/typescript/handlers/gestureHandlerCommon.d.ts.map +0 -1
  175. package/lib/typescript/handlers/gestures/GestureDetector.d.ts +0 -24
  176. package/lib/typescript/handlers/gestures/GestureDetector.d.ts.map +0 -1
  177. package/lib/typescript/init.d.ts +0 -3
  178. package/lib/typescript/init.d.ts.map +0 -1
  179. package/src/components/GestureButtons.tsx +0 -334
  180. package/src/components/GestureHandlerButton.tsx +0 -5
  181. package/src/components/RNGestureHandlerButton.tsx +0 -23
  182. package/src/components/touchables/GenericTouchable.tsx +0 -301
  183. package/src/components/touchables/TouchableOpacity.tsx +0 -76
  184. package/src/components/touchables/TouchableWithoutFeedback.tsx +0 -14
  185. package/src/components/touchables/index.ts +0 -7
  186. package/src/handlers/NativeViewGestureHandler.ts +0 -55
  187. package/src/handlers/PanGestureHandler.ts +0 -327
  188. package/src/handlers/TapGestureHandler.ts +0 -95
  189. package/src/handlers/createNativeWrapper.tsx +0 -81
  190. package/src/handlers/gestureHandlerCommon.ts +0 -15
  191. package/src/handlers/gestures/GestureDetector.tsx +0 -823
  192. package/src/init.ts +0 -18
@@ -0,0 +1,101 @@
1
+ // This file was generated.
2
+ import {
3
+ Descriptor as ComponentDescriptor,
4
+ ViewBaseProps,
5
+ ViewRawProps,
6
+ ViewDescriptorWrapperBase,
7
+ ColorValue,
8
+ Color,
9
+ RNInstance,
10
+ Tag,
11
+ RNComponentCommandReceiver,
12
+ ViewPropsSelector,
13
+ } from '@rnoh/react-native-openharmony/ts';
14
+
15
+
16
+ export namespace RNGestureHandlerRootView {
17
+ export const NAME = "RNGestureHandlerRootView" as const
18
+
19
+ export interface DirectRawProps {
20
+ }
21
+
22
+ export interface Props extends ViewBaseProps {}
23
+
24
+ export interface State {}
25
+
26
+ export interface RawProps extends ViewRawProps, DirectRawProps {}
27
+
28
+ export class PropsSelector extends ViewPropsSelector<Props, RawProps> {
29
+
30
+ }
31
+
32
+ export type Descriptor = ComponentDescriptor<
33
+ typeof NAME,
34
+ Props,
35
+ State,
36
+ RawProps
37
+ >;
38
+
39
+ export class DescriptorWrapper extends ViewDescriptorWrapperBase<
40
+ typeof NAME,
41
+ Props,
42
+ State,
43
+ RawProps,
44
+ PropsSelector
45
+ > {
46
+ protected createPropsSelector() {
47
+ return new PropsSelector(this.descriptor.props, this.descriptor.rawProps)
48
+ }
49
+ }
50
+
51
+ export interface EventPayloadByName {
52
+ }
53
+
54
+ export class EventEmitter {
55
+ constructor(private rnInstance: RNInstance, private tag: Tag) {}
56
+
57
+ emit<TEventName extends keyof EventPayloadByName>(eventName: TEventName, payload: EventPayloadByName[TEventName]) {
58
+ this.rnInstance.emitComponentEvent(this.tag, eventName, payload)
59
+ }
60
+ }
61
+
62
+ export interface CommandArgvByName {
63
+ }
64
+
65
+ export class CommandReceiver {
66
+ private listenersByCommandName = new Map<string, Set<(...args: any[]) => void>>()
67
+ private cleanUp: (() => void) | undefined = undefined
68
+
69
+ constructor(private componentCommandReceiver: RNComponentCommandReceiver, private tag: Tag) {
70
+ }
71
+
72
+ subscribe<TCommandName extends keyof CommandArgvByName>(commandName: TCommandName, listener: (argv: CommandArgvByName[TCommandName]) => void) {
73
+ if (!this.listenersByCommandName.has(commandName)) {
74
+ this.listenersByCommandName.set(commandName, new Set())
75
+ }
76
+ this.listenersByCommandName.get(commandName)!.add(listener)
77
+ const hasRegisteredCommandReceiver = !!this.cleanUp
78
+ if (!hasRegisteredCommandReceiver) {
79
+ this.cleanUp = this.componentCommandReceiver.registerCommandCallback(this.tag, (commandName: string, argv: any[]) => {
80
+ if (this.listenersByCommandName.has(commandName)) {
81
+ const listeners = this.listenersByCommandName.get(commandName)!
82
+ listeners.forEach(listener => {
83
+ listener(argv)
84
+ })
85
+ }
86
+ })
87
+ }
88
+
89
+ return () => {
90
+ this.listenersByCommandName.get(commandName)?.delete(listener)
91
+ if (this.listenersByCommandName.get(commandName)?.size ?? 0 === 0) {
92
+ this.listenersByCommandName.delete(commandName)
93
+ }
94
+ if (this.listenersByCommandName.size === 0) {
95
+ this.cleanUp?.()
96
+ }
97
+ }
98
+ }
99
+ }
100
+
101
+ }
@@ -0,0 +1,3 @@
1
+ export * from "./RNGestureHandlerButton"
2
+ export * from "./RNGestureHandlerRootView"
3
+ export * from "./RNGestureHandlerModule"
@@ -0,0 +1,25 @@
1
+ export enum TouchType {
2
+ Down,
3
+ Up,
4
+ Move,
5
+ Cancel
6
+ }
7
+
8
+ interface BaseEvent {
9
+ timestamp: number;
10
+ }
11
+
12
+ export interface TouchObject {
13
+ type: TouchType;
14
+ id: number;
15
+ windowX: number;
16
+ windowY: number;
17
+ x: number;
18
+ y: number;
19
+ }
20
+
21
+ export interface TouchEvent extends BaseEvent {
22
+ type: TouchType;
23
+ touches: TouchObject[];
24
+ changedTouches: TouchObject[];
25
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
- "module": {
3
- "name": "gesture_handler",
4
- "type": "har",
5
- "deviceTypes": ['default'],
6
- }
7
- }
2
+ module: {
3
+ name: 'gesture_handler',
4
+ type: 'har',
5
+ deviceTypes: ['default'],
6
+ },
7
+ }
@@ -1 +1,2 @@
1
- export * from "./src/main/ets/GestureHandlerPackage"
1
+ export * from "./src/main/ets/GestureHandlerPackage"
2
+ export * from "./src/main/ets/RNGestureHandlerModule"
Binary file
@@ -3,7 +3,10 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.RNGestureHandlerModule = void 0;
7
- var _reactNative = require("react-native");
8
- const RNGestureHandlerModule = exports.RNGestureHandlerModule = _reactNative.TurboModuleRegistry.get('RNGestureHandlerModule');
6
+ exports.default = void 0;
7
+ var _NativeRNGestureHandlerModule = _interopRequireDefault(require("../src/specs/NativeRNGestureHandlerModule"));
8
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
+ const RNGestureHandlerModule = _NativeRNGestureHandlerModule.default;
10
+ var _default = RNGestureHandlerModule;
11
+ exports.default = _default;
9
12
  //# sourceMappingURL=RNGestureHandlerModule.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","RNGestureHandlerModule","exports","TurboModuleRegistry","get"],"sourceRoot":"..\\..\\src","sources":["RNGestureHandlerModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAKO,MAAMC,sBAAsB,GAAAC,OAAA,CAAAD,sBAAA,GAAGE,gCAAmB,CAACC,GAAG,CAAO,wBAAwB,CAAE"}
1
+ {"version":3,"names":["_NativeRNGestureHandlerModule","_interopRequireDefault","require","obj","__esModule","default","RNGestureHandlerModule","NativeRNGestureHandlerModule","_default","exports"],"sourceRoot":"../../src","sources":["RNGestureHandlerModule.ts"],"mappings":";;;;;;AAAA,IAAAA,6BAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAqF,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAErF,MAAMG,sBAAsB,GAAGC,qCAA4B;AAAC,IAAAC,QAAA,GAE7CF,sBAAsB;AAAAG,OAAA,CAAAJ,OAAA,GAAAG,QAAA"}
@@ -4,21 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = GestureHandlerRootView;
7
- var _reactNativeHarmony = require("react-native-harmony");
8
7
  var React = _interopRequireWildcard(require("react"));
9
- var _init = require("../init");
8
+ var _init = require("react-native-gesture-handler/src/init");
10
9
  var _GestureHandlerRootViewContext = _interopRequireDefault(require("react-native-gesture-handler/src/GestureHandlerRootViewContext"));
10
+ var _RNGestureHandlerRootViewNativeComponent = _interopRequireDefault(require("../specs/RNGestureHandlerRootViewNativeComponent"));
11
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
12
- 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); }
13
- 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; }
14
- const GestureHandlerRootViewNativeComponent = (0, _reactNativeHarmony.registerViewConfig)('RNGestureHandlerRootView', () => ({
15
- uiViewClassName: 'RNGestureHandlerRootView',
16
- bubblingEventTypes: {},
17
- directEventTypes: {},
18
- validAttributes: {
19
- ..._reactNativeHarmony.ReactNativeViewAttributes.UIView
20
- }
21
- }));
12
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
22
14
  function GestureHandlerRootView(props) {
23
15
  // try initialize fabric on the first render, at this point we can
24
16
  // reliably check if fabric is enabled (the function contains a flag
@@ -26,6 +18,6 @@ function GestureHandlerRootView(props) {
26
18
  (0, _init.maybeInitializeFabric)();
27
19
  return /*#__PURE__*/React.createElement(_GestureHandlerRootViewContext.default.Provider, {
28
20
  value: true
29
- }, /*#__PURE__*/React.createElement(GestureHandlerRootViewNativeComponent, props));
21
+ }, /*#__PURE__*/React.createElement(_RNGestureHandlerRootViewNativeComponent.default, props));
30
22
  }
31
23
  //# sourceMappingURL=GestureHandlerRootView.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNativeHarmony","require","React","_interopRequireWildcard","_init","_GestureHandlerRootViewContext","_interopRequireDefault","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","GestureHandlerRootViewNativeComponent","registerViewConfig","uiViewClassName","bubblingEventTypes","directEventTypes","validAttributes","ReactNativeViewAttributes","UIView","GestureHandlerRootView","props","maybeInitializeFabric","createElement","Provider","value"],"sourceRoot":"..\\..\\..\\src","sources":["components/GestureHandlerRootView.tsx"],"mappings":";;;;;;AAAA,IAAAA,mBAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAC,uBAAA,CAAAF,OAAA;AAGA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,8BAAA,GAAAC,sBAAA,CAAAL,OAAA;AAA2G,SAAAK,uBAAAC,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,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAR,wBAAAQ,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAH,UAAA,SAAAG,CAAA,eAAAA,CAA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3CxC,KAAA,CAAAsC,aAAA,CAACX,qCAAqC,EAAKS,KAAQ,CACb,CAAC;AAE7C"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_init","_GestureHandlerRootViewContext","_interopRequireDefault","_RNGestureHandlerRootViewNativeComponent","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","GestureHandlerRootView","props","maybeInitializeFabric","createElement","Provider","value"],"sourceRoot":"../../../src","sources":["components/GestureHandlerRootView.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AAGA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,8BAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,wCAAA,GAAAD,sBAAA,CAAAH,OAAA;AAAuG,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAV,wBAAAM,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAQ,KAAA,GAAAL,wBAAA,CAAAC,WAAA,OAAAI,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAnB,GAAA,EAAAgB,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAf,GAAA,EAAAgB,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAhB,GAAA,CAAAgB,GAAA,SAAAL,MAAA,CAAAT,OAAA,GAAAF,GAAA,MAAAQ,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAArB,GAAA,EAAAW,MAAA,YAAAA,MAAA;AAIxF,SAASW,sBAAsBA,CAC5CC,KAAkC,EAClC;EACA;EACA;EACA;EACA,IAAAC,2BAAqB,EAAC,CAAC;EAEvB,oBACE/B,KAAA,CAAAgC,aAAA,CAAC5B,8BAAA,CAAAK,OAA6B,CAACwB,QAAQ;IAACC,KAAK;EAAA,gBAC3ClC,KAAA,CAAAgC,aAAA,CAAC1B,wCAAA,CAAAG,OAAuC,EAAKqB,KAAQ,CACf,CAAC;AAE7C"}
@@ -7,11 +7,10 @@ exports.default = createHandler;
7
7
  var React = _interopRequireWildcard(require("react"));
8
8
  var _reactNative = require("react-native");
9
9
  var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
10
- var _RNGestureHandlerModule = require("../RNGestureHandlerModule");
10
+ var _RNGestureHandlerModule = _interopRequireDefault(require("../RNGestureHandlerModule"));
11
11
  var _State = require("react-native-gesture-handler/src/State");
12
12
  var _handlersRegistry = require("react-native-gesture-handler/src/handlers/handlersRegistry");
13
13
  var _gestureHandlerCommon = require("react-native-gesture-handler/src/handlers/gestureHandlerCommon");
14
- var _gestureHandlerCommon2 = require("../handlers/gestureHandlerCommon");
15
14
  var _utils = require("react-native-gesture-handler/src/utils");
16
15
  var _ActionType = require("react-native-gesture-handler/src/ActionType");
17
16
  var _PressabilityDebugView = require("react-native-gesture-handler/src/handlers/PressabilityDebugView");
@@ -19,10 +18,9 @@ var _GestureHandlerRootViewContext = _interopRequireDefault(require("react-nativ
19
18
  var _UIManagerAny$getView, _UIManagerAny$getCons; // RNGH: patching the import to RNGestureHandlerModule
20
19
  // @ts-ignore - it isn't typed by TS & don't have definitelyTyped types
21
20
  // RNGH: patch
22
- // RNGH: patch
23
21
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
24
- 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); }
25
- 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 _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
24
  const UIManagerAny = _reactNative.UIManager;
27
25
  const customGHEventsConfigFabricAndroid = {
28
26
  topOnGestureHandlerEvent: {
@@ -47,7 +45,9 @@ const customGHEventsConfig = {
47
45
  // The incoming events will be queued but never handled.
48
46
  // Without this piece of code below, you'll get the following JS error:
49
47
  // Unsupported top level event type "topOnGestureHandlerEvent" dispatched
50
- ...((0, _utils.isFabric)() && _reactNative.Platform.OS === 'android' && customGHEventsConfigFabricAndroid)
48
+ ...((0, _utils.isFabric)() && _reactNative.Platform.OS === 'harmony' &&
49
+ // RNGH: patch
50
+ customGHEventsConfigFabricAndroid)
51
51
  };
52
52
 
53
53
  // Add gesture specific events to genericDirectEventTypes object exported from UIManager
@@ -79,11 +79,11 @@ const {
79
79
  }
80
80
  } = UIManagerAny;
81
81
  UIManagerAny.setJSResponder = (tag, blockNativeResponder) => {
82
- _RNGestureHandlerModule.RNGestureHandlerModule.handleSetJSResponder(tag, blockNativeResponder);
82
+ _RNGestureHandlerModule.default.handleSetJSResponder(tag, blockNativeResponder);
83
83
  oldSetJSResponder(tag, blockNativeResponder);
84
84
  };
85
85
  UIManagerAny.clearJSResponder = () => {
86
- _RNGestureHandlerModule.RNGestureHandlerModule.handleClearJSResponder();
86
+ _RNGestureHandlerModule.default.handleClearJSResponder();
87
87
  oldClearJSResponder();
88
88
  };
89
89
  let allowTouches = true;
@@ -119,13 +119,14 @@ const stateToPropMappings = {
119
119
  const UNRESOLVED_REFS_RETRY_LIMIT = 1;
120
120
 
121
121
  // TODO(TS) - make sure that BaseGestureHandlerProps doesn't need other generic parameter to work with custom properties.
122
- function createHandler({
123
- name,
124
- allowedProps = [],
125
- config = {},
126
- transformProps,
127
- customNativeProps = []
128
- }) {
122
+ function createHandler(_ref) {
123
+ let {
124
+ name,
125
+ allowedProps = [],
126
+ config = {},
127
+ transformProps,
128
+ customNativeProps = []
129
+ } = _ref;
129
130
  class Handler extends React.Component {
130
131
  static displayName = name;
131
132
  static contextType = _GestureHandlerRootViewContext.default;
@@ -170,19 +171,21 @@ function createHandler({
170
171
  this.createGestureHandler((0, _gestureHandlerCommon.filterConfig)(transformProps ? transformProps(this.props) : this.props, [...allowedProps, ...customNativeProps], config));
171
172
  this.attachGestureHandler((0, _gestureHandlerCommon.findNodeHandle)(this.viewNode)); // TODO(TS) - check if this can be null
172
173
  }
174
+
173
175
  componentDidUpdate() {
174
176
  const viewTag = (0, _gestureHandlerCommon.findNodeHandle)(this.viewNode);
175
177
  if (this.viewTag !== viewTag) {
176
178
  this.attachGestureHandler(viewTag); // TODO(TS) - check interaction between _viewTag & findNodeHandle
177
179
  }
180
+
178
181
  this.update(UNRESOLVED_REFS_RETRY_LIMIT);
179
182
  }
180
183
  componentWillUnmount() {
181
184
  var _this$inspectorToggle;
182
- (_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 || _this$inspectorToggle.remove();
185
+ (_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 ? void 0 : _this$inspectorToggle.remove();
183
186
  this.isMountedRef.current = false;
184
- _RNGestureHandlerModule.RNGestureHandlerModule.dropGestureHandler(this.handlerTag);
185
- (0, _gestureHandlerCommon2.scheduleFlushOperations)();
187
+ _RNGestureHandlerModule.default.dropGestureHandler(this.handlerTag);
188
+ (0, _gestureHandlerCommon.scheduleFlushOperations)();
186
189
  // We can't use this.props.id directly due to TS generic type narrowing bug, see https://github.com/microsoft/TypeScript/issues/13995 for more context
187
190
  const handlerID = this.props.id;
188
191
  if (handlerID) {
@@ -194,11 +197,11 @@ function createHandler({
194
197
  if (event.nativeEvent.handlerTag === this.handlerTag) {
195
198
  if (typeof this.props.onGestureEvent === 'function') {
196
199
  var _this$props$onGesture, _this$props;
197
- (_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 || _this$props$onGesture.call(_this$props, event);
200
+ (_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 ? void 0 : _this$props$onGesture.call(_this$props, event);
198
201
  }
199
202
  } else {
200
203
  var _this$props$onGesture2, _this$props2;
201
- (_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 || _this$props$onGesture2.call(_this$props2, event);
204
+ (_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 ? void 0 : _this$props$onGesture2.call(_this$props2, event);
202
205
  }
203
206
  };
204
207
 
@@ -207,7 +210,7 @@ function createHandler({
207
210
  if (event.nativeEvent.handlerTag === this.handlerTag) {
208
211
  if (typeof this.props.onHandlerStateChange === 'function') {
209
212
  var _this$props$onHandler, _this$props3;
210
- (_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 || _this$props$onHandler.call(_this$props3, event);
213
+ (_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 ? void 0 : _this$props$onHandler.call(_this$props3, event);
211
214
  }
212
215
  const state = event.nativeEvent.state;
213
216
  const stateEventName = stateToPropMappings[state];
@@ -217,7 +220,7 @@ function createHandler({
217
220
  }
218
221
  } else {
219
222
  var _this$props$onGesture3, _this$props4;
220
- (_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 || _this$props$onGesture3.call(_this$props4, event);
223
+ (_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 ? void 0 : _this$props$onGesture3.call(_this$props4, event);
221
224
  }
222
225
  };
223
226
  refHandler = node => {
@@ -237,13 +240,13 @@ function createHandler({
237
240
  };
238
241
  createGestureHandler = newConfig => {
239
242
  this.config = newConfig;
240
- _RNGestureHandlerModule.RNGestureHandlerModule.createGestureHandler(name, this.handlerTag, newConfig);
243
+ _RNGestureHandlerModule.default.createGestureHandler(name, this.handlerTag, newConfig);
241
244
  };
242
245
  attachGestureHandler = newViewTag => {
243
246
  this.viewTag = newViewTag;
244
247
  if (_reactNative.Platform.OS === 'web') {
245
248
  // typecast due to dynamic resolution, attachGestureHandler should have web version signature in this branch
246
- _RNGestureHandlerModule.RNGestureHandlerModule.attachGestureHandler(this.handlerTag, newViewTag, _ActionType.ActionType.JS_FUNCTION_OLD_API,
249
+ _RNGestureHandlerModule.default.attachGestureHandler(this.handlerTag, newViewTag, _ActionType.ActionType.JS_FUNCTION_OLD_API,
247
250
  // ignored on web
248
251
  this.propsRef);
249
252
  } else {
@@ -263,14 +266,14 @@ function createHandler({
263
266
  return _ActionType.ActionType.JS_FUNCTION_OLD_API;
264
267
  }
265
268
  })();
266
- _RNGestureHandlerModule.RNGestureHandlerModule.attachGestureHandler(this.handlerTag, newViewTag, actionType);
269
+ _RNGestureHandlerModule.default.attachGestureHandler(this.handlerTag, newViewTag, actionType);
267
270
  }
268
- (0, _gestureHandlerCommon2.scheduleFlushOperations)();
271
+ (0, _gestureHandlerCommon.scheduleFlushOperations)();
269
272
  };
270
273
  updateGestureHandler = newConfig => {
271
274
  this.config = newConfig;
272
- _RNGestureHandlerModule.RNGestureHandlerModule.updateGestureHandler(this.handlerTag, newConfig);
273
- (0, _gestureHandlerCommon2.scheduleFlushOperations)();
275
+ _RNGestureHandlerModule.default.updateGestureHandler(this.handlerTag, newConfig);
276
+ (0, _gestureHandlerCommon.scheduleFlushOperations)();
274
277
  };
275
278
  update(remainingTries) {
276
279
  if (!this.isMountedRef.current) {
@@ -1 +1 @@
1
- {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_isEqual","_interopRequireDefault","_RNGestureHandlerModule","_State","_handlersRegistry","_gestureHandlerCommon","_gestureHandlerCommon2","_utils","_ActionType","_PressabilityDebugView","_GestureHandlerRootViewContext","_UIManagerAny$getView","_UIManagerAny$getCons","obj","__esModule","default","_getRequireWildcardCache","e","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","UIManagerAny","UIManager","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","isFabric","Platform","OS","genericDirectEventTypes","UIManagerConstants","getViewManagerConfig","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","RNGestureHandlerModule","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","DeviceEventEmitter","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","stateToPropMappings","State","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","GestureHandlerRootViewContext","constructor","handlerTag","getNextHandlerTag","propsRef","createRef","isMountedRef","state","id","handlerIDToTag","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","filterConfig","attachGestureHandler","findNodeHandle","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","scheduleFlushOperations","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","ActionType","JS_FUNCTION_OLD_API","registerOldGestureHandler","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","deepEqual","setNativeProps","updates","mergedProps","render","context","isJestEnv","gestureEventHandler","gestureStateEventHandler","events","tagMessage","grandChildren","type","toArray","push","createElement","PressabilityDebugView","key","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"..\\..\\..\\src","sources":["handlers/createHandler.tsx"],"mappings":";;;;;;AAEA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,QAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AAMA,IAAAO,qBAAA,GAAAP,OAAA;AAQA,IAAAQ,sBAAA,GAAAR,OAAA;AAEA,IAAAS,MAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AACA,IAAAW,sBAAA,GAAAX,OAAA;AACA,IAAAY,8BAAA,GAAAT,sBAAA,CAAAH,OAAA;AAA2G,IAAAa,qBAAA,EAAAC,qBAAA,EAjC3G;AASA;AAEkE;AAiBS;AAAA,SAAAX,uBAAAY,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,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAApB,wBAAAoB,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAH,UAAA,SAAAG,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAF,OAAA,EAAAE,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAA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a,CAAC;QACrDA,aAAa,CAACG,IAAI,eAChBhL,KAAA,CAAAiL,aAAA,CAACpK,sBAAA,CAAAqK,qBAAqB;UACpBC,GAAG,EAAC,uBAAuB;UAC3BC,KAAK,EAAC,mBAAmB;UACzBC,OAAO,EAAEtC,KAAK,CAACzE,KAAK,CAAC+G;QAAQ,CAC9B,CACH,CAAC;MACH;MAEA,oBAAOrL,KAAK,CAACsL,YAAY,CACvBvC,KAAK,EACL;QACEI,GAAG,EAAE,IAAI,CAACN,UAAU;QACpB0C,WAAW,EAAE,KAAK;QAClB,IAAI,IAAAf,gBAAS,EAAC,CAAC,GACX;UACEgB,WAAW,EAAEhG,IAAI;UACjBW,UAAU,EAAE,IAAI,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACPsF,MAAM,EAAE,IAAI,CAACnH,KAAK,CAACmH,MAAM,IAAI1C,KAAK,CAACzE,KAAK,CAACmH,MAAM;QAC/C,GAAGd;MACL,CAAC,EACDE,aACF,CAAC;IACH;EACF;EACA,OAAOhF,OAAO;AAChB"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_isEqual","_interopRequireDefault","_RNGestureHandlerModule","_State","_handlersRegistry","_gestureHandlerCommon","_utils","_ActionType","_PressabilityDebugView","_GestureHandlerRootViewContext","_UIManagerAny$getView","_UIManagerAny$getCons","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","UIManagerAny","UIManager","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","isFabric","Platform","OS","genericDirectEventTypes","UIManagerConstants","getViewManagerConfig","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","RNGestureHandlerModule","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","DeviceEventEmitter","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","r","stateToPropMappings","State","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","_ref","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","GestureHandlerRootViewContext","constructor","handlerTag","getNextHandlerTag","propsRef","createRef","isMountedRef","state","id","handlerIDToTag","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","filterConfig","attachGestureHandler","findNodeHandle","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","scheduleFlushOperations","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","ActionType","JS_FUNCTION_OLD_API","registerOldGestureHandler","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","deepEqual","setNativeProps","updates","mergedProps","render","context","isJestEnv","gestureEventHandler","gestureStateEventHandler","events","e","tagMessage","grandChildren","type","toArray","push","createElement","PressabilityDebugView","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"../../../src","sources":["handlers/createHandler.tsx"],"mappings":";;;;;;AAEA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,QAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,uBAAA,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AAMA,IAAAO,qBA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,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACPsF,MAAM,EAAE,IAAI,CAACrH,KAAK,CAACqH,MAAM,IAAI1C,KAAK,CAAC3E,KAAK,CAACqH,MAAM;QAC/C,GAAGd;MACL,CAAC,EACDG,aACF,CAAC;IACH;EACF;EACA,OAAOjF,OAAO;AAChB"}
@@ -3,6 +3,18 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "DrawerLayoutAndroid", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _GestureComponents.DrawerLayoutAndroid;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "FlatList", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _GestureComponents.FlatList;
16
+ }
17
+ });
6
18
  Object.defineProperty(exports, "Gesture", {
7
19
  enumerable: true,
8
20
  get: function () {
@@ -27,18 +39,42 @@ Object.defineProperty(exports, "PanGestureHandler", {
27
39
  return _PanGestureHandler.PanGestureHandler;
28
40
  }
29
41
  });
42
+ Object.defineProperty(exports, "RefreshControl", {
43
+ enumerable: true,
44
+ get: function () {
45
+ return _GestureComponents.RefreshControl;
46
+ }
47
+ });
48
+ Object.defineProperty(exports, "ScrollView", {
49
+ enumerable: true,
50
+ get: function () {
51
+ return _GestureComponents.ScrollView;
52
+ }
53
+ });
30
54
  Object.defineProperty(exports, "State", {
31
55
  enumerable: true,
32
56
  get: function () {
33
57
  return _State.State;
34
58
  }
35
59
  });
60
+ Object.defineProperty(exports, "Switch", {
61
+ enumerable: true,
62
+ get: function () {
63
+ return _GestureComponents.Switch;
64
+ }
65
+ });
36
66
  Object.defineProperty(exports, "TapGestureHandler", {
37
67
  enumerable: true,
38
68
  get: function () {
39
69
  return _TapGestureHandler.TapGestureHandler;
40
70
  }
41
71
  });
72
+ Object.defineProperty(exports, "TextInput", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _GestureComponents.TextInput;
76
+ }
77
+ });
42
78
  Object.defineProperty(exports, "TouchableOpacity", {
43
79
  enumerable: true,
44
80
  get: function () {
@@ -51,14 +87,15 @@ Object.defineProperty(exports, "TouchableWithoutFeedback", {
51
87
  return _touchables.TouchableWithoutFeedback;
52
88
  }
53
89
  });
54
- var _init = require("./init");
90
+ var _init = require("react-native-gesture-handler/src/init");
55
91
  var _State = require("react-native-gesture-handler/src/State");
56
92
  var _GestureHandlerRootView = _interopRequireDefault(require("./components/GestureHandlerRootView"));
57
- var _TapGestureHandler = require("./handlers/TapGestureHandler");
58
- var _PanGestureHandler = require("./handlers/PanGestureHandler");
59
- var _GestureDetector = require("./handlers/gestures/GestureDetector");
93
+ var _TapGestureHandler = require("react-native-gesture-handler/src/handlers/TapGestureHandler");
94
+ var _PanGestureHandler = require("react-native-gesture-handler/src/handlers/PanGestureHandler");
95
+ var _GestureDetector = require("react-native-gesture-handler/src/handlers/gestures/GestureDetector");
60
96
  var _gestureObjects = require("react-native-gesture-handler/src/handlers/gestures/gestureObjects");
61
- var _touchables = require("./components/touchables");
97
+ var _touchables = require("react-native-gesture-handler/src/components/touchables");
98
+ var _GestureComponents = require("react-native-gesture-handler/src/components/GestureComponents");
62
99
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
63
100
  global.isFormsStackingContext = () => true; // TODO: add using JSI
64
101
 
@@ -80,7 +117,6 @@ global.isFormsStackingContext = () => true; // TODO: add using JSI
80
117
  // GestureUpdateEvent,
81
118
  // GestureStateChangeEvent,
82
119
  // } from './handlers/gestureHandlerCommon';
83
-
84
120
  // export type {
85
121
  // TapGestureHandlerEventPayload,
86
122
  // TapGestureHandlerProps,
@@ -112,10 +148,8 @@ global.isFormsStackingContext = () => true; // TODO: add using JSI
112
148
  // FlingGestureHandlerEventPayload,
113
149
  // FlingGestureHandlerProps,
114
150
  // } from './handlers/FlingGestureHandler';
115
-
116
151
  // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
117
152
  // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
118
-
119
153
  // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
120
154
  // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
121
155
  // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
@@ -124,7 +158,6 @@ global.isFormsStackingContext = () => true; // TODO: add using JSI
124
158
  // NativeViewGestureHandlerPayload,
125
159
  // NativeViewGestureHandlerProps,
126
160
  // } from './handlers/NativeViewGestureHandler';
127
-
128
161
  // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
129
162
  // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
130
163
  // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
@@ -155,15 +188,6 @@ global.isFormsStackingContext = () => true; // TODO: add using JSI
155
188
  // BorderlessButton,
156
189
  // PureNativeButton,
157
190
  // } from './components/GestureButtons';
158
-
159
- // export {
160
- // ScrollView,
161
- // Switch,
162
- // TextInput,
163
- // DrawerLayoutAndroid,
164
- // FlatList,
165
- // RefreshControl,
166
- // } from './components/GestureComponents';
167
191
  // export type {
168
192
  // //events
169
193
  // GestureHandlerGestureEvent,
@@ -218,6 +242,5 @@ global.isFormsStackingContext = () => true; // TODO: add using JSI
218
242
  // enableExperimentalWebImplementation,
219
243
  // enableLegacyWebImplementation,
220
244
  // } from './EnableNewWebImplementation';
221
-
222
245
  (0, _init.initialize)();
223
246
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"names":["_init","require","_State","_GestureHandlerRootView","_interopRequireDefault","_TapGestureHandler","_PanGestureHandler","_GestureDetector","_gestureObjects","_touchables","_GestureComponents","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;AAMA,IAAAS,kBAAA,GAAAT,OAAA;AAOuE,SAAAG,uBAAAO,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AA/GvEG,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;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;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"}