@react-native-oh-tpl/react-native-gesture-handler 2.12.9 → 2.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. package/DrawerLayout/index.ts +2 -0
  2. package/Swipeable/index.ts +2 -0
  3. package/harmony/gesture_handler.har +0 -0
  4. package/lib/commonjs/RNGestureHandlerModule.js +2 -3
  5. package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
  6. package/lib/commonjs/components/GestureHandlerRootView.js +3 -3
  7. package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
  8. package/lib/commonjs/handlers/createHandler.js +15 -18
  9. package/lib/commonjs/handlers/createHandler.js.map +1 -1
  10. package/lib/commonjs/index.js +94 -137
  11. package/lib/commonjs/index.js.map +1 -1
  12. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js +1 -2
  13. package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -1
  14. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +2 -3
  15. package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
  16. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +2 -3
  17. package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
  18. package/lib/module/RNGestureHandlerModule.js.map +1 -1
  19. package/lib/module/components/GestureHandlerRootView.js.map +1 -1
  20. package/lib/module/handlers/createHandler.js +12 -15
  21. package/lib/module/handlers/createHandler.js.map +1 -1
  22. package/lib/module/index.js +10 -141
  23. package/lib/module/index.js.map +1 -1
  24. package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
  25. package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
  26. package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
  27. package/lib/typescript/RNGestureHandlerModule.d.ts +2 -2
  28. package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
  29. package/lib/typescript/handlers/createHandler.d.ts +11 -11
  30. package/lib/typescript/index.d.ts +42 -9
  31. package/lib/typescript/index.d.ts.map +1 -1
  32. package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +14 -14
  33. package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +14 -14
  34. package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +6 -6
  35. package/package.json +74 -66
  36. package/src/RNGestureHandlerModule.ts +4 -4
  37. package/src/components/GestureHandlerRootView.tsx +23 -23
  38. package/src/handlers/createHandler.tsx +534 -534
  39. package/src/index.ts +172 -172
  40. package/src/specs/NativeRNGestureHandlerModule.ts +26 -26
  41. package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -18
  42. package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -6
  43. package/harmony/gesture_handler/BuildProfile.ets +0 -5
  44. package/harmony/gesture_handler/build-profile.json5 +0 -19
  45. package/harmony/gesture_handler/hvigorfile.ts +0 -2
  46. package/harmony/gesture_handler/index.ets +0 -3
  47. package/harmony/gesture_handler/oh-package-lock.json5 +0 -17
  48. package/harmony/gesture_handler/oh-package.json5 +0 -12
  49. package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +0 -8
  50. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +0 -103
  51. package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +0 -21
  52. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +0 -36
  53. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentInstance.h +0 -27
  54. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +0 -32
  55. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +0 -22
  56. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +0 -15
  57. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerPackage.h +0 -72
  58. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +0 -36
  59. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentInstance.h +0 -78
  60. package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +0 -25
  61. package/harmony/gesture_handler/src/main/ets/CircularBuffer.ts +0 -42
  62. package/harmony/gesture_handler/src/main/ets/Event.ts +0 -68
  63. package/harmony/gesture_handler/src/main/ets/EventDispatcher.ts +0 -53
  64. package/harmony/gesture_handler/src/main/ets/GestureHandler.ts +0 -663
  65. package/harmony/gesture_handler/src/main/ets/GestureHandlerArkUIAdapter.ts +0 -203
  66. package/harmony/gesture_handler/src/main/ets/GestureHandlerFactory.ts +0 -45
  67. package/harmony/gesture_handler/src/main/ets/GestureHandlerOrchestrator.ts +0 -280
  68. package/harmony/gesture_handler/src/main/ets/GestureHandlerPackage.ts +0 -22
  69. package/harmony/gesture_handler/src/main/ets/GestureHandlerRegistry.ts +0 -28
  70. package/harmony/gesture_handler/src/main/ets/InteractionManager.ts +0 -109
  71. package/harmony/gesture_handler/src/main/ets/LeastSquareSolver.ts +0 -182
  72. package/harmony/gesture_handler/src/main/ets/NativeViewGestureHandler.ts +0 -115
  73. package/harmony/gesture_handler/src/main/ets/OutgoingEvent.ts +0 -34
  74. package/harmony/gesture_handler/src/main/ets/PanGestureHandler.ts +0 -328
  75. package/harmony/gesture_handler/src/main/ets/PointerTracker.ts +0 -239
  76. package/harmony/gesture_handler/src/main/ets/RNGHError.ts +0 -5
  77. package/harmony/gesture_handler/src/main/ets/RNGHLogger.ts +0 -48
  78. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerArkTS.ts +0 -60
  79. package/harmony/gesture_handler/src/main/ets/RNGHRootTouchHandlerCAPI.ts +0 -87
  80. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerButton.ets +0 -38
  81. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerModule.ts +0 -183
  82. package/harmony/gesture_handler/src/main/ets/RNGestureHandlerRootView.ets +0 -53
  83. package/harmony/gesture_handler/src/main/ets/RNOHScrollLocker.ts +0 -23
  84. package/harmony/gesture_handler/src/main/ets/State.ts +0 -47
  85. package/harmony/gesture_handler/src/main/ets/TapGestureHandler.ts +0 -206
  86. package/harmony/gesture_handler/src/main/ets/Vector2D.ts +0 -36
  87. package/harmony/gesture_handler/src/main/ets/VelocityTracker.ts +0 -98
  88. package/harmony/gesture_handler/src/main/ets/View.ts +0 -71
  89. package/harmony/gesture_handler/src/main/ets/ViewRegistry.ts +0 -43
  90. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerButton.ts +0 -140
  91. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +0 -25
  92. package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerRootView.ts +0 -101
  93. package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +0 -3
  94. package/harmony/gesture_handler/src/main/ets/pages/Index.ets +0 -17
  95. package/harmony/gesture_handler/src/main/ets/types.ts +0 -25
  96. package/harmony/gesture_handler/src/main/ets/webviewability/WebviewAbility.ts +0 -41
  97. package/harmony/gesture_handler/src/main/module.json5 +0 -7
  98. package/harmony/gesture_handler/src/main/resources/base/element/color.json +0 -8
  99. package/harmony/gesture_handler/src/main/resources/base/element/string.json +0 -16
  100. package/harmony/gesture_handler/src/main/resources/base/media/icon.png +0 -0
  101. package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +0 -5
  102. package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +0 -16
  103. package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +0 -16
  104. package/harmony/gesture_handler/ts.ts +0 -2
