"use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:true});exports["default"]=void 0;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 _Module2=_interopRequireDefault(require("../../lib/Module"));var _reactNative=require("react-native");var _Types=_interopRequireDefault(require("../../lib/Types"));var _index=_interopRequireDefault(require("../BaseContainer/index"));var _index2=_interopRequireDefault(require("../Image/index"));var _index3=_interopRequireDefault(require("../Text/index"));var _ViewSystem=_interopRequireDefault(require("../../lib/systems/ViewSystem"));var _jsxFileName="C:\\Users\\Konstanitnos\\Development\\TrapiLib\\modules\\BlogFeed\\index.js";console.log("WHATTTTT");console.log(_index["default"].ctor);var base1=new _ViewSystem["default"](Math.random(),_index["default"].ctor,{},{width:320,height:209},"Base");var base2=new _ViewSystem["default"](Math.random(),_index["default"].ctor,{},{width:320,height:209},"Base2");var Image1=new _ViewSystem["default"](Math.random(),_index2["default"].ctor,{},{width:320,height:209},"IMg");var Text1=new _ViewSystem["default"](Math.random(),_index3["default"].ctor,"anmee",{});var BlogFeed=function(_Module){(0,_inherits2["default"])(BlogFeed,_Module);function BlogFeed(props){var _this;(0,_classCallCheck2["default"])(this,BlogFeed);_this=(0,_possibleConstructorReturn2["default"])(this,(0,_getPrototypeOf2["default"])(BlogFeed).call(this,props));_this.isTemplate=true;_this.configure();return _this;}(0,_createClass2["default"])(BlogFeed,[{key:"configure",value:function configure(){if(this.props.CoreSystem){var _View=this.props.CoreSystem.getCurrentView();var node=_View.getNode(this.props.NodeID);if(!_View.has(base1)){_View.addViewNode(base1,node);};if(!_View.has(base2.id))_View.addViewNode(base2,node);if(!_View.has(Image1.id))_View.addViewNode(Image1,base1);if(!_View.has(Text1.id))_View.addViewNode(Text1,base2);}}},{key:"display",value:function display(){return _react["default"].createElement(_reactNative.View,{__source:{fileName:_jsxFileName,lineNumber:48}});}}]);return BlogFeed;}(_Module2["default"]);exports["default"]=BlogFeed;BlogFeed.Inputs={};