c7c2906939b139f9f42202ec7aa3811e.json
4.34 KB
{"ast":null,"code":"var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.FlatList=exports.DrawerLayoutAndroid=exports.ToolbarAndroid=exports.TextInput=exports.Switch=exports.ScrollView=void 0;var _extends2=_interopRequireDefault(require(\"@babel/runtime/helpers/extends\"));var _react=_interopRequireDefault(require(\"react\"));var _DrawerLayoutAndroid=_interopRequireDefault(require(\"react-native-web/dist/exports/DrawerLayoutAndroid\"));var _FlatList=_interopRequireDefault(require(\"react-native-web/dist/exports/FlatList\"));var _Switch=_interopRequireDefault(require(\"react-native-web/dist/exports/Switch\"));var _TextInput=_interopRequireDefault(require(\"react-native-web/dist/exports/TextInput\"));var _ToolbarAndroid=_interopRequireDefault(require(\"react-native-web/dist/exports/ToolbarAndroid\"));var _ScrollView=_interopRequireDefault(require(\"react-native-web/dist/exports/ScrollView\"));var _createNativeWrapper=_interopRequireDefault(require(\"./createNativeWrapper\"));var ScrollView=(0,_createNativeWrapper.default)(_ScrollView.default,{disallowInterruption:true});exports.ScrollView=ScrollView;var Switch=(0,_createNativeWrapper.default)(_Switch.default,{shouldCancelWhenOutside:false,shouldActivateOnStart:true,disallowInterruption:true});exports.Switch=Switch;var TextInput=(0,_createNativeWrapper.default)(_TextInput.default);exports.TextInput=TextInput;var ToolbarAndroid=(0,_createNativeWrapper.default)(_ToolbarAndroid.default);exports.ToolbarAndroid=ToolbarAndroid;var DrawerLayoutAndroid=(0,_createNativeWrapper.default)(_DrawerLayoutAndroid.default,{disallowInterruption:true});exports.DrawerLayoutAndroid=DrawerLayoutAndroid;DrawerLayoutAndroid.positions=_DrawerLayoutAndroid.default.positions;var FlatList=_react.default.forwardRef(function(props,ref){return _react.default.createElement(_FlatList.default,(0,_extends2.default)({ref:ref},props,{renderScrollComponent:function renderScrollComponent(scrollProps){return _react.default.createElement(ScrollView,scrollProps);}}));});exports.FlatList=FlatList;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-gesture-handler/GestureComponents.web.js"],"names":["ScrollView","RNScrollView","disallowInterruption","Switch","RNSwitch","shouldCancelWhenOutside","shouldActivateOnStart","TextInput","RNTextInput","ToolbarAndroid","RNToolbarAndroid","DrawerLayoutAndroid","RNDrawerLayoutAndroid","positions","FlatList","React","forwardRef","props","ref","scrollProps"],"mappings":"2VAAA,oD,ojBAUA,kFAEO,GAAMA,CAAAA,UAAU,CAAG,iCAAoBC,mBAApB,CAAkC,CAC1DC,oBAAoB,CAAE,IADoC,CAAlC,CAAnB,C,8BAIA,GAAMC,CAAAA,MAAM,CAAG,iCAAoBC,eAApB,CAA8B,CAClDC,uBAAuB,CAAE,KADyB,CAElDC,qBAAqB,CAAE,IAF2B,CAGlDJ,oBAAoB,CAAE,IAH4B,CAA9B,CAAf,C,sBAKA,GAAMK,CAAAA,SAAS,CAAG,iCAAoBC,kBAApB,CAAlB,C,4BACA,GAAMC,CAAAA,cAAc,CAAG,iCAAoBC,uBAApB,CAAvB,C,sCACA,GAAMC,CAAAA,mBAAmB,CAAG,iCAAoBC,4BAApB,CAA2C,CAC5EV,oBAAoB,CAAE,IADsD,CAA3C,CAA5B,C,gDAGPS,mBAAmB,CAACE,SAApB,CAAgCD,6BAAsBC,SAAtD,CAEO,GAAMC,CAAAA,QAAQ,CAAGC,eAAMC,UAAN,CAAiB,SAACC,KAAD,CAAQC,GAAR,QACvC,8BAAC,iBAAD,wBACE,GAAG,CAAEA,GADP,EAEMD,KAFN,EAGE,qBAAqB,CAAE,+BAAAE,WAAW,QAAI,8BAAC,UAAD,CAAgBA,WAAhB,CAAJ,EAHpC,GADuC,EAAjB,CAAjB,C","sourcesContent":["import React from 'react';\nimport {\n DrawerLayoutAndroid as RNDrawerLayoutAndroid,\n FlatList as RNFlatList,\n Switch as RNSwitch,\n TextInput as RNTextInput,\n ToolbarAndroid as RNToolbarAndroid,\n ScrollView as RNScrollView,\n} from 'react-native';\n\nimport createNativeWrapper from './createNativeWrapper';\n\nexport const ScrollView = createNativeWrapper(RNScrollView, {\n disallowInterruption: true,\n});\n\nexport const Switch = createNativeWrapper(RNSwitch, {\n shouldCancelWhenOutside: false,\n shouldActivateOnStart: true,\n disallowInterruption: true,\n});\nexport const TextInput = createNativeWrapper(RNTextInput);\nexport const ToolbarAndroid = createNativeWrapper(RNToolbarAndroid);\nexport const DrawerLayoutAndroid = createNativeWrapper(RNDrawerLayoutAndroid, {\n disallowInterruption: true,\n});\nDrawerLayoutAndroid.positions = RNDrawerLayoutAndroid.positions;\n\nexport const FlatList = React.forwardRef((props, ref) => (\n <RNFlatList\n ref={ref}\n {...props}\n renderScrollComponent={scrollProps => <ScrollView {...scrollProps} />}\n />\n));\n"]},"metadata":{},"sourceType":"script"}