@@ -0,0 +1,2 @@
1
+ import DrawerLayout from 'react-native-gesture-handler/DrawerLayout';
2
+ export default DrawerLayout;
@@ -0,0 +1,2 @@
1
+ import Swipeable from 'react-native-gesture-handler/Swipeable';
2
+ export default Swipeable;
Binary file
@@ -5,8 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _NativeRNGestureHandlerModule = _interopRequireDefault(require("../src/specs/NativeRNGestureHandlerModule"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
9
  const RNGestureHandlerModule = _NativeRNGestureHandlerModule.default;
10
- var _default = RNGestureHandlerModule;
11
- exports.default = _default;
10
+ var _default = exports.default = RNGestureHandlerModule;
12
11
  //# sourceMappingURL=RNGestureHandlerModule.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"names":["_NativeRNGestureHandlerModule","_interopRequireDefault","require","e","__esModule","default","RNGestureHandlerModule","NativeRNGestureHandlerModule","_default","exports"],"sourceRoot":"..\\..\\src","sources":["RNGestureHandlerModule.ts"],"mappings":";;;;;;AAAA,IAAAA,6BAAA,GAAAC,sBAAA,CAAAC,OAAA;AAAqF,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAErF,MAAMG,sBAAsB,GAAGC,qCAA4B;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAJ,OAAA,GAE7CC,sBAAsB","ignoreList":[]}
@@ -8,9 +8,9 @@ var React = _interopRequireWildcard(require("react"));
8
8
  var _init = require("react-native-gesture-handler/src/init");
9
9
  var _GestureHandlerRootViewContext = _interopRequireDefault(require("react-native-gesture-handler/src/GestureHandlerRootViewContext"));
10
10
  var _RNGestureHandlerRootViewNativeComponent = _interopRequireDefault(require("../specs/RNGestureHandlerRootViewNativeComponent"));
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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; }
11
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
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 && {}.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
14
  function GestureHandlerRootView(props) {
15
15
  // try initialize fabric on the first render, at this point we can
16
16
  // reliably check if fabric is enabled (the function contains a flag
@@ -1 +1 @@
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"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_init","_GestureHandlerRootViewContext","_interopRequireDefault","_RNGestureHandlerRootViewNativeComponent","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","GestureHandlerRootView","props","maybeInitializeFabric","createElement","Provider","value"],"sourceRoot":"..\\..\\..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AA,CAAAM,CAAA,IAAAf,CAAA,CAAAe,CAAA,YAAAN,CAAA,CAAAP,OAAA,GAAAF,CAAA,EAAAM,CAAA,IAAAA,CAAA,CAAAa,GAAA,CAAAnB,CAAA,EAAAS,CAAA,GAAAA,CAAA;AAIxF,SAASW,sBAAsBA,CAC5CC,KAAkC,EAClC;EACA;EACA;EACA;EACA,IAAAC,2BAAqB,EAAC,CAAC;EAEvB,oBACE7B,KAAA,CAAA8B,aAAA,CAAC1B,8BAAA,CAAAK,OAA6B,CAACsB,QAAQ;IAACC,KAAK;EAAA,gBAC3ChC,KAAA,CAAA8B,aAAA,CAACxB,wCAAA,CAAAG,OAAuC,EAAKmB,KAAQ,CACf,CAAC;AAE7C","ignoreList":[]}
@@ -18,9 +18,9 @@ var _GestureHandlerRootViewContext = _interopRequireDefault(require("react-nativ
18
18
  var _UIManagerAny$getView, _UIManagerAny$getCons; // RNGH: patching the import to RNGestureHandlerModule
19
19
  // @ts-ignore - it isn't typed by TS & don't have definitelyTyped types
20
20
  // RNGH: patch
21
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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; }
21
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
22
+ 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); }
23
+ 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 && {}.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; }
24
24
  const UIManagerAny = _reactNative.UIManager;
