webpackHotUpdate(0,{

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

"use strict";
eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_react__ = __webpack_require__(5);\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__Input__ = __webpack_require__(209);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__lib_model_helper__ = __webpack_require__(31);\n\n\n\n\nconst Inputs = ({ inputs, instance }) => {\n  const typeClass = instance.getModelEntity().typeDefinition.metaClassName();\n\n  let content;\n  if (inputs.length > 0) {\n    content = inputs.map((input, i) => __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(__WEBPACK_IMPORTED_MODULE_1__Input__[\"a\" /* default */], { key: i, port: input, 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_2__lib_model_helper__[\"a\" /* getType */])(typeClass),\n      ' has no input port'\n    );\n  }\n\n  return __WEBPACK_IMPORTED_MODULE_0_react___default.a.createElement(\n    'div',\n    { className: 'inputs' },\n    content\n  );\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inputs);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjE4LmpzIiwic291cmNlcyI6WyJ3ZWJwYWNrOi8vL2Jyb3dzZXItdGVzdGVyL3NyYy9jb21wb25lbnRzL0lucHV0cy9pbmRleC5qcz9hZTA5Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgSW5wdXQgZnJvbSAnLi4vSW5wdXQnO1xuaW1wb3J0IHsgZ2V0VHlwZSB9IGZyb20gJy4uLy4uL2xp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