(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-427eb880"],{2984:function(s,t,e){"use strict";e("ab91")},5279:function(s,t,e){"use strict";e.r(t);var n=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("tr",{class:{"persons__row-inactive":"inactive"==s.props.item.status}},[e("wi-list-data-table-actions",{attrs:{config:s.config,props:s.props}}),e("td",{staticClass:"justify-left",style:{cursor:"pointer"},on:{click:function(t){return s.openPerson()}}},[s._v(" "+s._s(s.props.item.id)+" ")]),e("td",{staticClass:"justify-left",style:{cursor:"select"!=s.config.mode?"pointer":""},on:{click:function(t){return s.openPerson()}}},[e("strong",[s._v(s._s(s.props.item.first_name||"-"))]),e("br"),e("span",{staticStyle:{color:"gray"}},[s._v(" "+s._s(s.props.item.name||"-")+" ")])]),e("td",{staticClass:"justify-left",style:{cursor:"select"!=s.config.mode?"pointer":""},on:{click:function(t){return s.openPerson()}}},[s.props.item.birthday?e("span",[e("span",[s._v(s._s(s.props.item.birthday_format))]),e("br"),s.props.item.ages?e("span",[s._v(s._s(s.props.item.ages)+" anos")]):s._e()]):e("span",[s._v("- - -")])]),e("td",{staticClass:"justify-left",style:{cursor:"select"!=s.config.mode?"pointer":""},on:{click:function(t){return s.openPerson()}}},[s.props.item.cpf_cnpj||s.props.item.rg?e("span",[e("span",[s._v(s._s(s.props.item.cpf_cnpj||"- - -"))]),e("br"),e("span",[s._v(s._s(s.props.item.rg||"- - -"))])]):e("span",[s._v("- - -")])]),e("td",{staticClass:"justify-center",style:{cursor:"select"!=s.config.mode?"pointer":""},on:{click:function(t){return s.openPerson()}}},["active"==s.props.item.status?e("span",{staticClass:"persons__status persons__status--active"},[s._v(" Ativo ")]):e("span",{staticClass:"persons__status persons__status--inactive"},[s._v(" Inativo ")])])],1)},o=[],i=e("b150"),r={name:"Patients",methods:{openPerson:function(){if("select"!=this.config.mode){var s=this.config.config.urlDetails;s.params["id"]=this.props.item.id,this.$router.push(s)}}},props:{config:Object,props:Object},components:{WiListDataTableActions:i["a"]}},p=r,c=(e("2984"),e("2877")),a=Object(c["a"])(p,n,o,!1,null,"66c86f71",null);t["default"]=a.exports},ab91:function(s,t,e){}}]); //# sourceMappingURL=chunk-427eb880.f26828c1.js.map