index.js 39 KB

1
  1. var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports.default=exports.View=exports.ToastContainer=exports.Toast=exports.Title=exports.Thumbnail=exports.Textarea=exports.Text=exports.TabHeading=exports.TabContainer=exports.Tab=exports.Switch=exports.SwipeRow=exports.Subtitle=exports.Spinner=exports.Separator=exports.Segment=exports.Root=exports.Right=exports.Radio=exports.PickerItem=exports.ListItem=exports.List=exports.Left=exports.Label=exports.Item=exports.InputGroup=exports.Input=exports.IconNB=exports.Header=exports.H3=exports.H2=exports.H1=exports.Gravatar=exports.Form=exports.FooterTab=exports.Footer=exports.Fab=exports.DeckSwiper=exports.DatePicker=exports.Content=exports.Container=exports.Checkbox=exports.CardItem=exports.Card=exports.Button=exports.Body=exports.Badge=exports.Actionsheet=exports.Accordion=void 0;var _defineProperty2=_interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));var _objectWithoutProperties2=_interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));var _extends2=_interopRequireDefault(require("@babel/runtime/helpers/extends"));var _classCallCheck2=_interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));var _createClass2=_interopRequireDefault(require("@babel/runtime/helpers/createClass"));var _possibleConstructorReturn2=_interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));var _getPrototypeOf2=_interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));var _inherits2=_interopRequireDefault(require("@babel/runtime/helpers/inherits"));var _react=_interopRequireDefault(require("react"));var _Types=_interopRequireDefault(require("../../lib/Types"));var _Module50=_interopRequireDefault(require("../../lib/Module"));var _nativeBase=require("native-base");var _jsxFileName="C:\\Users\\Konstanitnos\\Development\\TrapiLib\\src\\modules\\NativeBase\\index.js";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(source,true).forEach(function(key){(0,_defineProperty2.default)(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else{ownKeys(source).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}var Accordion=function(_Module){(0,_inherits2.default)(Accordion,_Module);function Accordion(props){(0,_classCallCheck2.default)(this,Accordion);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Accordion).call(this,props));}(0,_createClass2.default)(Accordion,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Accordion,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:62}}));}}]);return Accordion;}(_Module50.default);exports.Accordion=Accordion;var Actionsheet=function(_Module2){(0,_inherits2.default)(Actionsheet,_Module2);function Actionsheet(props){(0,_classCallCheck2.default)(this,Actionsheet);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Actionsheet).call(this,props));}(0,_createClass2.default)(Actionsheet,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Actionsheet,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:70}}));}}]);return Actionsheet;}(_Module50.default);exports.Actionsheet=Actionsheet;var Badge=function(_Module3){(0,_inherits2.default)(Badge,_Module3);function Badge(props){(0,_classCallCheck2.default)(this,Badge);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Badge).call(this,props));}(0,_createClass2.default)(Badge,[{key:"display",value:function display(){var _this$props=this.props,text=_this$props.text,icon=_this$props.icon,style=_this$props.style,color=_this$props.color,restProps=(0,_objectWithoutProperties2.default)(_this$props,["text","icon","style","color"]);return _react.default.createElement(_nativeBase.Badge,(0,_extends2.default)({},restProps,{style:[{flexDirection:'row'},style],__source:{fileName:_jsxFileName,lineNumber:85}}),icon?_react.default.createElement(_nativeBase.IconNB,{name:icon,style:{fontSize:15,color:color,lineHeight:27},__source:{fileName:_jsxFileName,lineNumber:86}}):null,text?_react.default.createElement(_nativeBase.Text,{style:{fontSize:15,color:color,lineHeight:27},__source:{fileName:_jsxFileName,lineNumber:87}},text):null);}}]);return Badge;}(_Module50.default);exports.Badge=Badge;var Body=function(_Module4){(0,_inherits2.default)(Body,_Module4);function Body(props){(0,_classCallCheck2.default)(this,Body);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Body).call(this,props));}(0,_createClass2.default)(Body,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Body,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:96}}));}}]);return Body;}(_Module50.default);exports.Body=Body;var Button=function(_Module5){(0,_inherits2.default)(Button,_Module5);function Button(props){(0,_classCallCheck2.default)(this,Button);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Button).call(this,props));}(0,_createClass2.default)(Button,[{key:"display",value:function display(){var _this=this;var _this$props2=this.props,text=_this$props2.text,icon=_this$props2.icon,onPress=_this$props2.onPress,rest=(0,_objectWithoutProperties2.default)(_this$props2,["text","icon","onPress"]);var run=function run(){_this.createAction(onPress);};return _react.default.createElement(_nativeBase.Button,(0,_extends2.default)({},rest,{onClick:run,onPress:run,__source:{fileName:_jsxFileName,lineNumber:113}}),icon?_react.default.createElement(IconCtor,{name:icon,__source:{fileName:_jsxFileName,lineNumber:114}}):null,text?_react.default.createElement(_nativeBase.Text,{__source:{fileName:_jsxFileName,lineNumber:115}},text):null);}}]);return Button;}(_Module50.default);exports.Button=Button;var Card=function(_Module6){(0,_inherits2.default)(Card,_Module6);function Card(props){var _this2;(0,_classCallCheck2.default)(this,Card);_this2=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Card).call(this,props));_this2.CoreSystem=props.CoreSystem;return _this2;}(0,_createClass2.default)(Card,[{key:"display",value:function display(){var _this$props3=this.props,header=_this$props3.header,body=_this$props3.body,footer=_this$props3.footer,bodyModules=_this$props3.bodyModules,rest=(0,_objectWithoutProperties2.default)(_this$props3,["header","body","footer","bodyModules"]);var item=this.renderModule('Button','NativeBase');return _react.default.createElement(_nativeBase.Card,(0,_extends2.default)({style:this.state.styleProps},this.state.restProps,{__source:{fileName:_jsxFileName,lineNumber:134}}),header?_react.default.createElement(_nativeBase.CardItem,{header:true,__source:{fileName:_jsxFileName,lineNumber:135}},_react.default.createElement(_nativeBase.Text,{__source:{fileName:_jsxFileName,lineNumber:136}},header)):null,_react.default.createElement(_nativeBase.CardItem,{__source:{fileName:_jsxFileName,lineNumber:139}},_react.default.createElement(_nativeBase.Body,{__source:{fileName:_jsxFileName,lineNumber:140}},_react.default.createElement(_nativeBase.Text,{__source:{fileName:_jsxFileName,lineNumber:141}},body),this.moduleArray(bodyModules))),footer?_react.default.createElement(_nativeBase.CardItem,{footer:true,__source:{fileName:_jsxFileName,lineNumber:147}},_react.default.createElement(_nativeBase.Text,{__source:{fileName:_jsxFileName,lineNumber:148}},footer)):null);}}]);return Card;}(_Module50.default);exports.Card=Card;var CardItem=function(_Module7){(0,_inherits2.default)(CardItem,_Module7);function CardItem(props){(0,_classCallCheck2.default)(this,CardItem);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(CardItem).call(this,props));}(0,_createClass2.default)(CardItem,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.CardItem,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:159}}));}}]);return CardItem;}(_Module50.default);exports.CardItem=CardItem;var Checkbox=function(_Module8){(0,_inherits2.default)(Checkbox,_Module8);function Checkbox(props){(0,_classCallCheck2.default)(this,Checkbox);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Checkbox).call(this,props));}(0,_createClass2.default)(Checkbox,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.CheckBox,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:167}}));}}]);return Checkbox;}(_Module50.default);exports.Checkbox=Checkbox;var Container=function(_Module9){(0,_inherits2.default)(Container,_Module9);function Container(props){(0,_classCallCheck2.default)(this,Container);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Container).call(this,props));}(0,_createClass2.default)(Container,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Container,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:175}}));}}]);return Container;}(_Module50.default);exports.Container=Container;var Content=function(_Module10){(0,_inherits2.default)(Content,_Module10);function Content(props){(0,_classCallCheck2.default)(this,Content);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Content).call(this,props));}(0,_createClass2.default)(Content,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Content,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:183}}));}}]);return Content;}(_Module50.default);exports.Content=Content;var DatePicker=function(_Module11){(0,_inherits2.default)(DatePicker,_Module11);function DatePicker(props){(0,_classCallCheck2.default)(this,DatePicker);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(DatePicker).call(this,props));}(0,_createClass2.default)(DatePicker,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.DatePicker,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:191}}));}}]);return DatePicker;}(_Module50.default);exports.DatePicker=DatePicker;var DeckSwiper=function(_Module12){(0,_inherits2.default)(DeckSwiper,_Module12);function DeckSwiper(props){(0,_classCallCheck2.default)(this,DeckSwiper);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(DeckSwiper).call(this,props));}(0,_createClass2.default)(DeckSwiper,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.DeckSwiper,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:199}}));}}]);return DeckSwiper;}(_Module50.default);exports.DeckSwiper=DeckSwiper;var Fab=function(_Module13){(0,_inherits2.default)(Fab,_Module13);function Fab(props){(0,_classCallCheck2.default)(this,Fab);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Fab).call(this,props));}(0,_createClass2.default)(Fab,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Fab,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:207}}));}}]);return Fab;}(_Module50.default);exports.Fab=Fab;var Footer=function(_Module14){(0,_inherits2.default)(Footer,_Module14);function Footer(props){(0,_classCallCheck2.default)(this,Footer);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Footer).call(this,props));}(0,_createClass2.default)(Footer,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Footer,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:215}}));}}]);return Footer;}(_Module50.default);exports.Footer=Footer;var FooterTab=function(_Module15){(0,_inherits2.default)(FooterTab,_Module15);function FooterTab(props){(0,_classCallCheck2.default)(this,FooterTab);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(FooterTab).call(this,props));}(0,_createClass2.default)(FooterTab,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.FooterTab,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:223}}));}}]);return FooterTab;}(_Module50.default);exports.FooterTab=FooterTab;var Form=function(_Module16){(0,_inherits2.default)(Form,_Module16);function Form(props){var _this3;(0,_classCallCheck2.default)(this,Form);_this3=(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Form).call(this,props));_this3.state={};return _this3;}(0,_createClass2.default)(Form,[{key:"submit",value:function submit(){this.createAction(this.props.onSubmit);}},{key:"change",value:function change(item,value){this.setState((0,_defineProperty2.default)({},item,value));}},{key:"display",value:function display(){var _this4=this;var _this$props4=this.props,inputs=_this$props4.inputs,button=_this$props4.button,onSubmit=_this$props4.onSubmit,rest=(0,_objectWithoutProperties2.default)(_this$props4,["inputs","button","onSubmit"]);return[_react.default.createElement(_nativeBase.Form,(0,_extends2.default)({},rest,{__source:{fileName:_jsxFileName,lineNumber:250}}),inputs?inputs.map(function(item,index){return _react.default.createElement(_nativeBase.Item,{key:index,last:index===inputs.length-1,__source:{fileName:_jsxFileName,lineNumber:252}},_react.default.createElement(_nativeBase.Input,{placeholder:item,placeholderLabel:item,value:_this4.state[item&&item.toLowerCase()]||'',onChangeText:function onChangeText(value){return _this4.change(item&&item.toLowerCase(),value);},__source:{fileName:_jsxFileName,lineNumber:253}}));}):null),button?_react.default.createElement(_nativeBase.Button,{onPress:function onPress(){return _this4.submit();},__source:{fileName:_jsxFileName,lineNumber:260}},_react.default.createElement(_nativeBase.Text,{__source:{fileName:_jsxFileName,lineNumber:261}},button)):null];}}]);return Form;}(_Module50.default);exports.Form=Form;var Gravatar=function(_Module17){(0,_inherits2.default)(Gravatar,_Module17);function Gravatar(props){(0,_classCallCheck2.default)(this,Gravatar);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Gravatar).call(this,props));}(0,_createClass2.default)(Gravatar,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Gravatar,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:271}}));}}]);return Gravatar;}(_Module50.default);exports.Gravatar=Gravatar;var H1=function(_Module18){(0,_inherits2.default)(H1,_Module18);function H1(props){(0,_classCallCheck2.default)(this,H1);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(H1).call(this,props));}(0,_createClass2.default)(H1,[{key:"display",value:function display(){var _this$props5=this.props,content=_this$props5.content,rest=(0,_objectWithoutProperties2.default)(_this$props5,["content"]);return _react.default.createElement(_nativeBase.H1,(0,_extends2.default)({style:this.state.styleProps},this.state.restProps,{__source:{fileName:_jsxFileName,lineNumber:283}}),content);}}]);return H1;}(_Module50.default);exports.H1=H1;var H2=function(_Module19){(0,_inherits2.default)(H2,_Module19);function H2(props){(0,_classCallCheck2.default)(this,H2);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(H2).call(this,props));}(0,_createClass2.default)(H2,[{key:"display",value:function display(){var _this$props6=this.props,content=_this$props6.content,rest=(0,_objectWithoutProperties2.default)(_this$props6,["content"]);return _react.default.createElement(_nativeBase.H2,(0,_extends2.default)({style:this.state.styleProps},this.state.restProps,{__source:{fileName:_jsxFileName,lineNumber:297}}),content);}}]);return H2;}(_Module50.default);exports.H2=H2;var H3=function(_Module20){(0,_inherits2.default)(H3,_Module20);function H3(props){(0,_classCallCheck2.default)(this,H3);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(H3).call(this,props));}(0,_createClass2.default)(H3,[{key:"display",value:function display(){var _this$props7=this.props,content=_this$props7.content,rest=(0,_objectWithoutProperties2.default)(_this$props7,["content"]);return _react.default.createElement(_nativeBase.H3,(0,_extends2.default)({style:this.state.styleProps},this.state.restProps,{__source:{fileName:_jsxFileName,lineNumber:311}}),content);}}]);return H3;}(_Module50.default);exports.H3=H3;var Header=function(_Module21){(0,_inherits2.default)(Header,_Module21);function Header(props){(0,_classCallCheck2.default)(this,Header);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Header).call(this,props));}(0,_createClass2.default)(Header,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Header,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:321}}));}}]);return Header;}(_Module50.default);exports.Header=Header;var IconNB=function(_Module22){(0,_inherits2.default)(IconNB,_Module22);function IconNB(props){(0,_classCallCheck2.default)(this,IconNB);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(IconNB).call(this,props));}(0,_createClass2.default)(IconNB,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.IconNB,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:329}}));}}]);return IconNB;}(_Module50.default);exports.IconNB=IconNB;var Input=function(_Module23){(0,_inherits2.default)(Input,_Module23);function Input(props){(0,_classCallCheck2.default)(this,Input);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Input).call(this,props));}(0,_createClass2.default)(Input,[{key:"display",value:function display(){var _this$props8=this.props,icon=_this$props8.icon,placeholder=_this$props8.placeholder,rest=(0,_objectWithoutProperties2.default)(_this$props8,["icon","placeholder"]);return _react.default.createElement(_nativeBase.Item,(0,_extends2.default)({},rest,{__source:{fileName:_jsxFileName,lineNumber:342}}),_react.default.createElement(_nativeBase.Input,{placeholder:placeholder,__source:{fileName:_jsxFileName,lineNumber:343}}),icon?_react.default.createElement(_nativeBase.IconNB,{active:true,name:icon,__source:{fileName:_jsxFileName,lineNumber:344}}):null);}}]);return Input;}(_Module50.default);exports.Input=Input;var InputGroup=function(_Module24){(0,_inherits2.default)(InputGroup,_Module24);function InputGroup(props){(0,_classCallCheck2.default)(this,InputGroup);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(InputGroup).call(this,props));}(0,_createClass2.default)(InputGroup,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.InputGroup,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:353}}));}}]);return InputGroup;}(_Module50.default);exports.InputGroup=InputGroup;var Item=function(_Module25){(0,_inherits2.default)(Item,_Module25);function Item(props){(0,_classCallCheck2.default)(this,Item);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Item).call(this,props));}(0,_createClass2.default)(Item,[{key:"display",value:function display(){var _this$props9=this.props,placeholder=_this$props9.placeholder,mod=_this$props9.mod,rest=(0,_objectWithoutProperties2.default)(_this$props9,["placeholder","mod"]);console.log("RENDERMOD:",mod);return _react.default.createElement(_nativeBase.Content,{__source:{fileName:_jsxFileName,lineNumber:367}},_react.default.createElement(_nativeBase.Item,(0,_extends2.default)({},rest,{__source:{fileName:_jsxFileName,lineNumber:368}}),this.module(mod)));}}]);return Item;}(_Module50.default);exports.Item=Item;var Label=function(_Module26){(0,_inherits2.default)(Label,_Module26);function Label(props){(0,_classCallCheck2.default)(this,Label);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Label).call(this,props));}(0,_createClass2.default)(Label,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Label,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:379}}));}}]);return Label;}(_Module50.default);exports.Label=Label;var Left=function(_Module27){(0,_inherits2.default)(Left,_Module27);function Left(props){(0,_classCallCheck2.default)(this,Left);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Left).call(this,props));}(0,_createClass2.default)(Left,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Left,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:387}}));}}]);return Left;}(_Module50.default);exports.Left=Left;var List=function(_Module28){(0,_inherits2.default)(List,_Module28);function List(props){(0,_classCallCheck2.default)(this,List);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(List).call(this,props));}(0,_createClass2.default)(List,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.List,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:395}}));}}]);return List;}(_Module50.default);exports.List=List;var ListItem=function(_Module29){(0,_inherits2.default)(ListItem,_Module29);function ListItem(props){(0,_classCallCheck2.default)(this,ListItem);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ListItem).call(this,props));}(0,_createClass2.default)(ListItem,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.ListItem,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:403}}));}}]);return ListItem;}(_Module50.default);exports.ListItem=ListItem;var PickerItem=function(_Module30){(0,_inherits2.default)(PickerItem,_Module30);function PickerItem(props){(0,_classCallCheck2.default)(this,PickerItem);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(PickerItem).call(this,props));}(0,_createClass2.default)(PickerItem,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.PickerItem,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:411}}));}}]);return PickerItem;}(_Module50.default);exports.PickerItem=PickerItem;var Radio=function(_Module31){(0,_inherits2.default)(Radio,_Module31);function Radio(props){(0,_classCallCheck2.default)(this,Radio);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Radio).call(this,props));}(0,_createClass2.default)(Radio,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Radio,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:419}}));}}]);return Radio;}(_Module50.default);exports.Radio=Radio;var Right=function(_Module32){(0,_inherits2.default)(Right,_Module32);function Right(props){(0,_classCallCheck2.default)(this,Right);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Right).call(this,props));}(0,_createClass2.default)(Right,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Right,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:427}}));}}]);return Right;}(_Module50.default);exports.Right=Right;var Root=function(_Module33){(0,_inherits2.default)(Root,_Module33);function Root(props){(0,_classCallCheck2.default)(this,Root);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Root).call(this,props));}(0,_createClass2.default)(Root,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Root,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:435}}));}}]);return Root;}(_Module50.default);exports.Root=Root;var Segment=function(_Module34){(0,_inherits2.default)(Segment,_Module34);function Segment(props){(0,_classCallCheck2.default)(this,Segment);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Segment).call(this,props));}(0,_createClass2.default)(Segment,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Segment,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:443}}));}}]);return Segment;}(_Module50.default);exports.Segment=Segment;var Separator=function(_Module35){(0,_inherits2.default)(Separator,_Module35);function Separator(props){(0,_classCallCheck2.default)(this,Separator);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Separator).call(this,props));}(0,_createClass2.default)(Separator,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Separator,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:451}}));}}]);return Separator;}(_Module50.default);exports.Separator=Separator;var Spinner=function(_Module36){(0,_inherits2.default)(Spinner,_Module36);function Spinner(props){(0,_classCallCheck2.default)(this,Spinner);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Spinner).call(this,props));}(0,_createClass2.default)(Spinner,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Spinner,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:459}}));}}]);return Spinner;}(_Module50.default);exports.Spinner=Spinner;var Subtitle=function(_Module37){(0,_inherits2.default)(Subtitle,_Module37);function Subtitle(props){(0,_classCallCheck2.default)(this,Subtitle);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Subtitle).call(this,props));}(0,_createClass2.default)(Subtitle,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Subtitle,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:467}}));}}]);return Subtitle;}(_Module50.default);exports.Subtitle=Subtitle;var SwipeRow=function(_Module38){(0,_inherits2.default)(SwipeRow,_Module38);function SwipeRow(props){(0,_classCallCheck2.default)(this,SwipeRow);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(SwipeRow).call(this,props));}(0,_createClass2.default)(SwipeRow,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.SwipeRow,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:475}}));}}]);return SwipeRow;}(_Module50.default);exports.SwipeRow=SwipeRow;var Switch=function(_Module39){(0,_inherits2.default)(Switch,_Module39);function Switch(props){(0,_classCallCheck2.default)(this,Switch);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Switch).call(this,props));}(0,_createClass2.default)(Switch,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Switch,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:483}}));}}]);return Switch;}(_Module50.default);exports.Switch=Switch;var Tab=function(_Module40){(0,_inherits2.default)(Tab,_Module40);function Tab(props){(0,_classCallCheck2.default)(this,Tab);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Tab).call(this,props));}(0,_createClass2.default)(Tab,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Tab,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:491}}));}}]);return Tab;}(_Module50.default);exports.Tab=Tab;var TabContainer=function(_Module41){(0,_inherits2.default)(TabContainer,_Module41);function TabContainer(props){(0,_classCallCheck2.default)(this,TabContainer);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TabContainer).call(this,props));}(0,_createClass2.default)(TabContainer,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.TabContainer,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:499}}));}}]);return TabContainer;}(_Module50.default);exports.TabContainer=TabContainer;var TabHeading=function(_Module42){(0,_inherits2.default)(TabHeading,_Module42);function TabHeading(props){(0,_classCallCheck2.default)(this,TabHeading);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(TabHeading).call(this,props));}(0,_createClass2.default)(TabHeading,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.TabHeading,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:507}}));}}]);return TabHeading;}(_Module50.default);exports.TabHeading=TabHeading;var Text=function(_Module43){(0,_inherits2.default)(Text,_Module43);function Text(props){(0,_classCallCheck2.default)(this,Text);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Text).call(this,props));}(0,_createClass2.default)(Text,[{key:"display",value:function display(){var _this$props10=this.props,content=_this$props10.content,rest=(0,_objectWithoutProperties2.default)(_this$props10,["content"]);return _react.default.createElement(_nativeBase.Text,(0,_extends2.default)({style:this.state.styleProps},this.state.restProps,{__source:{fileName:_jsxFileName,lineNumber:519}}),content);}}]);return Text;}(_Module50.default);exports.Text=Text;var Textarea=function(_Module44){(0,_inherits2.default)(Textarea,_Module44);function Textarea(props){(0,_classCallCheck2.default)(this,Textarea);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Textarea).call(this,props));}(0,_createClass2.default)(Textarea,[{key:"display",value:function display(){var rest=(0,_extends2.default)({},this.props);return _react.default.createElement(_nativeBase.Textarea,(0,_extends2.default)({},rest,{__source:{fileName:_jsxFileName,lineNumber:532}}));}}]);return Textarea;}(_Module50.default);exports.Textarea=Textarea;var Thumbnail=function(_Module45){(0,_inherits2.default)(Thumbnail,_Module45);function Thumbnail(props){(0,_classCallCheck2.default)(this,Thumbnail);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Thumbnail).call(this,props));}(0,_createClass2.default)(Thumbnail,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Thumbnail,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:541}}));}}]);return Thumbnail;}(_Module50.default);exports.Thumbnail=Thumbnail;var Title=function(_Module46){(0,_inherits2.default)(Title,_Module46);function Title(props){(0,_classCallCheck2.default)(this,Title);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Title).call(this,props));}(0,_createClass2.default)(Title,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Title,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:549}}));}}]);return Title;}(_Module50.default);exports.Title=Title;var Toast=function(_Module47){(0,_inherits2.default)(Toast,_Module47);function Toast(props){(0,_classCallCheck2.default)(this,Toast);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(Toast).call(this,props));}(0,_createClass2.default)(Toast,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.Toast,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:557}}));}}]);return Toast;}(_Module50.default);exports.Toast=Toast;var ToastContainer=function(_Module48){(0,_inherits2.default)(ToastContainer,_Module48);function ToastContainer(props){(0,_classCallCheck2.default)(this,ToastContainer);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(ToastContainer).call(this,props));}(0,_createClass2.default)(ToastContainer,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.ToastContainer,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:565}}));}}]);return ToastContainer;}(_Module50.default);exports.ToastContainer=ToastContainer;var View=function(_Module49){(0,_inherits2.default)(View,_Module49);function View(props){(0,_classCallCheck2.default)(this,View);return(0,_possibleConstructorReturn2.default)(this,(0,_getPrototypeOf2.default)(View).call(this,props));}(0,_createClass2.default)(View,[{key:"display",value:function display(){return _react.default.createElement(_nativeBase.View,(0,_extends2.default)({},this.props,{__source:{fileName:_jsxFileName,lineNumber:573}}));}}]);return View;}(_Module50.default);exports.View=View;Text.Inputs=_objectSpread({},_Module50.default.Inputs,{fontSize:new _Types.default.Integer(),fontWeight:new _Types.default.Text(),fontFamily:new _Types.default.Text(),letterSpacing:new _Types.default.Integer(),uppercase:new _Types.default.Bool().default(false),content:new _Types.default.Text().default("Hello world!")});Accordion.Inputs=_objectSpread({},_Module50.default.Inputs);Actionsheet.Inputs=_objectSpread({},_Module50.default.Inputs);Body.Inputs=_objectSpread({},_Module50.default.Inputs);Button.Inputs=_objectSpread({},_Module50.default.Inputs,{text:new _Types.default.Text().default("Press me"),onPress:new _Types.default.Action(),block:new _Types.default.Bool(),primary:new _Types.default.Bool(),transparent:new _Types.default.Bool(),success:new _Types.default.Bool(),danger:new _Types.default.Bool(),warning:new _Types.default.Bool(),info:new _Types.default.Bool(),bordered:new _Types.default.Bool(),disabled:new _Types.default.Bool(),rounded:new _Types.default.Bool(),large:new _Types.default.Bool(),small:new _Types.default.Bool(),active:new _Types.default.Bool()});Badge.Inputs=_objectSpread({},_Module50.default.Inputs,{icon:new _Types.default.Text(),text:new _Types.default.Text().require().default("1"),color:new _Types.default.Text().color().require().default("rgba(255,255,255,1)"),primary:new _Types.default.Bool(),success:new _Types.default.Bool(),danger:new _Types.default.Bool(),warning:new _Types.default.Bool(),info:new _Types.default.Bool()});Card.Inputs=_objectSpread({},_Module50.default.Inputs,{header:new _Types.default.Text().default("Header"),body:new _Types.default.Text().default("Lorem ipsum body bla la trapala"),footer:new _Types.default.Text().default("Add footer here"),bodyModules:new _Types.default.Array(new _Types.default.Module()),texts:new _Types.default.Array(new _Types.default.Text())});CardItem.Inputs=_objectSpread({},_Module50.default.Inputs,{header:new _Types.default.Bool(),cardBody:new _Types.default.Bool(),footer:new _Types.default.Bool(),button:new _Types.default.Bool()});Checkbox.Inputs=_objectSpread({},_Module50.default.Inputs,{checked:new _Types.default.Bool()});Container.Inputs=_objectSpread({},_Module50.default.Inputs);Content.Inputs=_objectSpread({},_Module50.default.Inputs,{disableKBDismissScroll:new _Types.default.Bool(),keyboardShouldPersistTaps:new _Types.default.Text(),padder:new _Types.default.Bool()});DatePicker.Inputs=_objectSpread({},_Module50.default.Inputs);DeckSwiper.Inputs=_objectSpread({},_Module50.default.Inputs);Fab.Inputs=_objectSpread({},_Module50.default.Inputs);Footer.Inputs=_objectSpread({},_Module50.default.Inputs);FooterTab.Inputs=_objectSpread({},_Module50.default.Inputs);Form.Inputs=_objectSpread({},_Module50.default.Inputs,{inputs:new _Types.default.Array(new _Types.default.Text()),button:new _Types.default.Text().default('Submit'),onSubmit:new _Types.default.Action()});Gravatar.Inputs=_objectSpread({},_Module50.default.Inputs,{email:new _Types.default.Text().require(),size:new _Types.default.Real(),circular:new _Types.default.Bool(),square:new _Types.default.Bool()});H1.Inputs=_objectSpread({},_Module50.default.Inputs,{},Text.Inputs);H2.Inputs=_objectSpread({},_Module50.default.Inputs,{},Text.Inputs);H3.Inputs=_objectSpread({},_Module50.default.Inputs,{},Text.Inputs);Header.Inputs=_objectSpread({},_Module50.default.Inputs,{searchBar:new _Types.default.Bool(),rounded:new _Types.default.Bool()});IconNB.Inputs=_objectSpread({},_Module50.default.Inputs);Item.Inputs=_objectSpread({},_Module50.default.Inputs,{mod:new _Types.default.Module(),inlineLabel:new _Types.default.Bool(),floatingLabel:new _Types.default.Bool(),stackedLabel:new _Types.default.Bool(),fixedLabel:new _Types.default.Bool(),success:new _Types.default.Bool(),error:new _Types.default.Bool()});Input.Inputs=_objectSpread({},_Module50.default.Inputs,{icon:new _Types.default.Text(),placeholder:new _Types.default.Text()},Item.Inputs);InputGroup.Inputs=_objectSpread({},_Module50.default.Inputs,{regular:new _Types.default.Bool(),underline:new _Types.default.Bool(),rounded:new _Types.default.Bool(),success:new _Types.default.Bool(),error:new _Types.default.Bool(),disabled:new _Types.default.Bool()});Label.Inputs=_objectSpread({},_Module50.default.Inputs,{floatBack:new _Types.default.Real()});Left.Inputs=_objectSpread({},_Module50.default.Inputs);List.Inputs=_objectSpread({},_Module50.default.Inputs);ListItem.Inputs=_objectSpread({},_Module50.default.Inputs,{itemDivider:new _Types.default.Bool(),button:new _Types.default.Bool()});PickerItem.Inputs=_objectSpread({},_Module50.default.Inputs);Radio.Inputs=_objectSpread({},_Module50.default.Inputs,{selected:new _Types.default.Bool(),standardStyle:new _Types.default.Bool()});Right.Inputs=_objectSpread({},_Module50.default.Inputs);Root.Inputs=_objectSpread({},_Module50.default.Inputs);Segment.Inputs=_objectSpread({},_Module50.default.Inputs);Separator.Inputs=_objectSpread({},_Module50.default.Inputs);Spinner.Inputs=_objectSpread({},_Module50.default.Inputs,{color:new _Types.default.Text(),inverse:new _Types.default.Bool()});Subtitle.Inputs=_objectSpread({},_Module50.default.Inputs);SwipeRow.Inputs=_objectSpread({},_Module50.default.Inputs);Switch.Inputs=_objectSpread({},_Module50.default.Inputs);Tab.Inputs=_objectSpread({},_Module50.default.Inputs);TabContainer.Inputs=_objectSpread({},_Module50.default.Inputs);TabHeading.Inputs=_objectSpread({},_Module50.default.Inputs);Textarea.Inputs=_objectSpread({},_Module50.default.Inputs,{placeholder:new _Types.default.Text(),rowSpan:new _Types.default.Real(),bordered:new _Types.default.Bool(),underline:new _Types.default.Bool()});Thumbnail.Inputs=_objectSpread({},_Module50.default.Inputs,{square:new _Types.default.Bool(),circular:new _Types.default.Bool(),size:new _Types.default.Real()});Title.Inputs=_objectSpread({},_Module50.default.Inputs);Toast.Inputs=_objectSpread({},_Module50.default.Inputs);ToastContainer.Inputs=_objectSpread({},_Module50.default.Inputs);View.Inputs=_objectSpread({},_Module50.default.Inputs);var _default={Badge:Badge,Button:Button,Card:Card,Checkbox:Checkbox,Form:Form,H1:H1,H2:H2,H3:H3,IconNB:IconNB,Input:Input,Radio:Radio,Text:Text};exports.default=_default;