(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-367c972c"],{"252b":function(t,s,e){"use strict";e("7d63")},"2e34":function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("tr",["select"==t.config.mode?e("wi-list-data-table-actions",{attrs:{config:t.config,props:t.props}}):e("td",{staticClass:"justify-left"},[e("v-btn",{attrs:{icon:""},on:{click:function(s){t.hostDetailDialog=!0}}},[e("v-icon",{attrs:{color:"primary"}},[t._v("visibility")])],1),e("HostDetailDialog",{attrs:{host:t.props.item},on:{refresh:t.refresh},model:{value:t.hostDetailDialog,callback:function(s){t.hostDetailDialog=s},expression:"hostDetailDialog"}})],1),e("td",{staticClass:"justify-left"},[t.props.item.mac_address||t.props.item.serial?e("span",[t.props.item.mac_address?e("span",[t._v(t._s(t.props.item.mac_address||"- - -"))]):t._e(),t.props.item.mac_address&&t.props.item.serial?e("br"):t._e(),t.props.item.serial?e("span",[t._v(t._s(t.props.item.serial||"- - -"))]):t._e()]):e("span",[t.props.item.identification?e("span",[t._v(t._s(t.props.item.identification.replace("@","")))]):t._e()])]),e("td",{staticClass:"justify-left"},[e("span",[t._v(t._s(t.props.item.ip_address||"- - -"))])]),e("td",{staticClass:"justify-left",staticStyle:{cursor:"pointer","font-size":"23px"}},[e("HostSignalDialog",{attrs:{host:t.props.item},on:{refresh:t.refresh}},[t.props.item.online?e("span",[e("strong",{style:{color:t.props.item.signal_is_ok?"green":"orange"}},[t._v(" "+t._s(t.props.item.signal||"- - -")+" ")])]):e("span",{staticStyle:{"font-size":"18px",color:"red"}},[t.props.item&&t.props.item.complement&&t.props.item.complement.status?e("strong",{staticStyle:{"font-size":"15px",color:"orange"}},[1==t.props.item.complement.status||"undefined"==t.props.item.complement.status?e("span",{staticStyle:{"font-size":"18px",color:"red"}},[t._v(" Offline ")]):2==t.props.item.complement.status||"LOS"==t.props.item.complement.status?e("span",[t._v(" Link Loss ")]):3==t.props.item.complement.status||"DyingGasp"==t.props.item.complement.status?e("span",[t._v(" DiyngGasp ")]):e("span",{staticStyle:{"font-size":"18px",color:"red"}},[t._v(" Offline ")])]):e("span",{staticStyle:{"font-size":"18px",color:"red"}},[t._v(" Offline ")])])])],1),e("td",{staticClass:"justify-left"},[e("v-icon",{attrs:{color:t.props.item.technology.color,small:""}},[t._v(t._s(t.props.item.technology.icon))]),e("strong",[t._v(" "+t._s(t.props.item.technology.name||"- - -"))])],1),e("td",{staticClass:"justify-left"},[e("strong",[t._v(t._s(t.props.item.producer.name||"- - -"))]),e("br"),e("span",[t._v(t._s(t.props.item.producer_model.name||"- - -"))])]),e("td",{staticClass:"justify-left"},[t.props.item.active_devices[0]?e("strong",[t._v(t._s(t.props.item.active_devices[0].nome_disp))]):e("strong",[t._v("- - -")]),e("br"),t.props.item.active_devices[0]&&t.props.item.active_devices[0].network?e("span",[t._v(t._s(t.props.item.active_devices[0].network.name))]):e("span",[t._v("- - -")])]),e("td",{staticClass:"justify-left"},[t.props.item.active_childs&&t.props.item.active_childs.length>0?e("div",t._l(t.props.item.active_childs,(function(s,i){return e("div",{key:s.id},[e(i?"span":"strong",[t._v(t._s(s.type.name)+": "+t._s(s.name))])])})),0):e("span",[t._v("- - -")])]),e("td",{staticClass:"justify-left"},[e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(s){var i=s.on;return[e("div",t._g({},i),[e("span",[t._v(t._s(t.checkedAt.current))])])]}}])},[e("span",[t._v(t._s(t.checkedAt.dateTime))])])],1)],1)},o=[],a=e("b481"),n=e("b150"),p=e("326e"),r=e("77db"),l={name:"Hosts",data:function(){return{hostDetailDialog:!1,pingDialog:{active:!1,host:null,server:null}}},computed:{checkedAt:function(){return a["a"].format(this.props.item.checked_at)}},methods:{pingDialogAction:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.pingDialog.host=e,this.pingDialog.server=s,this.pingDialog.active=t},pingIsAvaiable:function(){return!1},refresh:function(){this.config.refresh()}},props:{config:Object,props:Object},components:{WiListDataTableActions:n["a"],HostSignalDialog:p["a"],HostDetailDialog:r["a"]}},c=l,m=(e("252b"),e("2877")),_=Object(m["a"])(c,i,o,!1,null,null,null);s["default"]=_.exports},"7d63":function(t,s,e){}}]); //# sourceMappingURL=chunk-367c972c.29a10a55.js.map