1 line
1.4 KiB
Plaintext
1 line
1.4 KiB
Plaintext
|
{"version":3,"sources":["NativeViewGestureHandler.ts"],"names":["createHandler","baseProps","nativeViewProps","NativeViewGestureHandler","name","allowedProps","config"],"mappings":"AAAA,OAAOA,aAAP,MAA0B,iBAA1B;AACA,SAAkCC,SAAlC,QAAmD,mBAAnD;AAYA,OAAO,MAAMC,eAAe,GAAG,CAC7B,GAAGD,SAD0B,EAE7B,uBAF6B,EAG7B,sBAH6B,CAAxB;AAOP;AACA,OAAO,MAAME,wBAAwB,GAAGH,aAAa,CAGnD;AACAI,EAAAA,IAAI,EAAE,0BADN;AAEAC,EAAAA,YAAY,EAAEH,eAFd;AAGAI,EAAAA,MAAM,EAAE;AAHR,CAHmD,CAA9C","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"]}
|