796c5194210ccaac0a9bd31561a243c7.json 4.11 KB
{"ast":null,"code":"var _interopRequireWildcard=require(\"@babel/runtime/helpers/interopRequireWildcard\");var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _View=_interopRequireDefault(require(\"../../exports/View\"));var _react=_interopRequireWildcard(require(\"react\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var UnimplementedView=function(_Component){_inheritsLoose(UnimplementedView,_Component);function UnimplementedView(){return _Component.apply(this,arguments)||this;}var _proto=UnimplementedView.prototype;_proto.setNativeProps=function setNativeProps(){};_proto.render=function render(){return _react.default.createElement(_View.default,{style:[unimplementedViewStyles,this.props.style]},this.props.children);};return UnimplementedView;}(_react.Component);var unimplementedViewStyles=process.env.NODE_ENV!=='production'?{alignSelf:'flex-start',borderColor:'red',borderWidth:1}:{};var _default=UnimplementedView;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/UnimplementedView/index.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","UnimplementedView","_Component","apply","arguments","_proto","setNativeProps","render","React","createElement","View","style","unimplementedViewStyles","props","children","Component","process","env","NODE_ENV","alignSelf","borderColor","borderWidth"],"mappings":"wPAUA,gEACA,qDAXA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAkBvL,GAAIM,CAAAA,iBAAiB,CAErB,SAAUC,UAAV,CAAsB,CACpBT,cAAc,CAACQ,iBAAD,CAAoBC,UAApB,CAAd,CAEA,QAASD,CAAAA,iBAAT,EAA6B,CAC3B,MAAOC,CAAAA,UAAU,CAACC,KAAX,CAAiB,IAAjB,CAAuBC,SAAvB,GAAqC,IAA5C,CACD,CAED,GAAIC,CAAAA,MAAM,CAAGJ,iBAAiB,CAACL,SAA/B,CAEAS,MAAM,CAACC,cAAP,CAAwB,QAASA,CAAAA,cAAT,EAA0B,CAGjD,CAHD,CAKAD,MAAM,CAACE,MAAP,CAAgB,QAASA,CAAAA,MAAT,EAAkB,CAChC,MAAOC,gBAAMC,aAAN,CAAoBC,aAApB,CAA0B,CAC/BC,KAAK,CAAE,CAACC,uBAAD,CAA0B,KAAKC,KAAL,CAAWF,KAArC,CADwB,CAA1B,CAEJ,KAAKE,KAAL,CAAWC,QAFP,CAAP,CAGD,CAJD,CAMA,MAAOb,CAAAA,iBAAP,CACD,CArBD,CAqBEc,gBArBF,CAFA,CAyBA,GAAIH,CAAAA,uBAAuB,CAAGI,OAAO,CAACC,GAAR,CAAYC,QAAZ,GAAyB,YAAzB,CAAwC,CACpEC,SAAS,CAAE,YADyD,CAEpEC,WAAW,CAAE,KAFuD,CAGpEC,WAAW,CAAE,CAHuD,CAAxC,CAI1B,EAJJ,C,aAKepB,iB","sourcesContent":["function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\n/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport View from '../../exports/View';\nimport React, { Component } from 'react';\n/**\n * Common implementation for a simple stubbed view.\n */\n\n/* eslint-disable react/prop-types */\n\nvar UnimplementedView =\n/*#__PURE__*/\nfunction (_Component) {\n  _inheritsLoose(UnimplementedView, _Component);\n\n  function UnimplementedView() {\n    return _Component.apply(this, arguments) || this;\n  }\n\n  var _proto = UnimplementedView.prototype;\n\n  _proto.setNativeProps = function setNativeProps() {// Do nothing.\n    // This method is required in order to use this view as a Touchable* child.\n    // See ensureComponentIsNative.js for more info\n  };\n\n  _proto.render = function render() {\n    return React.createElement(View, {\n      style: [unimplementedViewStyles, this.props.style]\n    }, this.props.children);\n  };\n\n  return UnimplementedView;\n}(Component);\n\nvar unimplementedViewStyles = process.env.NODE_ENV !== 'production' ? {\n  alignSelf: 'flex-start',\n  borderColor: 'red',\n  borderWidth: 1\n} : {};\nexport default UnimplementedView;"]},"metadata":{},"sourceType":"script"}