@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
@@ -0,0 +1,134 @@
|
|
1
|
+
import { DescriptorRegistry, Descriptor, Tag } from '@rnoh/react-native-openharmony/ts';
|
2
|
+
import { View, Vector2D, BoundingBox } from "../core"
|
3
|
+
|
4
|
+
|
5
|
+
export type RawTouchableView = {
|
6
|
+
tag: number,
|
7
|
+
/**
|
8
|
+
* Relative to application window.
|
9
|
+
*/
|
10
|
+
x: number,
|
11
|
+
/**
|
12
|
+
* Relative to application window.
|
13
|
+
*/
|
14
|
+
y: number,
|
15
|
+
width: number,
|
16
|
+
height: number,
|
17
|
+
buttonRole: boolean,
|
18
|
+
}
|
19
|
+
|
20
|
+
export class ViewCAPI implements View {
|
21
|
+
private tag: number
|
22
|
+
private buttonRole: boolean
|
23
|
+
private boundingBox: BoundingBox
|
24
|
+
|
25
|
+
constructor({ tag, buttonRole, ...boundingBox }: RawTouchableView) {
|
26
|
+
this.tag = tag
|
27
|
+
this.buttonRole = buttonRole
|
28
|
+
this.boundingBox = boundingBox
|
29
|
+
}
|
30
|
+
|
31
|
+
getTag(): number {
|
32
|
+
return this.tag
|
33
|
+
}
|
34
|
+
|
35
|
+
getBoundingRect(): BoundingBox {
|
36
|
+
return { ...this.boundingBox }
|
37
|
+
}
|
38
|
+
|
39
|
+
isPositionInBounds({x, y}: {
|
40
|
+
x: number;
|
41
|
+
y: number
|
42
|
+
}): boolean {
|
43
|
+
const rect = this.getBoundingRect();
|
44
|
+
return (
|
45
|
+
x >= rect.x &&
|
46
|
+
x <= rect.x + rect.width &&
|
47
|
+
y >= rect.y &&
|
48
|
+
y <= rect.y + rect.height
|
49
|
+
);
|
50
|
+
}
|
51
|
+
|
52
|
+
updateBoundingBox(boundingBox: BoundingBox) {
|
53
|
+
this.boundingBox = boundingBox
|
54
|
+
}
|
55
|
+
|
56
|
+
setButtonRole(buttonRole: boolean) {
|
57
|
+
this.buttonRole = buttonRole
|
58
|
+
}
|
59
|
+
|
60
|
+
hasButtonRole(): boolean {
|
61
|
+
return this.buttonRole
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
export class ViewArkTS implements View {
|
66
|
+
constructor(
|
67
|
+
private descriptorRegistry: DescriptorRegistry,
|
68
|
+
private viewTag: number,
|
69
|
+
) {
|
70
|
+
}
|
71
|
+
|
72
|
+
|
73
|
+
public getTag(): Tag {
|
74
|
+
return this.viewTag;
|
75
|
+
}
|
76
|
+
|
77
|
+
public isPositionInBounds({x, y}: {
|
78
|
+
x: number;
|
79
|
+
y: number
|
80
|
+
}): boolean {
|
81
|
+
const rect = this.getBoundingRect();
|
82
|
+
return (
|
83
|
+
x >= rect.x &&
|
84
|
+
x <= rect.x + rect.width &&
|
85
|
+
y >= rect.y &&
|
86
|
+
y <= rect.y + rect.height
|
87
|
+
);
|
88
|
+
}
|
89
|
+
|
90
|
+
public getBoundingRect(): BoundingBox {
|
91
|
+
const d = this.getDescriptor();
|
92
|
+
if (!d) {
|
93
|
+
return { x: 0, y: 0, width: 0, height: 0 };
|
94
|
+
}
|
95
|
+
const offsetToAbsolutePosition = this.getOffsetToAbsolutePosition();
|
96
|
+
return {
|
97
|
+
x: d.layoutMetrics.frame.origin.x - offsetToAbsolutePosition.x,
|
98
|
+
y: d.layoutMetrics.frame.origin.y - offsetToAbsolutePosition.y,
|
99
|
+
width: d.layoutMetrics.frame.size.width,
|
100
|
+
height: d.layoutMetrics.frame.size.height,
|
101
|
+
};
|
102
|
+
}
|
103
|
+
|
104
|
+
private getDescriptor() {
|
105
|
+
return this.descriptorRegistry.getDescriptor(this.viewTag);
|
106
|
+
}
|
107
|
+
|
108
|
+
private getOffsetToAbsolutePosition(): Vector2D {
|
109
|
+
const currentOffset = new Vector2D();
|
110
|
+
let parentTag = this.getDescriptor()?.parentTag;
|
111
|
+
while (parentTag !== undefined) {
|
112
|
+
const d = this.descriptorRegistry.getDescriptor(parentTag);
|
113
|
+
currentOffset.add(this.extractScrollOffsetFromDescriptor(d));
|
114
|
+
currentOffset.subtract(new Vector2D(d.layoutMetrics.frame.origin));
|
115
|
+
parentTag = d.parentTag;
|
116
|
+
}
|
117
|
+
return currentOffset;
|
118
|
+
}
|
119
|
+
|
120
|
+
private extractScrollOffsetFromDescriptor(descriptor: Descriptor<any>) {
|
121
|
+
if (descriptor.type !== 'ScrollView') {
|
122
|
+
return new Vector2D();
|
123
|
+
}
|
124
|
+
const scrollViewState: any = descriptor.state;
|
125
|
+
return new Vector2D({
|
126
|
+
x: scrollViewState.contentOffsetX,
|
127
|
+
y: scrollViewState.contentOffsetY,
|
128
|
+
});
|
129
|
+
}
|
130
|
+
|
131
|
+
public hasButtonRole(): boolean {
|
132
|
+
return false;
|
133
|
+
}
|
134
|
+
}
|
@@ -0,0 +1,97 @@
|
|
1
|
+
import { DescriptorRegistry, Tag, } from '@rnoh/react-native-openharmony/ts';
|
2
|
+
import { ViewArkTS } from './View';
|
3
|
+
import { View, ViewRegistry } from '../core';
|
4
|
+
|
5
|
+
export class ViewRegistryArkTS implements ViewRegistry {
|
6
|
+
constructor(
|
7
|
+
private descriptorRegistry: DescriptorRegistry,
|
8
|
+
) {
|
9
|
+
}
|
10
|
+
|
11
|
+
getViewByTag(viewTag: Tag) {
|
12
|
+
return this.createView(viewTag);
|
13
|
+
}
|
14
|
+
|
15
|
+
save(view: View) {
|
16
|
+
/**
|
17
|
+
* Currently, a new View object is created when getViewByTag is called. That was the approach in initial "quick"
|
18
|
+
* implementation of this library. The save was introduced later, for the needs of implementation using C-API architecture.
|
19
|
+
* C-API architecture is going to replace ArkTS anyway, so there's no point of doing this properly since this class
|
20
|
+
* will be removed in the future.
|
21
|
+
*/
|
22
|
+
}
|
23
|
+
|
24
|
+
deleteByTag(viewTag: Tag) {
|
25
|
+
// No-op, ArkTS is going to be deprecated at some point in the future.
|
26
|
+
}
|
27
|
+
|
28
|
+
private createView(tag: Tag): ViewArkTS {
|
29
|
+
return new ViewArkTS(this.descriptorRegistry, tag);
|
30
|
+
}
|
31
|
+
|
32
|
+
getTouchableViewsAt(
|
33
|
+
pos: {
|
34
|
+
x: number;
|
35
|
+
y: number;
|
36
|
+
},
|
37
|
+
rootTag: Tag,
|
38
|
+
): ViewArkTS[] {
|
39
|
+
const rootView = this.createView(rootTag);
|
40
|
+
const results: ViewArkTS[] = [];
|
41
|
+
for (const view of this.getTouchableViewsAtPosInView(pos, rootView)) {
|
42
|
+
results.push(view);
|
43
|
+
}
|
44
|
+
return results;
|
45
|
+
}
|
46
|
+
|
47
|
+
private getTouchableViewsAtPosInView(
|
48
|
+
pos: {
|
49
|
+
x: number;
|
50
|
+
y: number;
|
51
|
+
},
|
52
|
+
view: ViewArkTS,
|
53
|
+
) {
|
54
|
+
if (!view.isPositionInBounds(pos)) return [];
|
55
|
+
const results: ViewArkTS[] = [];
|
56
|
+
results.push(view);
|
57
|
+
for (const child of this.getChildrenOf(view.getTag())) {
|
58
|
+
for (const result of this.getTouchableViewsAtPosInView(pos, child)) {
|
59
|
+
results.push(result);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
return results;
|
63
|
+
}
|
64
|
+
|
65
|
+
private getChildrenOf(viewTag: Tag): ViewArkTS[] {
|
66
|
+
return this.descriptorRegistry.findDescriptorWrapperByTag(viewTag).childrenTags.map((tag) => new ViewArkTS(this.descriptorRegistry, tag))
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
export class ViewRegistryCAPI implements ViewRegistry {
|
72
|
+
private viewByTag = new Map<Tag, View>()
|
73
|
+
|
74
|
+
save(view: View) {
|
75
|
+
this.viewByTag.set(view.getTag(), view)
|
76
|
+
}
|
77
|
+
|
78
|
+
deleteByTag(viewTag: Tag) {
|
79
|
+
this.viewByTag.delete(viewTag)
|
80
|
+
}
|
81
|
+
|
82
|
+
getViewByTag(viewTag: Tag) {
|
83
|
+
return this.viewByTag.get(viewTag);
|
84
|
+
}
|
85
|
+
|
86
|
+
getTouchableViewsAt(
|
87
|
+
pos: {
|
88
|
+
x: number;
|
89
|
+
y: number;
|
90
|
+
},
|
91
|
+
rootTag: Tag,
|
92
|
+
): ViewArkTS[] {
|
93
|
+
// Finding views is handled on CPP side and provided with the touch event.
|
94
|
+
// This method can be removed from ViewRegistry interface once support for ArkTS architecture is removed.
|
95
|
+
return []
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
export enum TouchType {
|
2
|
+
Down,
|
3
|
+
Up,
|
4
|
+
Move,
|
5
|
+
Cancel
|
6
|
+
}
|
7
|
+
|
8
|
+
interface BaseEvent {
|
9
|
+
timestamp: number;
|
10
|
+
}
|
11
|
+
|
12
|
+
export interface TouchObject {
|
13
|
+
type: TouchType;
|
14
|
+
id: number;
|
15
|
+
windowX: number;
|
16
|
+
windowY: number;
|
17
|
+
x: number;
|
18
|
+
y: number;
|
19
|
+
}
|
20
|
+
|
21
|
+
export interface TouchEvent extends BaseEvent {
|
22
|
+
type: TouchType;
|
23
|
+
touches: TouchObject[];
|
24
|
+
changedTouches: TouchObject[];
|
25
|
+
}
|
Binary file
|
Binary file
|
@@ -5,7 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.default = void 0;
|
7
7
|
var _NativeRNGestureHandlerModule = _interopRequireDefault(require("../src/specs/NativeRNGestureHandlerModule"));
|
8
|
-
function _interopRequireDefault(
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
9
9
|
const RNGestureHandlerModule = _NativeRNGestureHandlerModule.default;
|
10
|
-
var _default =
|
10
|
+
var _default = RNGestureHandlerModule;
|
11
|
+
exports.default = _default;
|
11
12
|
//# sourceMappingURL=RNGestureHandlerModule.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["_NativeRNGestureHandlerModule","_interopRequireDefault","require","
|
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"}
|
@@ -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(
|
12
|
-
function _getRequireWildcardCache(
|
13
|
-
function _interopRequireWildcard(
|
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; }
|
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","
|
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,OA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AAgC,aAAA,CAAC5B,8BAAA,CAAAK,OAA6B,CAACwB,QAAQ;IAACC,KAAK;EAAA,gBAC3ClC,KAAA,CAAAgC,aAAA,CAAC1B,wCAAA,CAAAG,OAAuC,EAAKqB,KAAQ,CACf,CAAC;AAE7C"}
|
@@ -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(
|
22
|
-
function _getRequireWildcardCache(
|
23
|
-
function _interopRequireWildcard(
|
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; }
|
24
24
|
const UIManagerAny = _reactNative.UIManager;
|
25
25
|
const customGHEventsConfigFabricAndroid = {
|
26
26
|
topOnGestureHandlerEvent: {
|
@@ -119,13 +119,14 @@ const stateToPropMappings = {
|
|
119
119
|
const UNRESOLVED_REFS_RETRY_LIMIT = 1;
|
120
120
|
|
121
121
|
// TODO(TS) - make sure that BaseGestureHandlerProps doesn't need other generic parameter to work with custom properties.
|
122
|
-
function createHandler({
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
122
|
+
function createHandler(_ref) {
|
123
|
+
let {
|
124
|
+
name,
|
125
|
+
allowedProps = [],
|
126
|
+
config = {},
|
127
|
+
transformProps,
|
128
|
+
customNativeProps = []
|
129
|
+
} = _ref;
|
129
130
|
class Handler extends React.Component {
|
130
131
|
static displayName = name;
|
131
132
|
static contextType = _GestureHandlerRootViewContext.default;
|
@@ -170,16 +171,18 @@ function createHandler({
|
|
170
171
|
this.createGestureHandler((0, _gestureHandlerCommon.filterConfig)(transformProps ? transformProps(this.props) : this.props, [...allowedProps, ...customNativeProps], config));
|
171
172
|
this.attachGestureHandler((0, _gestureHandlerCommon.findNodeHandle)(this.viewNode)); // TODO(TS) - check if this can be null
|
172
173
|
}
|
174
|
+
|
173
175
|
componentDidUpdate() {
|
174
176
|
const viewTag = (0, _gestureHandlerCommon.findNodeHandle)(this.viewNode);
|
175
177
|
if (this.viewTag !== viewTag) {
|
176
178
|
this.attachGestureHandler(viewTag); // TODO(TS) - check interaction between _viewTag & findNodeHandle
|
177
179
|
}
|
180
|
+
|
178
181
|
this.update(UNRESOLVED_REFS_RETRY_LIMIT);
|
179
182
|
}
|
180
183
|
componentWillUnmount() {
|
181
184
|
var _this$inspectorToggle;
|
182
|
-
(_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0
|
185
|
+
(_this$inspectorToggle = this.inspectorToggleListener) === null || _this$inspectorToggle === void 0 ? void 0 : _this$inspectorToggle.remove();
|
183
186
|
this.isMountedRef.current = false;
|
184
187
|
_RNGestureHandlerModule.default.dropGestureHandler(this.handlerTag);
|
185
188
|
(0, _gestureHandlerCommon.scheduleFlushOperations)();
|
@@ -194,11 +197,11 @@ function createHandler({
|
|
194
197
|
if (event.nativeEvent.handlerTag === this.handlerTag) {
|
195
198
|
if (typeof this.props.onGestureEvent === 'function') {
|
196
199
|
var _this$props$onGesture, _this$props;
|
197
|
-
(_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0
|
200
|
+
(_this$props$onGesture = (_this$props = this.props).onGestureEvent) === null || _this$props$onGesture === void 0 ? void 0 : _this$props$onGesture.call(_this$props, event);
|
198
201
|
}
|
199
202
|
} else {
|
200
203
|
var _this$props$onGesture2, _this$props2;
|
201
|
-
(_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0
|
204
|
+
(_this$props$onGesture2 = (_this$props2 = this.props).onGestureHandlerEvent) === null || _this$props$onGesture2 === void 0 ? void 0 : _this$props$onGesture2.call(_this$props2, event);
|
202
205
|
}
|
203
206
|
};
|
204
207
|
|
@@ -207,7 +210,7 @@ function createHandler({
|
|
207
210
|
if (event.nativeEvent.handlerTag === this.handlerTag) {
|
208
211
|
if (typeof this.props.onHandlerStateChange === 'function') {
|
209
212
|
var _this$props$onHandler, _this$props3;
|
210
|
-
(_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0
|
213
|
+
(_this$props$onHandler = (_this$props3 = this.props).onHandlerStateChange) === null || _this$props$onHandler === void 0 ? void 0 : _this$props$onHandler.call(_this$props3, event);
|
211
214
|
}
|
212
215
|
const state = event.nativeEvent.state;
|
213
216
|
const stateEventName = stateToPropMappings[state];
|
@@ -217,7 +220,7 @@ function createHandler({
|
|
217
220
|
}
|
218
221
|
} else {
|
219
222
|
var _this$props$onGesture3, _this$props4;
|
220
|
-
(_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0
|
223
|
+
(_this$props$onGesture3 = (_this$props4 = this.props).onGestureHandlerStateChange) === null || _this$props$onGesture3 === void 0 ? void 0 : _this$props$onGesture3.call(_this$props4, event);
|
221
224
|
}
|
222
225
|
};
|
223
226
|
refHandler = node => {
|
@@ -1 +1 @@
|
|
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,wBAAAe,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA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AAK,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":[]}
|
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,CA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