GT2/Ejectable/node_modules/react-native-gesture-handler/lib/commonjs/handlers/NativeViewGestureHandler.js...

1 line
1.3 KiB
Plaintext
Raw Normal View History

2021-08-16 00:14:59 +00:00
{"version":3,"sources":["NativeViewGestureHandler.ts"],"names":["nativeViewProps","baseProps","NativeViewGestureHandler","name","allowedProps","config"],"mappings":";;;;;;;AAAA;;AACA;;;;AAYO,MAAMA,eAAe,GAAG,CAC7B,GAAGC,0BAD0B,EAE7B,uBAF6B,EAG7B,sBAH6B,CAAxB;;AAOP;AACO,MAAMC,wBAAwB,GAAG,4BAGtC;AACAC,EAAAA,IAAI,EAAE,0BADN;AAEAC,EAAAA,YAAY,EAAEJ,eAFd;AAGAK,EAAAA,MAAM,EAAE;AAHR,CAHsC,CAAjC","sourcesContent":["import createHandler from './createHandler';\nimport { BaseGestureHandlerProps, baseProps } from './gestureHandlers';\n\nexport interface NativeViewGestureHandlerProps\n extends BaseGestureHandlerProps<NativeViewGestureHandlerPayload> {\n shouldActivateOnStart?: boolean;\n disallowInterruption?: boolean;\n}\n\nexport type NativeViewGestureHandlerPayload = {\n pointerInside: boolean;\n};\n\nexport const nativeViewProps = [\n ...baseProps,\n 'shouldActivateOnStart',\n 'disallowInterruption',\n] as const;\n\nexport type NativeViewGestureHandler = typeof NativeViewGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlers.ts file\nexport const NativeViewGestureHandler = createHandler<\n NativeViewGestureHandlerProps,\n NativeViewGestureHandlerPayload\n>({\n name: 'NativeViewGestureHandler',\n allowedProps: nativeViewProps,\n config: {},\n});\n"]}