25
25
  const customGHEventsConfigFabricAndroid = {
26
26
  topOnGestureHandlerEvent: {
@@ -119,14 +119,13 @@ 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(_ref) {
123
- let {
124
- name,
125
- allowedProps = [],
126
- config = {},
127
- transformProps,
128
- customNativeProps = []
129
- } = _ref;
122
+ function createHandler({
123
+ name,
124
+ allowedProps = [],
125
+ config = {},
126
+ transformProps,
127
+ customNativeProps = []
128
+ }) {
130
129
  class Handler extends React.Component {
131
130
  static displayName = name;
132
131
  static contextType = _GestureHandlerRootViewContext.default;
@@ -171,18 +170,16 @@ function createHandler(_ref) {
171
170
  this.createGestureHandler((0, _gestureHandlerCommon.filterConfig)(transformProps ? transformProps(this.props) : this.props, [...allowedProps, ...customNativeProps], config));
172
171
  this.attachGestureHandler((0, _gestureHandlerCommon.findNodeHandle)(this.viewNode)); // TODO(TS) - check if this can be null
173
172
  }
174
-
175
173
  componentDidUpdate() {
176
174
  const viewTag = (0, _gestureHandlerCommon.findNodeHandle)(this.viewNode);
177
175
  if (this.viewTag !== viewTag) {
178
176
  this.attachGestureHandler(viewTag); // TODO(TS) - check interaction between _viewTag & findNodeHandle
179
177
  }
180
-
181
178
  this.update(UNRESOLVED_REFS_RETRY_LIMIT);
182
179
  }
183
180
  componentWillUnmount() {
184
181
  var _this$inspectorToggle;
185
- (_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 ? void 0 : _this$inspectorToggle.remove();
182
+ (_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 || _this$inspectorToggle.remove();
186
183
  this.isMountedRef.current = false;
187
184
  _RNGestureHandlerModule.default.dropGestureHandler(this.handlerTag);
188
185
  (0, _gestureHandlerCommon.scheduleFlushOperations)();
@@ -197,11 +194,11 @@ function createHandler(_ref) {
197
194
  if (event.nativeEvent.handlerTag === this.handlerTag) {
198
195
  if (typeof this.props.onGestureEvent === 'function') {
199
196
  var _this$props$onGesture, _this$props;
200
- (_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 ? void 0 : _this$props$onGesture.call(_this$props, event);
197
+ (_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 || _this$props$onGesture.call(_this$props, event);
201
198
  }
202
199
  } else {
203
200
  var _this$props$onGesture2, _this$props2;
204
- (_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 ? void 0 : _this$props$onGesture2.call(_this$props2, event);
201
+ (_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 || _this$props$onGesture2.call(_this$props2, event);
205
202
  }
206
203
  };
207
204
 
@@ -210,7 +207,7 @@ function createHandler(_ref) {
210
207
  if (event.nativeEvent.handlerTag === this.handlerTag) {
211
208
  if (typeof this.props.onHandlerStateChange === 'function') {
212
209
  var _this$props$onHandler, _this$props3;
213
- (_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 ? void 0 : _this$props$onHandler.call(_this$props3, event);
210
+ (_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 || _this$props$onHandler.call(_this$props3, event);
214
211
  }
215
212
  const state = event.nativeEvent.state;
216
213
  const stateEventName = stateToPropMappings[state];
@@ -220,7 +217,7 @@ function createHandler(_ref) {
220
217
  }
221
218
  } else {
222
219
  var _this$props$onGesture3, _this$props4;
223
- (_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 ? void 0 : _this$props$onGesture3.call(_this$props4, event);
220
+ (_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 || _this$props$onGesture3.call(_this$props4, event);
224
221
  }
225
222
  };
226
223
  refHandler = node => {
@@ -1 +1 @@
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,qBAAA,GAAAP,OAAA;AASA,IAAAQ,MAAA,GA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AC;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"}
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_isEqual","_interopRequireDefault","_RNGestureHandlerModule","_State","_handlersRegistry","_gestureHandlerCommon","_utils","_ActionType","_PressabilityDebugView","_GestureHandlerRootViewContext","_UIManagerAny$getView","_UIManagerAny$getCons","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","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,GAAAD,sBAAA,CAAAH,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,iBAAA,GAAAN,OAAA;AAMA,IAAAO,qBAAA,GAAAP,OAAA;AASA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AACA,IAAAU,sBAAA,GAAAV,OAAA;AACA,IAAAW,8BAAA,GAAAR,sBAAA,CAAAH,OAAA;AAA2G,IAAAY,qBAAA,EAAAC,qBAAA,EAhC3G;AASA;AAEgE;AAAA,SAAAV,uBAAAW,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAf,wBAA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,wBAAwB,IACtC/B,KAAK,CAAC+B,IAAI,CAACtF,IAAI,KAAK,MAAM,IAC1BuD,KAAK,CAAC+B,IAAI,CAAC/E,WAAW,KAAK,MAAM,CAAC,EACpC;QACA8E,aAAa,GAAG1K,KAAK,CAAC6I,QAAQ,CAAC+B,OAAO,CAACF,aAAa,CAAC;QACrDA,aAAa,CAACG,IAAI,eAChB7K,KAAA,CAAA8K,aAAA,CAAClK,sBAAA,CAAAmK,qBAAqB;UACpBC,GAAG,EAAC,uBAAuB;UAC3BC,KAAK,EAAC,mBAAmB;UACzBC,OAAO,EAAEtC,KAAK,CAACzE,KAAK,CAAC+G;QAAQ,CAC9B,CACH,CAAC;MACH;MAEA,oBAAOlL,KAAK,CAACmL,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","ignoreList":[]}
@@ -3,6 +3,30 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ Object.defineProperty(exports, "BaseButton", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _GestureButtons.BaseButton;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "BorderlessButton", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _GestureButtons.BorderlessButton;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "Directions", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Directions.Directions;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "DrawerLayout", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _DrawerLayout.default;
28
+ }
29
+ });
6
30
  Object.defineProperty(exports, "DrawerLayoutAndroid", {
7
31
  enumerable: true,
8
32
  get: function () {
@@ -39,6 +63,24 @@ Object.defineProperty(exports, "PanGestureHandler", {
39
63
  return _PanGestureHandler.PanGestureHandler;
40
64
  }
41
65
  });
66
+ Object.defineProperty(exports, "PureNativeButton", {
67
+ enumerable: true,
68
+ get: function () {
69
+ return _GestureButtons.PureNativeButton;
70
+ }
71
+ });
72
+ Object.defineProperty(exports, "RawButton", {
73
+ enumerable: true,
74
+ get: function () {
75
+ return _GestureButtons.RawButton;
76
+ }
77
+ });
78
+ Object.defineProperty(exports, "RectButton", {
79
+ enumerable: true,
80
+ get: function () {
81
+ return _GestureButtons.RectButton;
82
+ }
83
+ });
42
84
  Object.defineProperty(exports, "RefreshControl", {
43
85
  enumerable: true,
44
86
  get: function () {
@@ -57,6 +99,12 @@ Object.defineProperty(exports, "State", {
57
99
  return _State.State;
58
100
  }
59
101
  });
102
+ Object.defineProperty(exports, "Swipeable", {
103
+ enumerable: true,
104
+ get: function () {
105
+ return _Swipeable.default;
106
+ }
107
+ });
60
108
  Object.defineProperty(exports, "Switch", {
61
109
  enumerable: true,
62
110
  get: function () {
@@ -75,6 +123,18 @@ Object.defineProperty(exports, "TextInput", {
75
123
  return _GestureComponents.TextInput;
76
124
  }
77
125
  });
126
+ Object.defineProperty(exports, "TouchableHighlight", {
127
+ enumerable: true,
128
+ get: function () {
129
+ return _touchables.TouchableHighlight;
130
+ }
131
+ });
132
+ Object.defineProperty(exports, "TouchableNativeFeedback", {
133
+ enumerable: true,
134
+ get: function () {
135
+ return _touchables.TouchableNativeFeedback;
136
+ }
137
+ });
78
138
  Object.defineProperty(exports, "TouchableOpacity", {
79
139
  enumerable: true,
80
140
  get: function () {
@@ -87,160 +147,57 @@ Object.defineProperty(exports, "TouchableWithoutFeedback", {
87
147
  return _touchables.TouchableWithoutFeedback;
88
148
  }
89
149
  });
150
+ Object.defineProperty(exports, "createNativeWrapper", {
151
+ enumerable: true,
152
+ get: function () {
153
+ return _createNativeWrapper.default;
154
+ }
155
+ });
156
+ Object.defineProperty(exports, "enableExperimentalWebImplementation", {
157
+ enumerable: true,
158
+ get: function () {
159
+ return _EnableNewWebImplementation.enableExperimentalWebImplementation;
160
+ }
161
+ });
162
+ Object.defineProperty(exports, "enableLegacyWebImplementation", {
163
+ enumerable: true,
164
+ get: function () {
165
+ return _EnableNewWebImplementation.enableLegacyWebImplementation;
166
+ }
167
+ });
168
+ Object.defineProperty(exports, "gestureHandlerRootHOC", {
169
+ enumerable: true,
170
+ get: function () {
171
+ return _gestureHandlerRootHOC.default;
172
+ }
173
+ });
90
174
  var _init = require("react-native-gesture-handler/src/init");
175
+ var _Directions = require("react-native-gesture-handler/src/Directions");
91
176
  var _State = require("react-native-gesture-handler/src/State");
177
+ var _gestureHandlerRootHOC = _interopRequireDefault(require("react-native-gesture-handler/src/components/gestureHandlerRootHOC"));
92
178
  var _GestureHandlerRootView = _interopRequireDefault(require("./components/GestureHandlerRootView"));
93
179
  var _TapGestureHandler = require("react-native-gesture-handler/src/handlers/TapGestureHandler");
94
180
  var _PanGestureHandler = require("react-native-gesture-handler/src/handlers/PanGestureHandler");
181
+ var _createNativeWrapper = _interopRequireDefault(require("react-native-gesture-handler/src/handlers/createNativeWrapper"));
95
182
  var _GestureDetector = require("react-native-gesture-handler/src/handlers/gestures/GestureDetector");
96
183
  var _gestureObjects = require("react-native-gesture-handler/src/handlers/gestures/gestureObjects");
184
+ var _GestureButtons = require("react-native-gesture-handler/src/components/GestureButtons");
97
185
  var _touchables = require("react-native-gesture-handler/src/components/touchables");
98
186
  var _GestureComponents = require("react-native-gesture-handler/src/components/GestureComponents");
99
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
187
+ var _Swipeable = _interopRequireDefault(require("react-native-gesture-handler/src/components/Swipeable"));
188
+ var _DrawerLayout = _interopRequireDefault(require("react-native-gesture-handler/src/components/DrawerLayout"));
189
+ var _EnableNewWebImplementation = require("react-native-gesture-handler/src/EnableNewWebImplementation");
190
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
100
191
  global.isFormsStackingContext = () => true; // TODO: add using JSI
101
192
 
102
- // export { Directions } from './Directions';
103
-
104
- // export { default as gestureHandlerRootHOC } from './components/gestureHandlerRootHOC';
105
-
106
- // export type {
107
- // // event types
108
- // GestureEvent,
109
- // HandlerStateChangeEvent,
110
- // // event payloads types
111
- // GestureEventPayload,
112
- // HandlerStateChangeEventPayload,
113
- // // pointer events
114
- // GestureTouchEvent,
115
- // TouchData,
116
- // // new api event types
117
- // GestureUpdateEvent,
118
- // GestureStateChangeEvent,
119
- // } from './handlers/gestureHandlerCommon';
120
- // export type {
121
- // TapGestureHandlerEventPayload,
122
- // TapGestureHandlerProps,
123
- // } from './handlers/TapGestureHandler';
124
- // export type {
125
- // ForceTouchGestureHandlerEventPayload,
126
- // ForceTouchGestureHandlerProps,
127
- // } from './handlers/ForceTouchGestureHandler';
128
- // export type { ForceTouchGestureChangeEventPayload } from './handlers/gestures/forceTouchGesture';
129
- // export type {
130
- // LongPressGestureHandlerEventPayload,
131
- // LongPressGestureHandlerProps,
132
- // } from './handlers/LongPressGestureHandler';
133
- // export type {
134
- // PanGestureHandlerEventPayload,
135
- // PanGestureHandlerProps,
136
- // } from './handlers/PanGestureHandler';
137
- // export type { PanGestureChangeEventPayload } from './handlers/gestures/panGesture';
138
- // export type {
139
- // PinchGestureHandlerEventPayload,
140
- // PinchGestureHandlerProps,
141
- // } from './handlers/PinchGestureHandler';
142
- // export type { PinchGestureChangeEventPayload } from './handlers/gestures/pinchGesture';
143
- // export type {
144
- // RotationGestureHandlerEventPayload,
145
- // RotationGestureHandlerProps,
146
- // } from './handlers/RotationGestureHandler';
147
- // export type {
148
- // FlingGestureHandlerEventPayload,
149
- // FlingGestureHandlerProps,
150
- // } from './handlers/FlingGestureHandler';
151
193
  // export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
152
194
  // export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
195
+
153
196
  // export { PinchGestureHandler } from './handlers/PinchGestureHandler';
154
197
  // export { RotationGestureHandler } from './handlers/RotationGestureHandler';
155
198
  // export { FlingGestureHandler } from './handlers/FlingGestureHandler';
156
- // export { default as createNativeWrapper } from './handlers/createNativeWrapper';
157
- // export type {
158
- // NativeViewGestureHandlerPayload,
159
- // NativeViewGestureHandlerProps,
160
- // } from './handlers/NativeViewGestureHandler';
161
- // export type { TapGestureType as TapGesture } from './handlers/gestures/tapGesture';
162
- // export type { PanGestureType as PanGesture } from './handlers/gestures/panGesture';
163
- // export type { FlingGestureType as FlingGesture } from './handlers/gestures/flingGesture';
164
- // export type { LongPressGestureType as LongPressGesture } from './handlers/gestures/longPressGesture';
165
- // export type { PinchGestureType as PinchGesture } from './handlers/gestures/pinchGesture';
166
- // export type { RotationGestureType as RotationGesture } from './handlers/gestures/rotationGesture';
167
- // export type { ForceTouchGestureType as ForceTouchGesture } from './handlers/gestures/forceTouchGesture';
168
- // export type { NativeGestureType as NativeGesture } from './handlers/gestures/nativeGesture';
169
- // export type { ManualGestureType as ManualGesture } from './handlers/gestures/manualGesture';
170
- // export type {
171
- // ComposedGestureType as ComposedGesture,
172
- // RaceGestureType as RaceGesture,
173
- // SimultaneousGestureType as SimultaneousGesture,
174
- // ExclusiveGestureType as ExclusiveGesture,
175
- // } from './handlers/gestures/gestureComposition';
176
- // export type { GestureStateManagerType as GestureStateManager } from './handlers/gestures/gestureStateManager';
177
- // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
178
- // export type {
179
- // RawButtonProps,
180
- // BaseButtonProps,
181
- // RectButtonProps,
182
- // BorderlessButtonProps,
183
- // } from './components/GestureButtons';
184
- // export {
185
- // RawButton,
186
- // BaseButton,
187
- // RectButton,
188
- // BorderlessButton,
189
- // PureNativeButton,
190
- // } from './components/GestureButtons';
191
- // export type {
192
- // //events
193
- // GestureHandlerGestureEvent,
194
- // GestureHandlerStateChangeEvent,
195
- // //event payloads
196
- // GestureHandlerGestureEventNativeEvent,
197
- // GestureHandlerStateChangeNativeEvent,
198
- // NativeViewGestureHandlerGestureEvent,
199
- // NativeViewGestureHandlerStateChangeEvent,
200
- // TapGestureHandlerGestureEvent,
201
- // TapGestureHandlerStateChangeEvent,
202
- // ForceTouchGestureHandlerGestureEvent,
203
- // ForceTouchGestureHandlerStateChangeEvent,
204
- // LongPressGestureHandlerGestureEvent,
205
- // LongPressGestureHandlerStateChangeEvent,
206
- // PanGestureHandlerGestureEvent,
207
- // PanGestureHandlerStateChangeEvent,
208
- // PinchGestureHandlerGestureEvent,
209
- // PinchGestureHandlerStateChangeEvent,
210
- // RotationGestureHandlerGestureEvent,
211
- // RotationGestureHandlerStateChangeEvent,
212
- // FlingGestureHandlerGestureEvent,
213
- // FlingGestureHandlerStateChangeEvent,
214
- // // handlers props
215
- // NativeViewGestureHandlerProperties,
216
- // TapGestureHandlerProperties,
217
- // LongPressGestureHandlerProperties,
218
- // PanGestureHandlerProperties,
219
- // PinchGestureHandlerProperties,
220
- // RotationGestureHandlerProperties,
221
- // FlingGestureHandlerProperties,
222
- // ForceTouchGestureHandlerProperties,
223
- // // buttons props
224
- // RawButtonProperties,
225
- // BaseButtonProperties,
226
- // RectButtonProperties,
227
- // BorderlessButtonProperties,
228
- // } from './handlers/gestureHandlerTypesCompat';
229
199
 
230
- // export { default as Swipeable } from './components/Swipeable';
231
- // export type {
232
- // DrawerLayoutProps,
233
- // DrawerPosition,
234
- // DrawerState,
235
- // DrawerType,
236
- // DrawerLockMode,
237
- // DrawerKeyboardDismissMode,
238
- // } from './components/DrawerLayout';
239
- // export { default as DrawerLayout } from './components/DrawerLayout';
200
+ // export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
240
201
 
241
- // export {
242
- // enableExperimentalWebImplementation,
243
- // enableLegacyWebImplementation,
244
- // } from './EnableNewWebImplementation';
245
202
  (0, _init.initialize)();
246
203
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"names":["_init","require","_Directions","_State","_gestureHandlerRootHOC","_interopRequireDefault","_GestureHandlerRootView","_TapGestureHandler","_PanGestureHandler","_createNativeWrapper","_GestureDetector","_gestureObjects","_GestureButtons","_touchables","_GestureComponents","_Swipeable","_DrawerLayout","_EnableNewWebImplementation","e","__esModule","default","global","isFormsStackingContext","initialize"],"sourceRoot":"..\\..\\src","sources":["index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,IAAAA,KAAA,GAAAC,OAAA;AAEA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,uBAAA,GAAAD,sBAAA,CAAAJ,OAAA;AA+CA,IAAAM,kBAAA,GAAAN,OAAA;AAGA,IAAAO,kBAAA,GAAAP,OAAA;AAIA,IAAAQ,oBAAA,GAAAJ,sBAAA,CAAAJ,OAAA;AAKA,IAAAS,gBAAA,GAAAT,OAAA;AACA,IAAAU,eAAA,GAAAV,OAAA;AAwBA,IAAAW,eAAA,GAAAX,OAAA;AAOA,IAAAY,WAAA,GAAAZ,OAAA;AAMA,IAAAa,kBAAA,GAAAb,OAAA;AA+CA,IAAAc,UAAA,GAAAV,sBAAA,CAAAJ,OAAA;AASA,IAAAe,aAAA,GAAAX,sBAAA,CAAAJ,OAAA;AAEA,IAAAgB,2BAAA,GAAAhB,OAAA;AAGqE,SAAAI,uBAAAa,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AArKrEG,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAuD5C;AACA;;AAEA;AACA;AACA;;AAwBA;;AAmFA,IAAAC,gBAAU,EAAC,CAAC","ignoreList":[]}
@@ -5,6 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _reactNative = require("react-native");
8
- var _default = _reactNative.TurboModuleRegistry.getEnforcing('RNGestureHandlerModule');
9
- exports.default = _default;
8
+ var _default = exports.default = _reactNative.TurboModuleRegistry.getEnforcing('RNGestureHandlerModule');
10
9
  //# sourceMappingURL=NativeRNGestureHandlerModule.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_default","TurboModuleRegistry","getEnforcing","exports","default"],"sourceRoot":"../../../src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAgE,IAAAC,QAAA,GAyBjDC,gCAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC;AAAAC,OAAA,CAAAC,OAAA,GAAAJ,QAAA"}
1
+ {"version":3,"names":["_reactNative","require","_default","exports","default","TurboModuleRegistry","getEnforcing"],"sourceRoot":"..\\..\\..\\src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAAgE,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAyBjDC,gCAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC","ignoreList":[]}
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var _default = (0, _codegenNativeComponent.default)('RNGestureHandlerButton');
10
- exports.default = _default;
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
+ var _default = exports.default = (0, _codegenNativeComponent.default)('RNGestureHandlerButton');
11
10
  //# sourceMappingURL=RNGestureHandlerButtonNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","obj","__esModule","default","_default","codegenNativeComponent","exports"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAAAG,QAAA,GAiB9E,IAAAC,+BAAsB,EAAc,wBAAwB,CAAC;AAAAC,OAAA,CAAAH,OAAA,GAAAC,QAAA"}
1
+ {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAiB9E,IAAAG,+BAAsB,EAAc,wBAAwB,CAAC","ignoreList":[]}
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _codegenNativeComponent = _interopRequireDefault(require("react-native/Libraries/Utilities/codegenNativeComponent"));
8
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
9
- var _default = (0, _codegenNativeComponent.default)('RNGestureHandlerRootView');
10
- exports.default = _default;
8
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
9
+ var _default = exports.default = (0, _codegenNativeComponent.default)('RNGestureHandlerRootView');
11
10
  //# sourceMappingURL=RNGestureHandlerRootViewNativeComponent.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","obj","__esModule","default","_default","codegenNativeComponent","exports"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,IAAAG,QAAA,GAK9E,IAAAC,+BAAsB,EAAc,0BAA0B,CAAC;AAAAC,OAAA,CAAAH,OAAA,GAAAC,QAAA"}
1
+ {"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","e","__esModule","default","_default","exports","codegenNativeComponent"],"sourceRoot":"..\\..\\..\\src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,sBAAA,CAAAC,OAAA;AAA6F,SAAAD,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,IAAAG,QAAA,GAAAC,OAAA,CAAAF,OAAA,GAK9E,IAAAG,+BAAsB,EAAc,0BAA0B,CAAC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["NativeRNGestureHandlerModule","RNGestureHandlerModule"],"sourceRoot":"../../src","sources":["RNGestureHandlerModule.ts"],"mappings":"AAAA,OAAOA,4BAA4B,MAAM,2CAA2C;AAEpF,MAAMC,sBAAsB,GAAGD,4BAA4B;AAE3D,eAAeC,sBAAsB"}
1
+ {"version":3,"names":["NativeRNGestureHandlerModule","RNGestureHandlerModule"],"sourceRoot":"..\\..\\src","sources":["RNGestureHandlerModule.ts"],"mappings":"AAAA,OAAOA,4BAA4B,MAAM,2CAA2C;AAEpF,MAAMC,sBAAsB,GAAGD,4BAA4B;AAE3D,eAAeC,sBAAsB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["React","maybeInitializeFabric","GestureHandlerRootViewContext","RNGestureHandlerRootViewNativeComponent","GestureHandlerRootView","props","createElement","Provider","value"],"sourceRoot":"../../../src","sources":["components/GestureHandlerRootView.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,qBAAqB,QAAQ,uCAAuC;AAC7E,OAAOC,6BAA6B,MAAM,gEAAgE;AAC1G,OAAOC,uCAAuC,MAAM,kDAAkD;AAItG,eAAe,SAASC,sBAAsBA,CAC5CC,KAAkC,EAClC;EACA;EACA;EACA;EACAJ,qBAAqB,CAAC,CAAC;EAEvB,oBACED,KAAA,CAAAM,aAAA,CAACJ,6BAA6B,CAACK,QAAQ;IAACC,KAAK;EAAA,gBAC3CR,KAAA,CAAAM,aAAA,CAACH,uCAAuC,EAAKE,KAAQ,CACf,CAAC;AAE7C"}
1
+ {"version":3,"names":["React","maybeInitializeFabric","GestureHandlerRootViewContext","RNGestureHandlerRootViewNativeComponent","GestureHandlerRootView","props","createElement","Provider","value"],"sourceRoot":"..\\..\\..\\src","sources":["components/GestureHandlerRootView.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAG9B,SAASC,qBAAqB,QAAQ,uCAAuC;AAC7E,OAAOC,6BAA6B,MAAM,gEAAgE;AAC1G,OAAOC,uCAAuC,MAAM,kDAAkD;AAItG,eAAe,SAASC,sBAAsBA,CAC5CC,KAAkC,EAClC;EACA;EACA;EACA;EACAJ,qBAAqB,CAAC,CAAC;EAEvB,oBACED,KAAA,CAAAM,aAAA,CAACJ,6BAA6B,CAACK,QAAQ;IAACC,KAAK;EAAA,gBAC3CR,KAAA,CAAAM,aAAA,CAACH,uCAAuC,EAAKE,KAAQ,CACf,CAAC;AAE7C","ignoreList":[]}