You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.0 KiB
1 line
3.0 KiB
{"ast":null,"code":"import _toConsumableArray from \"@babel/runtime/helpers/toConsumableArray\";\nimport createHandler from \"./createHandler\";\nimport { baseGestureHandlerProps } from \"./gestureHandlerCommon\";\nexport var nativeViewGestureHandlerProps = ['shouldActivateOnStart', 'disallowInterruption'];\nexport var nativeViewProps = [].concat(_toConsumableArray(baseGestureHandlerProps), nativeViewGestureHandlerProps);\nexport var nativeViewHandlerName = 'NativeViewGestureHandler';\nexport var NativeViewGestureHandler = createHandler({\n name: nativeViewHandlerName,\n allowedProps: nativeViewProps,\n config: {}\n});","map":{"version":3,"mappings":";AAAA,OAAOA,aAAP;AACA,SAEEC,uBAFF;AAKA,OAAO,IAAMC,6BAA6B,GAAG,CAC3C,uBAD2C,EAE3C,sBAF2C,CAAtC;AAgCP,OAAO,IAAMC,eAAe,gCACvBF,uBAD0B,GAE1BC,6BAF0B,CAAxB;AAKP,OAAO,IAAME,qBAAqB,GAAG,0BAA9B;AAIP,OAAO,IAAMC,wBAAwB,GAAGL,aAAa,CAGnD;EACAM,IAAI,EAAEF,qBADN;EAEAG,YAAY,EAAEJ,eAFd;EAGAK,MAAM,EAAE;AAHR,CAHmD,CAA9C","names":["createHandler","baseGestureHandlerProps","nativeViewGestureHandlerProps","nativeViewProps","nativeViewHandlerName","NativeViewGestureHandler","name","allowedProps","config"],"sources":["/Users/mathildejean/Documents/BUT/LaSuperMeteo/LaSuperMeteo/iut-expo-starter/node_modules/react-native-gesture-handler/lib/module/handlers/NativeViewGestureHandler.ts"],"sourcesContent":["import createHandler from './createHandler';\nimport {\n BaseGestureHandlerProps,\n baseGestureHandlerProps,\n} from './gestureHandlerCommon';\n\nexport const nativeViewGestureHandlerProps = [\n 'shouldActivateOnStart',\n 'disallowInterruption',\n] as const;\n\nexport interface NativeViewGestureConfig {\n /**\n * Android only.\n *\n * Determines whether the handler should check for an existing touch event on\n * instantiation.\n */\n shouldActivateOnStart?: boolean;\n\n /**\n * When `true`, cancels all other gesture handlers when this\n * `NativeViewGestureHandler` receives an `ACTIVE` state event.\n */\n disallowInterruption?: boolean;\n}\n\nexport interface NativeViewGestureHandlerProps\n extends BaseGestureHandlerProps<NativeViewGestureHandlerPayload>,\n NativeViewGestureConfig {}\n\nexport type NativeViewGestureHandlerPayload = {\n /**\n * True if gesture was performed inside of containing view, false otherwise.\n */\n pointerInside: boolean;\n};\n\nexport const nativeViewProps = [\n ...baseGestureHandlerProps,\n ...nativeViewGestureHandlerProps,\n] as const;\n\nexport const nativeViewHandlerName = 'NativeViewGestureHandler';\n\nexport type NativeViewGestureHandler = typeof NativeViewGestureHandler;\n// eslint-disable-next-line @typescript-eslint/no-redeclare -- backward compatibility; see description on the top of gestureHandlerCommon.ts file\nexport const NativeViewGestureHandler = createHandler<\n NativeViewGestureHandlerProps,\n NativeViewGestureHandlerPayload\n>({\n name: nativeViewHandlerName,\n allowedProps: nativeViewProps,\n config: {},\n});\n"]},"metadata":{},"sourceType":"module","externalDependencies":[]} |