@react-native-oh-tpl/react-native-gesture-handler 2.14.8-rc.1 → 2.14.13
Sign up to get free protection for your applications and to get access to all the features.
- package/DrawerLayout/index.ts +2 -2
- package/Swipeable/index.ts +2 -2
- package/harmony/gesture_handler/BuildProfile.ets +17 -0
- package/harmony/gesture_handler/build-profile.json5 +19 -0
- package/harmony/gesture_handler/hvigorfile.ts +2 -0
- package/harmony/gesture_handler/index.ets +3 -0
- package/harmony/gesture_handler/oh-package-lock.json5 +18 -0
- package/harmony/gesture_handler/oh-package.json5 +12 -0
- package/harmony/gesture_handler/src/main/cpp/CMakeLists.txt +8 -0
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.cpp +149 -0
- package/harmony/gesture_handler/src/main/cpp/GestureHandlerPackage.h +21 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonComponentDescriptor.h +36 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerButtonJSIBinder.h +32 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.cpp +22 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerModule.h +15 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewComponentDescriptor.h +36 -0
- package/harmony/gesture_handler/src/main/cpp/RNGestureHandlerRootViewJSIBinder.h +25 -0
- package/harmony/gesture_handler/src/main/cpp/componentInstances/RNGestureHandlerButtonComponentInstance.h +27 -0
- package/harmony/gesture_handler/src/main/cpp/componentInstances/RNGestureHandlerRootViewComponentInstance.h +242 -0
- package/harmony/gesture_handler/src/main/ets/core/CircularBuffer.ts +42 -0
- package/harmony/gesture_handler/src/main/ets/core/GestureHandler.ts +690 -0
- package/harmony/gesture_handler/src/main/ets/core/GestureHandlerOrchestrator.ts +335 -0
- package/harmony/gesture_handler/src/main/ets/core/GestureHandlerRegistry.ts +63 -0
- package/harmony/gesture_handler/src/main/ets/core/IncomingEvent.ts +78 -0
- package/harmony/gesture_handler/src/main/ets/core/InteractionManager.ts +144 -0
- package/harmony/gesture_handler/src/main/ets/core/LeastSquareSolver.ts +182 -0
- package/harmony/gesture_handler/src/main/ets/core/OutgoingEvent.ts +34 -0
- package/harmony/gesture_handler/src/main/ets/core/OutgoingEventDispatcher.ts +12 -0
- package/harmony/gesture_handler/src/main/ets/core/PointerTracker.ts +239 -0
- package/harmony/gesture_handler/src/main/ets/core/RNGHError.ts +5 -0
- package/harmony/gesture_handler/src/main/ets/core/RNGHLogger.ts +12 -0
- package/harmony/gesture_handler/src/main/ets/core/State.ts +47 -0
- package/harmony/gesture_handler/src/main/ets/core/Vector2D.ts +80 -0
- package/harmony/gesture_handler/src/main/ets/core/VelocityTracker.ts +106 -0
- package/harmony/gesture_handler/src/main/ets/core/View.ts +21 -0
- package/harmony/gesture_handler/src/main/ets/core/ViewFinder.ts +11 -0
- package/harmony/gesture_handler/src/main/ets/core/ViewRegistry.ts +8 -0
- package/harmony/gesture_handler/src/main/ets/core/index.ts +15 -0
- package/harmony/gesture_handler/src/main/ets/detectors/ScaleGestureDetector.ts +169 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/FlingGestureHandler.ts +211 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/GestureHandlerFactory.ts +64 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/LongPressGestureHandler.ts +127 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/ManualGestureHandler.ts +42 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/NativeViewGestureHandler.ts +115 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/PanGestureHandler.ts +342 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/PinchGestureHandler.ts +159 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/RotationGestureHandler.ts +164 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/TapGestureHandler.ts +206 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/detectors/RotationGestureDetector.ts +167 -0
- package/harmony/gesture_handler/src/main/ets/gesture-handlers/index.ts +1 -0
- package/harmony/gesture_handler/src/main/ets/namespace/RNGestureHandlerModule.ts +24 -0
- package/harmony/gesture_handler/src/main/ets/namespace/components/RNGestureHandlerButton.ts +139 -0
- package/harmony/gesture_handler/src/main/ets/namespace/components/RNGestureHandlerRootView.ts +101 -0
- package/harmony/gesture_handler/src/main/ets/namespace/components/ts.ts +2 -0
- package/harmony/gesture_handler/src/main/ets/namespace/ts.ts +2 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/GestureHandlerArkUIAdapter.ts +240 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/GestureHandlerPackage.ts +22 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/Logger.ts +49 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/OutgoingEventDispatchers.ts +71 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNGHRootTouchHandlerArkTS.ts +98 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNGHRootTouchHandlerCAPI.ts +110 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNGestureHandlerButton.ets +38 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNGestureHandlerModule.ts +233 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNGestureHandlerRootView.ets +53 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNOHGestureResponder.ts +24 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/RNOHScrollLocker.ts +32 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/View.ts +134 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/ViewRegistry.ts +97 -0
- package/harmony/gesture_handler/src/main/ets/rnoh/types.ts +25 -0
- package/harmony/gesture_handler/src/main/module.json5 +9 -0
- package/harmony/gesture_handler/src/main/resources/base/element/color.json +8 -0
- package/harmony/gesture_handler/src/main/resources/base/element/string.json +16 -0
- package/harmony/gesture_handler/src/main/resources/base/media/icon.png +0 -0
- package/harmony/gesture_handler/src/main/resources/base/profile/main_pages.json +5 -0
- package/harmony/gesture_handler/src/main/resources/en_US/element/string.json +16 -0
- package/harmony/gesture_handler/src/main/resources/zh_CN/element/string.json +16 -0
- package/harmony/gesture_handler/ts.ts +2 -0
- package/harmony/gesture_handler.har +0 -0
- package/lib/commonjs/RNGestureHandlerModule.js +3 -2
- package/lib/commonjs/RNGestureHandlerModule.js.map +1 -1
- package/lib/commonjs/components/GestureHandlerRootView.js +3 -3
- package/lib/commonjs/components/GestureHandlerRootView.js.map +1 -1
- package/lib/commonjs/handlers/createHandler.js +18 -15
- package/lib/commonjs/handlers/createHandler.js.map +1 -1
- package/lib/commonjs/index.js +36 -8
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/specs/NativeRNGestureHandlerModule.js +2 -1
- package/lib/commonjs/specs/NativeRNGestureHandlerModule.js.map +1 -1
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js +3 -2
- package/lib/commonjs/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js +3 -2
- package/lib/commonjs/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
- package/lib/module/RNGestureHandlerModule.js.map +1 -1
- package/lib/module/components/GestureHandlerRootView.js.map +1 -1
- package/lib/module/handlers/createHandler.js +15 -12
- package/lib/module/handlers/createHandler.js.map +1 -1
- package/lib/module/index.js +5 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/specs/NativeRNGestureHandlerModule.js.map +1 -1
- package/lib/module/specs/RNGestureHandlerButtonNativeComponent.js.map +1 -1
- package/lib/module/specs/RNGestureHandlerRootViewNativeComponent.js.map +1 -1
- package/lib/typescript/RNGestureHandlerModule.d.ts +2 -2
- package/lib/typescript/components/GestureHandlerRootView.d.ts +6 -6
- package/lib/typescript/handlers/createHandler.d.ts +11 -11
- package/lib/typescript/index.d.ts +47 -42
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/specs/NativeRNGestureHandlerModule.d.ts +14 -14
- package/lib/typescript/specs/RNGestureHandlerButtonNativeComponent.d.ts +14 -14
- package/lib/typescript/specs/RNGestureHandlerRootViewNativeComponent.d.ts +6 -6
- package/package.json +73 -69
- package/src/RNGestureHandlerModule.ts +4 -4
- package/src/components/GestureHandlerRootView.tsx +23 -23
- package/src/handlers/createHandler.tsx +534 -534
- package/src/index.ts +172 -172
- package/src/specs/NativeRNGestureHandlerModule.ts +26 -26
- package/src/specs/RNGestureHandlerButtonNativeComponent.ts +18 -18
- package/src/specs/RNGestureHandlerRootViewNativeComponent.ts +6 -6
package/lib/commonjs/index.js
CHANGED
@@ -39,6 +39,12 @@ Object.defineProperty(exports, "FlatList", {
|
|
39
39
|
return _GestureComponents.FlatList;
|
40
40
|
}
|
41
41
|
});
|
42
|
+
Object.defineProperty(exports, "FlingGestureHandler", {
|
43
|
+
enumerable: true,
|
44
|
+
get: function () {
|
45
|
+
return _FlingGestureHandler.FlingGestureHandler;
|
46
|
+
}
|
47
|
+
});
|
42
48
|
Object.defineProperty(exports, "Gesture", {
|
43
49
|
enumerable: true,
|
44
50
|
get: function () {
|
@@ -57,12 +63,30 @@ Object.defineProperty(exports, "GestureHandlerRootView", {
|
|
57
63
|
return _GestureHandlerRootView.default;
|
58
64
|
}
|
59
65
|
});
|
66
|
+
Object.defineProperty(exports, "LongPressGestureHandler", {
|
67
|
+
enumerable: true,
|
68
|
+
get: function () {
|
69
|
+
return _LongPressGestureHandler.LongPressGestureHandler;
|
70
|
+
}
|
71
|
+
});
|
72
|
+
Object.defineProperty(exports, "NativeViewGestureHandler", {
|
73
|
+
enumerable: true,
|
74
|
+
get: function () {
|
75
|
+
return _NativeViewGestureHandler.NativeViewGestureHandler;
|
76
|
+
}
|
77
|
+
});
|
60
78
|
Object.defineProperty(exports, "PanGestureHandler", {
|
61
79
|
enumerable: true,
|
62
80
|
get: function () {
|
63
81
|
return _PanGestureHandler.PanGestureHandler;
|
64
82
|
}
|
65
83
|
});
|
84
|
+
Object.defineProperty(exports, "PinchGestureHandler", {
|
85
|
+
enumerable: true,
|
86
|
+
get: function () {
|
87
|
+
return _PinchGestureHandler.PinchGestureHandler;
|
88
|
+
}
|
89
|
+
});
|
66
90
|
Object.defineProperty(exports, "PureNativeButton", {
|
67
91
|
enumerable: true,
|
68
92
|
get: function () {
|
@@ -87,6 +111,12 @@ Object.defineProperty(exports, "RefreshControl", {
|
|
87
111
|
return _GestureComponents.RefreshControl;
|
88
112
|
}
|
89
113
|
});
|
114
|
+
Object.defineProperty(exports, "RotationGestureHandler", {
|
115
|
+
enumerable: true,
|
116
|
+
get: function () {
|
117
|
+
return _RotationGestureHandler.RotationGestureHandler;
|
118
|
+
}
|
119
|
+
});
|
90
120
|
Object.defineProperty(exports, "ScrollView", {
|
91
121
|
enumerable: true,
|
92
122
|
get: function () {
|
@@ -177,27 +207,25 @@ var _State = require("react-native-gesture-handler/src/State");
|
|
177
207
|
var _gestureHandlerRootHOC = _interopRequireDefault(require("react-native-gesture-handler/src/components/gestureHandlerRootHOC"));
|
178
208
|
var _GestureHandlerRootView = _interopRequireDefault(require("./components/GestureHandlerRootView"));
|
179
209
|
var _TapGestureHandler = require("react-native-gesture-handler/src/handlers/TapGestureHandler");
|
210
|
+
var _LongPressGestureHandler = require("react-native-gesture-handler/src/handlers/LongPressGestureHandler");
|
180
211
|
var _PanGestureHandler = require("react-native-gesture-handler/src/handlers/PanGestureHandler");
|
212
|
+
var _PinchGestureHandler = require("react-native-gesture-handler/src/handlers/PinchGestureHandler");
|
213
|
+
var _RotationGestureHandler = require("react-native-gesture-handler/src/handlers/RotationGestureHandler");
|
214
|
+
var _FlingGestureHandler = require("react-native-gesture-handler/src/handlers/FlingGestureHandler");
|
181
215
|
var _createNativeWrapper = _interopRequireDefault(require("react-native-gesture-handler/src/handlers/createNativeWrapper"));
|
182
216
|
var _GestureDetector = require("react-native-gesture-handler/src/handlers/gestures/GestureDetector");
|
183
217
|
var _gestureObjects = require("react-native-gesture-handler/src/handlers/gestures/gestureObjects");
|
218
|
+
var _NativeViewGestureHandler = require("react-native-gesture-handler/src/handlers/NativeViewGestureHandler");
|
184
219
|
var _GestureButtons = require("react-native-gesture-handler/src/components/GestureButtons");
|
185
220
|
var _touchables = require("react-native-gesture-handler/src/components/touchables");
|
186
221
|
var _GestureComponents = require("react-native-gesture-handler/src/components/GestureComponents");
|
187
222
|
var _Swipeable = _interopRequireDefault(require("react-native-gesture-handler/src/components/Swipeable"));
|
188
223
|
var _DrawerLayout = _interopRequireDefault(require("react-native-gesture-handler/src/components/DrawerLayout"));
|
189
224
|
var _EnableNewWebImplementation = require("react-native-gesture-handler/src/EnableNewWebImplementation");
|
190
|
-
function _interopRequireDefault(
|
225
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
191
226
|
global.isFormsStackingContext = () => true; // TODO: add using JSI
|
192
227
|
|
193
228
|
// export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
194
|
-
// export { LongPressGestureHandler } from './handlers/LongPressGestureHandler';
|
195
|
-
|
196
|
-
// export { PinchGestureHandler } from './handlers/PinchGestureHandler';
|
197
|
-
// export { RotationGestureHandler } from './handlers/RotationGestureHandler';
|
198
|
-
// export { FlingGestureHandler } from './handlers/FlingGestureHandler';
|
199
|
-
|
200
|
-
// export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
201
229
|
|
202
230
|
(0, _init.initialize)();
|
203
231
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_init","require","_Directions","_State","_gestureHandlerRootHOC","_interopRequireDefault","_GestureHandlerRootView","_TapGestureHandler","_PanGestureHandler","_createNativeWrapper","_GestureDetector","_gestureObjects","_GestureButtons","_touchables","_GestureComponents","_Swipeable","_DrawerLayout","_EnableNewWebImplementation","
|
1
|
+
{"version":3,"names":["_init","require","_Directions","_State","_gestureHandlerRootHOC","_interopRequireDefault","_GestureHandlerRootView","_TapGestureHandler","_LongPressGestureHandler","_PanGestureHandler","_PinchGestureHandler","_RotationGestureHandler","_FlingGestureHandler","_createNativeWrapper","_GestureDetector","_gestureObjects","_NativeViewGestureHandler","_GestureButtons","_touchables","_GestureComponents","_Swipeable","_DrawerLayout","_EnableNewWebImplementation","obj","__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;AAEA,IAAAO,wBAAA,GAAAP,OAAA;AACA,IAAAQ,kBAAA,GAAAR,OAAA;AACA,IAAAS,oBAAA,GAAAT,OAAA;AACA,IAAAU,uBAAA,GAAAV,OAAA;AACA,IAAAW,oBAAA,GAAAX,OAAA;AACA,IAAAY,oBAAA,GAAAR,sBAAA,CAAAJ,OAAA;AAKA,IAAAa,gBAAA,GAAAb,OAAA;AACA,IAAAc,eAAA,GAAAd,OAAA;AAiBA,IAAAe,yBAAA,GAAAf,OAAA;AAOA,IAAAgB,eAAA,GAAAhB,OAAA;AAOA,IAAAiB,WAAA,GAAAjB,OAAA;AAMA,IAAAkB,kBAAA,GAAAlB,OAAA;AA+CA,IAAAmB,UAAA,GAAAf,sBAAA,CAAAJ,OAAA;AASA,IAAAoB,aAAA,GAAAhB,sBAAA,CAAAJ,OAAA;AAEA,IAAAqB,2BAAA,GAAArB,OAAA;AAGqE,SAAAI,uBAAAkB,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AArKrEG,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAuD5C;;AAgHA,IAAAC,gBAAU,EAAC,CAAC"}
|
@@ -5,5 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
7
|
var _reactNative = require("react-native");
|
8
|
-
var _default =
|
8
|
+
var _default = _reactNative.TurboModuleRegistry.getEnforcing('RNGestureHandlerModule');
|
9
|
+
exports.default = _default;
|
9
10
|
//# sourceMappingURL=NativeRNGestureHandlerModule.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_reactNative","require","_default","
|
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"}
|
@@ -5,6 +5,7 @@ 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(
|
9
|
-
var _default =
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9
|
+
var _default = (0, _codegenNativeComponent.default)('RNGestureHandlerButton');
|
10
|
+
exports.default = _default;
|
10
11
|
//# sourceMappingURL=RNGestureHandlerButtonNativeComponent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","
|
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"}
|
@@ -5,6 +5,7 @@ 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(
|
9
|
-
var _default =
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9
|
+
var _default = (0, _codegenNativeComponent.default)('RNGestureHandlerRootView');
|
10
|
+
exports.default = _default;
|
10
11
|
//# sourceMappingURL=RNGestureHandlerRootViewNativeComponent.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_codegenNativeComponent","_interopRequireDefault","require","
|
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 +1 @@
|
|
1
|
-
{"version":3,"names":["NativeRNGestureHandlerModule","RNGestureHandlerModule"],"sourceRoot":"
|
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 +1 @@
|
|
1
|
-
{"version":3,"names":["React","maybeInitializeFabric","GestureHandlerRootViewContext","RNGestureHandlerRootViewNativeComponent","GestureHandlerRootView","props","createElement","Provider","value"],"sourceRoot":"
|
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"}
|
@@ -112,13 +112,14 @@ const stateToPropMappings = {
|
|
112
112
|
const UNRESOLVED_REFS_RETRY_LIMIT = 1;
|
113
113
|
|
114
114
|
// TODO(TS) - make sure that BaseGestureHandlerProps doesn't need other generic parameter to work with custom properties.
|
115
|
-
export default function createHandler({
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
115
|
+
export default function createHandler(_ref) {
|
116
|
+
let {
|
117
|
+
name,
|
118
|
+
allowedProps = [],
|
119
|
+
config = {},
|
120
|
+
transformProps,
|
121
|
+
customNativeProps = []
|
122
|
+
} = _ref;
|
122
123
|
class Handler extends React.Component {
|
123
124
|
static displayName = name;
|
124
125
|
static contextType = GestureHandlerRootViewContext;
|
@@ -163,16 +164,18 @@ export default function createHandler({
|
|
163
164
|
this.createGestureHandler(filterConfig(transformProps ? transformProps(this.props) : this.props, [...allowedProps, ...customNativeProps], config));
|
164
165
|
this.attachGestureHandler(findNodeHandle(this.viewNode)); // TODO(TS) - check if this can be null
|
165
166
|
}
|
167
|
+
|
166
168
|
componentDidUpdate() {
|
167
169
|
const viewTag = findNodeHandle(this.viewNode);
|
168
170
|
if (this.viewTag !== viewTag) {
|
169
171
|
this.attachGestureHandler(viewTag); // TODO(TS) - check interaction between _viewTag & findNodeHandle
|
170
172
|
}
|
173
|
+
|
171
174
|
this.update(UNRESOLVED_REFS_RETRY_LIMIT);
|
172
175
|
}
|
173
176
|
componentWillUnmount() {
|
174
177
|
var _this$inspectorToggle;
|
175
|
-
(_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0
|
178
|
+
(_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 ? void 0 : _this$inspectorToggle.remove();
|
176
179
|
this.isMountedRef.current = false;
|
177
180
|
RNGestureHandlerModule.dropGestureHandler(this.handlerTag);
|
178
181
|
scheduleFlushOperations();
|
@@ -187,11 +190,11 @@ export default function createHandler({
|
|
187
190
|
if (event.nativeEvent.handlerTag === this.handlerTag) {
|
188
191
|
if (typeof this.props.onGestureEvent === 'function') {
|
189
192
|
var _this$props$onGesture, _this$props;
|
190
|
-
(_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0
|
193
|
+
(_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 ? void 0 : _this$props$onGesture.call(_this$props, event);
|
191
194
|
}
|
192
195
|
} else {
|
193
196
|
var _this$props$onGesture2, _this$props2;
|
194
|
-
(_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0
|
197
|
+
(_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 ? void 0 : _this$props$onGesture2.call(_this$props2, event);
|
195
198
|
}
|
196
199
|
};
|
197
200
|
|
@@ -200,7 +203,7 @@ export default function createHandler({
|
|
200
203
|
if (event.nativeEvent.handlerTag === this.handlerTag) {
|
201
204
|
if (typeof this.props.onHandlerStateChange === 'function') {
|
202
205
|
var _this$props$onHandler, _this$props3;
|
203
|
-
(_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0
|
206
|
+
(_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 ? void 0 : _this$props$onHandler.call(_this$props3, event);
|
204
207
|
}
|
205
208
|
const state = event.nativeEvent.state;
|
206
209
|
const stateEventName = stateToPropMappings[state];
|
@@ -210,7 +213,7 @@ export default function createHandler({
|
|
210
213
|
}
|
211
214
|
} else {
|
212
215
|
var _this$props$onGesture3, _this$props4;
|
213
|
-
(_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0
|
216
|
+
(_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 ? void 0 : _this$props$onGesture3.call(_this$props4, event);
|
214
217
|
}
|
215
218
|
};
|
216
219
|
refHandler = node => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Platform","UIManager","DeviceEventEmitter","deepEqual","RNGestureHandlerModule","State","handlerIDToTag","getNextHandlerTag","registerOldGestureHandler","filterConfig","findNodeHandle","scheduleFlushOperations","isFabric","isJestEnv","tagMessage","ActionType","PressabilityDebugView","GestureHandlerRootViewContext","UIManagerAny","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","OS","genericDirectEventTypes","UIManagerConstants","_UIManagerAny$getView","getViewManagerConfig","call","_UIManagerAny$getCons","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","r","stateToPropMappings","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","constructor","handlerTag","propsRef","createRef","isMountedRef","state","id","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","attachGestureHandler","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","handlerID","event","nativeEvent","onGestureEvent","_this$props$onGesture","_this$props","_this$props$onGesture2","_this$props2","onHandlerStateChange","_this$props$onHandler","_this$props3","stateEventName","eventHandler","_this$props$onGesture3","_this$props4","refHandler","node","child","Children","only","children","ref","newConfig","newViewTag","JS_FUNCTION_OLD_API","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","setNativeProps","updates","mergedProps","render","context","gestureEventHandler","gestureStateEventHandler","events","e","grandChildren","type","toArray","push","createElement","key","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"..\\..\\..\\src","sources":["handlers/createHandler.tsx"],"mappings":";AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EACRC,SAAS,EACTC,kBAAkB,QAEb,cAAc;AACr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AAK;QAClB,IAAIxI,SAAS,CAAC,CAAC,GACX;UACEyI,WAAW,EAAErF,IAAI;UACjBU,UAAU,EAAE,IAAI,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACP4E,MAAM,EAAE,IAAI,CAACxG,KAAK,CAACwG,MAAM,IAAIrC,KAAK,CAACnE,KAAK,CAACwG,MAAM;QAC/C,GAAGb;MACL,CAAC,EACDE,aACF,CAAC;IACH;EACF;EACA,OAAOtE,OAAO;AAChB","ignoreList":[]}
|
1
|
+
{"version":3,"names":["React","Platform","UIManager","DeviceEventEmitter","deepEqual","RNGestureHandlerModule","State","handlerIDToTag","getNextHandlerTag","registerOldGestureHandler","filterConfig","findNodeHandle","scheduleFlushOperations","isFabric","isJestEnv","tagMessage","ActionType","PressabilityDebugView","GestureHandlerRootViewContext","UIManagerAny","customGHEventsConfigFabricAndroid","topOnGestureHandlerEvent","registrationName","topOnGestureHandlerStateChange","customGHEventsConfig","onGestureHandlerEvent","onGestureHandlerStateChange","OS","genericDirectEventTypes","UIManagerConstants","_UIManagerAny$getView","getViewManagerConfig","call","_UIManagerAny$getCons","getConstants","setJSResponder","oldSetJSResponder","clearJSResponder","oldClearJSResponder","tag","blockNativeResponder","handleSetJSResponder","handleClearJSResponder","allowTouches","DEV_ON_ANDROID","__DEV__","addListener","hasUnresolvedRefs","props","extract","refs","Array","isArray","current","some","r","stateToPropMappings","UNDETERMINED","undefined","BEGAN","FAILED","CANCELLED","ACTIVE","END","UNRESOLVED_REFS_RETRY_LIMIT","createHandler","_ref","name","allowedProps","config","transformProps","customNativeProps","Handler","Component","displayName","contextType","constructor","handlerTag","propsRef","createRef","isMountedRef","state","id","Error","componentDidMount","inspectorToggleListener","setState","_","update","queueMicrotask","createGestureHandler","attachGestureHandler","viewNode","componentDidUpdate","viewTag","componentWillUnmount","_this$inspectorToggle","remove","dropGestureHandler","handlerID","event","nativeEvent","onGestureEvent","_this$props$onGesture","_this$props","_this$props$onGesture2","_this$props2","onHandlerStateChange","_this$props$onHandler","_this$props3","stateEventName","eventHandler","_this$props$onGesture3","_this$props4","refHandler","node","child","Children","only","children","ref","newConfig","newViewTag","JS_FUNCTION_OLD_API","onGestureStateChange","actionType","_this$props5","_this$props6","_this$props7","REANIMATED_WORKLET","NATIVE_ANIMATED_EVENT","updateGestureHandler","remainingTries","setNativeProps","updates","mergedProps","render","context","gestureEventHandler","gestureStateEventHandler","events","e","grandChildren","type","toArray","push","createElement","key","color","hitSlop","cloneElement","collapsable","handlerType","testID"],"sourceRoot":"../../../src","sources":["handlers/createHandler.tsx"],"mappings":";AAAA;;AAEA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EACRC,SAAS,EACTC,kBAAkB,QAEb,cAAc;AACrB;AACA,OAAOC,SAAS,MAAM,gBAAgB;AACtC,OAAOC,sBAAsB,MAAM,2BAA2B,CAAC,CAAC;;AAEhE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SACEC,cAAc,EACdC,iBAAiB,EACjBC,yBAAyB,QACpB,4DAA4D;AAEnE,SAEEC,YAAY,EAGZC,cAAc,EACdC,uBAAuB,QAClB,gEAAgE;AAEvE,SAASC,QAAQ,EAAEC,SAAS,EAAEC,UAAU,QAAQ,wCAAwC;AACxF,SAASC,UAAU,QAAQ,6CAA6C;AACxE,SAASC,qBAAqB,QAAQ,iEAAiE;AACvG,OAAOC,6BAA6B,MAAM,gEAAgE;AAE1G,MAAMC,YAAY,GAAGjB,SAAgB;AAErC,MAAMkB,iCAAiC,GAAG;EACxCC,wBAAwB,EAAE;IAAEC,gBAAgB,EAAE;EAAwB,CAAC;EACvEC,8BAA8B,EAAE;IAC9BD,gBAAgB,EAAE;EACpB;AACF,CAAC;AAED,MAAME,oBAAoB,GAAG;EAC3BC,qBAAqB,EAAE;IAAEH,gBAAgB,EAAE;EAAwB,CAAC;EACpEI,2BAA2B,EAAE;IAC3BJ,gBAAgB,EAAE;EACpB,CAAC;EAED;EACA;EACA;EACA;EACA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C3B,KAAK,CAAC2B,IAAI,CAAC5E,IAAI,KAAK,MAAM,IAC1BiD,KAAK,CAAC2B,IAAI,CAACrE,WAAW,KAAK,MAAM,CAAC,EACpC;QACAoE,aAAa,GAAG9I,KAAK,CAACqH,QAAQ,CAAC2B,OAAO,CAACF,aAAa,CAAC;QACrDA,aAAa,CAACG,IAAI,eAChBjJ,KAAA,CAAAkJ,aAAA,CAACjI,qBAAqB;UACpBkI,GAAG,EAAC,uBAAuB;UAC3BC,KAAK,EAAC,mBAAmB;UACzBC,OAAO,EAAEjC,KAAK,CAACpE,KAAK,CAACqG;QAAQ,CAC9B,CACH,CAAC;MACH;MAEA,oBAAOrJ,KAAK,CAACsJ,YAAY,CACvBlC,KAAK,EACL;QACEI,GAAG,EAAE,IAAI,CAACN,UAAU;QACpBqC,WAAW,EAAE,KAAK;QAClB,IAAIzI,SAAS,CAAC,CAAC,GACX;UACE0I,WAAW,EAAErF,IAAI;UACjBU,UAAU,EAAE,IAAI,CAACA;QACnB,CAAC,GACD,CAAC,CAAC,CAAC;QACP4E,MAAM,EAAE,IAAI,CAACzG,KAAK,CAACyG,MAAM,IAAIrC,KAAK,CAACpE,KAAK,CAACyG,MAAM;QAC/C,GAAGb;MACL,CAAC,EACDE,aACF,CAAC;IACH;EACF;EACA,OAAOtE,OAAO;AAChB"}
|
package/lib/module/index.js
CHANGED
@@ -7,17 +7,15 @@ export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/s
|
|
7
7
|
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
8
8
|
export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
9
9
|
// export { ForceTouchGestureHandler } from './handlers/ForceTouchGestureHandler';
|
10
|
-
|
10
|
+
export { LongPressGestureHandler } from 'react-native-gesture-handler/src/handlers/LongPressGestureHandler';
|
11
11
|
export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
export { PinchGestureHandler } from 'react-native-gesture-handler/src/handlers/PinchGestureHandler';
|
13
|
+
export { RotationGestureHandler } from 'react-native-gesture-handler/src/handlers/RotationGestureHandler';
|
14
|
+
export { FlingGestureHandler } from 'react-native-gesture-handler/src/handlers/FlingGestureHandler';
|
15
15
|
export { default as createNativeWrapper } from 'react-native-gesture-handler/src/handlers/createNativeWrapper';
|
16
16
|
export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
|
17
17
|
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
18
|
-
|
19
|
-
// export { NativeViewGestureHandler } from './handlers/NativeViewGestureHandler';
|
20
|
-
|
18
|
+
export { NativeViewGestureHandler } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
|
21
19
|
export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton } from 'react-native-gesture-handler/src/components/GestureButtons';
|
22
20
|
export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback } from 'react-native-gesture-handler/src/components/touchables';
|
23
21
|
export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl } from 'react-native-gesture-handler/src/components/GestureComponents';
|
package/lib/module/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["global","isFormsStackingContext","initialize","Directions","State","default","gestureHandlerRootHOC","GestureHandlerRootView","TapGestureHandler","PanGestureHandler","createNativeWrapper","GestureDetector","GestureObjects","Gesture","RawButton","BaseButton","RectButton","BorderlessButton","PureNativeButton","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","RefreshControl","Swipeable","DrawerLayout","enableExperimentalWebImplementation","enableLegacyWebImplementation"],"sourceRoot":"
|
1
|
+
{"version":3,"names":["global","isFormsStackingContext","initialize","Directions","State","default","gestureHandlerRootHOC","GestureHandlerRootView","TapGestureHandler","LongPressGestureHandler","PanGestureHandler","PinchGestureHandler","RotationGestureHandler","FlingGestureHandler","createNativeWrapper","GestureDetector","GestureObjects","Gesture","NativeViewGestureHandler","RawButton","BaseButton","RectButton","BorderlessButton","PureNativeButton","TouchableHighlight","TouchableNativeFeedback","TouchableOpacity","TouchableWithoutFeedback","ScrollView","Switch","TextInput","DrawerLayoutAndroid","FlatList","RefreshControl","Swipeable","DrawerLayout","enableExperimentalWebImplementation","enableLegacyWebImplementation"],"sourceRoot":"../../src","sources":["index.ts"],"mappings":"AAIAA,MAAM,CAACC,sBAAsB,GAAG,MAAM,IAAI,CAAC,CAAC;;AAE5C,SAASC,UAAU,QAAQ,uCAAuC;AAElE,SAASC,UAAU,QAAQ,6CAA6C;AACxE,SAASC,KAAK,QAAQ,wCAAwC;AAC9D,SAASC,OAAO,IAAIC,qBAAqB,QAAQ,mEAAmE;AACpH,SAASD,OAAO,IAAIE,sBAAsB,QAAQ,qCAAqC;AA+CvF,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F;AACA,SAASC,uBAAuB,QAAQ,mEAAmE;AAC3G,SAASC,iBAAiB,QAAQ,6DAA6D;AAC/F,SAASC,mBAAmB,QAAQ,+DAA+D;AACnG,SAASC,sBAAsB,QAAQ,kEAAkE;AACzG,SAASC,mBAAmB,QAAQ,+DAA+D;AACnG,SAASR,OAAO,IAAIS,mBAAmB,QAAQ,+DAA+D;AAK9G,SAASC,eAAe,QAAQ,oEAAoE;AACpG,SAASC,cAAc,IAAIC,OAAO,QAAQ,mEAAmE;AAiB7G,SAASC,wBAAwB,QAAQ,oEAAoE;AAO7G,SACEC,SAAS,EACTC,UAAU,EACVC,UAAU,EACVC,gBAAgB,EAChBC,gBAAgB,QACX,4DAA4D;AACnE,SACEC,kBAAkB,EAClBC,uBAAuB,EACvBC,gBAAgB,EAChBC,wBAAwB,QACnB,wDAAwD;AAC/D,SACEC,UAAU,EACVC,MAAM,EACNC,SAAS,EACTC,mBAAmB,EACnBC,QAAQ,EACRC,cAAc,QACT,+DAA+D;AAwCtE,SAAS5B,OAAO,IAAI6B,SAAS,QAAQ,uDAAuD;AAS5F,SAAS7B,OAAO,IAAI8B,YAAY,QAAQ,0DAA0D;AAElG,SACEC,mCAAmC,EACnCC,6BAA6B,QACxB,6DAA6D;AAEpEnC,UAAU,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"
|
1
|
+
{"version":3,"names":["TurboModuleRegistry","getEnforcing"],"sourceRoot":"../../../src","sources":["specs/NativeRNGestureHandlerModule.ts"],"mappings":"AAAA,SAASA,mBAAmB,QAAqB,cAAc;AAyB/D,eAAeA,mBAAmB,CAACC,YAAY,CAAO,wBAAwB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerButtonNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAiB5F,eAAeA,sBAAsB,CAAc,wBAAwB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"
|
1
|
+
{"version":3,"names":["codegenNativeComponent"],"sourceRoot":"../../../src","sources":["specs/RNGestureHandlerRootViewNativeComponent.ts"],"mappings":"AAAA,OAAOA,sBAAsB,MAAM,yDAAyD;AAK5F,eAAeA,sBAAsB,CAAc,0BAA0B,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
declare const RNGestureHandlerModule: import("../src/specs/NativeRNGestureHandlerModule").Spec;
|
2
|
-
export default RNGestureHandlerModule;
|
1
|
+
declare const RNGestureHandlerModule: import("../src/specs/NativeRNGestureHandlerModule").Spec;
|
2
|
+
export default RNGestureHandlerModule;
|
3
3
|
//# sourceMappingURL=RNGestureHandlerModule.d.ts.map
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { PropsWithChildren } from 'react';
|
3
|
-
import { ViewProps } from 'react-native';
|
4
|
-
export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
|
5
|
-
}
|
6
|
-
export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
|
1
|
+
import * as React from 'react';
|
2
|
+
import { PropsWithChildren } from 'react';
|
3
|
+
import { ViewProps } from 'react-native';
|
4
|
+
export interface GestureHandlerRootViewProps extends PropsWithChildren<ViewProps> {
|
5
|
+
}
|
6
|
+
export default function GestureHandlerRootView(props: GestureHandlerRootViewProps): React.JSX.Element;
|
7
7
|
//# sourceMappingURL=GestureHandlerRootView.d.ts.map
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { BaseGestureHandlerProps } from "react-native-gesture-handler/src/handlers/gestureHandlerCommon";
|
3
|
-
declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
|
4
|
-
name: string;
|
5
|
-
allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
|
6
|
-
config: Readonly<Record<string, unknown>>;
|
7
|
-
transformProps?: (props: HandlerPropsT) => HandlerPropsT;
|
8
|
-
customNativeProps?: Readonly<string[]>;
|
9
|
-
}>;
|
10
|
-
export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
|
11
|
-
export {};
|
1
|
+
import * as React from 'react';
|
2
|
+
import { BaseGestureHandlerProps } from "react-native-gesture-handler/src/handlers/gestureHandlerCommon";
|
3
|
+
declare type CreateHandlerArgs<HandlerPropsT extends Record<string, unknown>> = Readonly<{
|
4
|
+
name: string;
|
5
|
+
allowedProps: Readonly<Extract<keyof HandlerPropsT, string>[]>;
|
6
|
+
config: Readonly<Record<string, unknown>>;
|
7
|
+
transformProps?: (props: HandlerPropsT) => HandlerPropsT;
|
8
|
+
customNativeProps?: Readonly<string[]>;
|
9
|
+
}>;
|
10
|
+
export default function createHandler<T extends BaseGestureHandlerProps<U>, U extends Record<string, unknown>>({ name, allowedProps, config, transformProps, customNativeProps, }: CreateHandlerArgs<T>): React.ComponentType<T & React.RefAttributes<any>>;
|
11
|
+
export {};
|
12
12
|
//# sourceMappingURL=createHandler.d.ts.map
|
@@ -1,43 +1,48 @@
|
|
1
|
-
export { Directions } from 'react-native-gesture-handler/src/Directions';
|
2
|
-
export { State } from 'react-native-gesture-handler/src/State';
|
3
|
-
export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/src/components/gestureHandlerRootHOC';
|
4
|
-
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
5
|
-
export type { GestureEvent, HandlerStateChangeEvent, GestureEventPayload, HandlerStateChangeEventPayload, GestureTouchEvent, TouchData, GestureUpdateEvent, GestureStateChangeEvent, } from 'react-native-gesture-handler/src/handlers/gestureHandlerCommon';
|
6
|
-
export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
|
7
|
-
export type { TapGestureHandlerEventPayload, TapGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
8
|
-
export type { ForceTouchGestureHandlerEventPayload, ForceTouchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/ForceTouchGestureHandler';
|
9
|
-
export type { ForceTouchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/forceTouchGesture';
|
10
|
-
export type { LongPressGestureHandlerEventPayload, LongPressGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/LongPressGestureHandler';
|
11
|
-
export type { PanGestureHandlerEventPayload, PanGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
12
|
-
export type { PanGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/panGesture';
|
13
|
-
export type { PinchGestureHandlerEventPayload, PinchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PinchGestureHandler';
|
14
|
-
export type { PinchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/pinchGesture';
|
15
|
-
export type { RotationGestureHandlerEventPayload, RotationGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/RotationGestureHandler';
|
16
|
-
export type { FlingGestureHandlerEventPayload, FlingGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/FlingGestureHandler';
|
17
|
-
export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
18
|
-
export {
|
19
|
-
export {
|
20
|
-
export
|
21
|
-
export {
|
22
|
-
export {
|
23
|
-
export
|
24
|
-
export type {
|
25
|
-
export
|
26
|
-
export
|
27
|
-
export type {
|
28
|
-
export type {
|
29
|
-
export type {
|
30
|
-
export type {
|
31
|
-
export type {
|
32
|
-
export type {
|
33
|
-
export type {
|
34
|
-
export type {
|
35
|
-
export {
|
36
|
-
export {
|
37
|
-
export {
|
38
|
-
export
|
39
|
-
export {
|
40
|
-
export
|
41
|
-
export {
|
42
|
-
export {
|
1
|
+
export { Directions } from 'react-native-gesture-handler/src/Directions';
|
2
|
+
export { State } from 'react-native-gesture-handler/src/State';
|
3
|
+
export { default as gestureHandlerRootHOC } from 'react-native-gesture-handler/src/components/gestureHandlerRootHOC';
|
4
|
+
export { default as GestureHandlerRootView } from './components/GestureHandlerRootView';
|
5
|
+
export type { GestureEvent, HandlerStateChangeEvent, GestureEventPayload, HandlerStateChangeEventPayload, GestureTouchEvent, TouchData, GestureUpdateEvent, GestureStateChangeEvent, } from 'react-native-gesture-handler/src/handlers/gestureHandlerCommon';
|
6
|
+
export type { GestureType } from 'react-native-gesture-handler/src/handlers/gestures/gesture';
|
7
|
+
export type { TapGestureHandlerEventPayload, TapGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
8
|
+
export type { ForceTouchGestureHandlerEventPayload, ForceTouchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/ForceTouchGestureHandler';
|
9
|
+
export type { ForceTouchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/forceTouchGesture';
|
10
|
+
export type { LongPressGestureHandlerEventPayload, LongPressGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/LongPressGestureHandler';
|
11
|
+
export type { PanGestureHandlerEventPayload, PanGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
12
|
+
export type { PanGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/panGesture';
|
13
|
+
export type { PinchGestureHandlerEventPayload, PinchGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/PinchGestureHandler';
|
14
|
+
export type { PinchGestureChangeEventPayload } from 'react-native-gesture-handler/src/handlers/gestures/pinchGesture';
|
15
|
+
export type { RotationGestureHandlerEventPayload, RotationGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/RotationGestureHandler';
|
16
|
+
export type { FlingGestureHandlerEventPayload, FlingGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/FlingGestureHandler';
|
17
|
+
export { TapGestureHandler } from 'react-native-gesture-handler/src/handlers/TapGestureHandler';
|
18
|
+
export { LongPressGestureHandler } from 'react-native-gesture-handler/src/handlers/LongPressGestureHandler';
|
19
|
+
export { PanGestureHandler } from 'react-native-gesture-handler/src/handlers/PanGestureHandler';
|
20
|
+
export { PinchGestureHandler } from 'react-native-gesture-handler/src/handlers/PinchGestureHandler';
|
21
|
+
export { RotationGestureHandler } from 'react-native-gesture-handler/src/handlers/RotationGestureHandler';
|
22
|
+
export { FlingGestureHandler } from 'react-native-gesture-handler/src/handlers/FlingGestureHandler';
|
23
|
+
export { default as createNativeWrapper } from 'react-native-gesture-handler/src/handlers/createNativeWrapper';
|
24
|
+
export type { NativeViewGestureHandlerPayload, NativeViewGestureHandlerProps, } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
|
25
|
+
export { GestureDetector } from 'react-native-gesture-handler/src/handlers/gestures/GestureDetector';
|
26
|
+
export { GestureObjects as Gesture } from 'react-native-gesture-handler/src/handlers/gestures/gestureObjects';
|
27
|
+
export type { TapGestureType as TapGesture } from 'react-native-gesture-handler/src/handlers/gestures/tapGesture';
|
28
|
+
export type { PanGestureType as PanGesture } from 'react-native-gesture-handler/src/handlers/gestures/panGesture';
|
29
|
+
export type { FlingGestureType as FlingGesture } from 'react-native-gesture-handler/src/handlers/gestures/flingGesture';
|
30
|
+
export type { LongPressGestureType as LongPressGesture } from 'react-native-gesture-handler/src/handlers/gestures/longPressGesture';
|
31
|
+
export type { PinchGestureType as PinchGesture } from 'react-native-gesture-handler/src/handlers/gestures/pinchGesture';
|
32
|
+
export type { RotationGestureType as RotationGesture } from 'react-native-gesture-handler/src/handlers/gestures/rotationGesture';
|
33
|
+
export type { ForceTouchGestureType as ForceTouchGesture } from 'react-native-gesture-handler/src/handlers/gestures/forceTouchGesture';
|
34
|
+
export type { NativeGestureType as NativeGesture } from 'react-native-gesture-handler/src/handlers/gestures/nativeGesture';
|
35
|
+
export type { ManualGestureType as ManualGesture } from 'react-native-gesture-handler/src/handlers/gestures/manualGesture';
|
36
|
+
export type { ComposedGestureType as ComposedGesture, RaceGestureType as RaceGesture, SimultaneousGestureType as SimultaneousGesture, ExclusiveGestureType as ExclusiveGesture, } from 'react-native-gesture-handler/src/handlers/gestures/gestureComposition';
|
37
|
+
export type { GestureStateManagerType as GestureStateManager } from 'react-native-gesture-handler/src/handlers/gestures/gestureStateManager';
|
38
|
+
export { NativeViewGestureHandler } from 'react-native-gesture-handler/src/handlers/NativeViewGestureHandler';
|
39
|
+
export type { RawButtonProps, BaseButtonProps, RectButtonProps, BorderlessButtonProps, } from 'react-native-gesture-handler/src/components/GestureButtons';
|
40
|
+
export { RawButton, BaseButton, RectButton, BorderlessButton, PureNativeButton, } from 'react-native-gesture-handler/src/components/GestureButtons';
|
41
|
+
export { TouchableHighlight, TouchableNativeFeedback, TouchableOpacity, TouchableWithoutFeedback, } from 'react-native-gesture-handler/src/components/touchables';
|
42
|
+
export { ScrollView, Switch, TextInput, DrawerLayoutAndroid, FlatList, RefreshControl, } from 'react-native-gesture-handler/src/components/GestureComponents';
|
43
|
+
export type { GestureHandlerGestureEvent, GestureHandlerStateChangeEvent, GestureHandlerGestureEventNativeEvent, GestureHandlerStateChangeNativeEvent, NativeViewGestureHandlerGestureEvent, NativeViewGestureHandlerStateChangeEvent, TapGestureHandlerGestureEvent, TapGestureHandlerStateChangeEvent, ForceTouchGestureHandlerGestureEvent, ForceTouchGestureHandlerStateChangeEvent, LongPressGestureHandlerGestureEvent, LongPressGestureHandlerStateChangeEvent, PanGestureHandlerGestureEvent, PanGestureHandlerStateChangeEvent, PinchGestureHandlerGestureEvent, PinchGestureHandlerStateChangeEvent, RotationGestureHandlerGestureEvent, RotationGestureHandlerStateChangeEvent, FlingGestureHandlerGestureEvent, FlingGestureHandlerStateChangeEvent, NativeViewGestureHandlerProperties, TapGestureHandlerProperties, LongPressGestureHandlerProperties, PanGestureHandlerProperties, PinchGestureHandlerProperties, RotationGestureHandlerProperties, FlingGestureHandlerProperties, ForceTouchGestureHandlerProperties, RawButtonProperties, BaseButtonProperties, RectButtonProperties, BorderlessButtonProperties, } from 'react-native-gesture-handler/src/handlers/gestureHandlerTypesCompat';
|
44
|
+
export { default as Swipeable } from 'react-native-gesture-handler/src/components/Swipeable';
|
45
|
+
export type { DrawerLayoutProps, DrawerPosition, DrawerState, DrawerType, DrawerLockMode, DrawerKeyboardDismissMode, } from 'react-native-gesture-handler/src/components/DrawerLayout';
|
46
|
+
export { default as DrawerLayout } from 'react-native-gesture-handler/src/components/DrawerLayout';
|
47
|
+
export { enableExperimentalWebImplementation, enableLegacyWebImplementation, } from 'react-native-gesture-handler/src/EnableNewWebImplementation';
|
43
48
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,E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Module } from 'react-native';
|
2
|
-
import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
3
|
-
export interface Spec extends TurboModule {
|
4
|
-
handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
|
5
|
-
handleClearJSResponder: () => void;
|
6
|
-
createGestureHandler: (handlerName: string, handlerTag: Int32, config: Object) => void;
|
7
|
-
attachGestureHandler: (handlerTag: Int32, newView: Int32, actionType: Int32) => void;
|
8
|
-
updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
|
9
|
-
dropGestureHandler: (handlerTag: Int32) => void;
|
10
|
-
install: () => boolean;
|
11
|
-
flushOperations: () => void;
|
12
|
-
}
|
13
|
-
declare const _default: Spec;
|
14
|
-
export default _default;
|
1
|
+
import { TurboModule } from 'react-native';
|
2
|
+
import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
3
|
+
export interface Spec extends TurboModule {
|
4
|
+
handleSetJSResponder: (tag: Int32, blockNativeResponder: boolean) => void;
|
5
|
+
handleClearJSResponder: () => void;
|
6
|
+
createGestureHandler: (handlerName: string, handlerTag: Int32, config: Object) => void;
|
7
|
+
attachGestureHandler: (handlerTag: Int32, newView: Int32, actionType: Int32) => void;
|
8
|
+
updateGestureHandler: (handlerTag: Int32, newConfig: Object) => void;
|
9
|
+
dropGestureHandler: (handlerTag: Int32) => void;
|
10
|
+
install: () => boolean;
|
11
|
+
flushOperations: () => void;
|
12
|
+
}
|
13
|
+
declare const _default: Spec;
|
14
|
+
export default _default;
|
15
15
|
//# sourceMappingURL=NativeRNGestureHandlerModule.d.ts.map
|