webpackHotUpdate(0,{

/***/ 212:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_react__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types__ = __webpack_require__(223);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_prop_types__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__Output__ = __webpack_require__(213);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__lib_model_helper__ = __webpack_require__(22);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__outputs_css__ = __webpack_require__(215);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__outputs_css___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_4__outputs_css__);\n\n\n\n\n\n\n\nconst Inputs = ({ outputs, instance }) => {\n  const typeClass = instance.getModelEntity().typeDefinition.metaClassName();\n\n  let content;\n  if (outputs.length > 0) {\n    content = outputs.map((output, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_2__Output__[\"a\" /* default */], { key: i, port: output, instance: instance }));\n  } else {\n    content = __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n      'em',\n      { className: 'muted' },\n      'This ',\n      Object(__WEBPACK_IMPORTED_MODULE_3__lib_model_helper__[\"a\" /* getType */])(typeClass),\n      ' has no output port'\n    );\n  }\n\n  return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n    'div',\n    { className: 'outputs' },\n    content\n  );\n};\n\nInputs.propTypes = {\n  outputs: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.array.isRequired,\n  instance: __WEBPACK_IMPORTED_MODULE_1_prop_types___default.a.object.isRequired\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inputs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjEyLmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL091dHB1dHMvaW5kZXguanM/ZDQ2ZSJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IFByb3BUeXBlcyBmcm9tICdwcm9wLXR5cGVzJztcbmltcG9ydCBPdXRwdXQgZnJvbSAnLi4vT3V0cHV0JztcbmltcG9ydCB7IGdldFR5cGUgfSBmcm9tICcuLi8uLi9saWIvbW9kZWwtaGVscGVyJztcblxuaW1wb3J0ICcuL291dHB1dHMuY3NzJztcblxuY29uc3QgSW5wdXRzID0gKHsgb3V0cHV0cywgaW5zdGFuY2UgfSkgPT4ge1xuICBjb25zdCB0eXBlQ2xhc3MgPSBpbnN0YW5jZS5nZXRNb2RlbEVudGl0eSgpLnR5cGVEZWZpbml0aW9uLm1ldGFDbGFzc05hbWUoKTtcblxuICBsZXQgY29udGVudDtcbiAgaWYgKG91dHB1dHMubGVuZ3RoID4gMCkge1xuICAgIGNvbnRlbnQgPSBvdXRwdXRzLm1hcCgob3V0cHV0LCBpKSA9PiAoXG4gICAgICA8T3V0cHV0IGtleT17aX0gcG9ydD17b3V0cHV0fSBpbnN0YW5jZT17aW5zdGFuY2V9IC8+XG4gICAgKSk7XG4gIH0gZWxzZSB7XG4gICAgY29udGVudCA9IDxlbSBjbGFzc05hbWU9XCJtdXRlZFwiPlRoaXMge2dldFR5cGUodHlwZUNsYXNzKX0gaGFzIG5vIG91dHB1dCBwb3J0PC9lbT47XG4gIH1cblxuICAgIHJldHVybiA8ZGl2IGNsYXNzTmFtZT1cIm91dHB1dHNcIj57Y29udGVudH08L2R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