import{_ as n,d as a,c as o,f as s,t as i,o as t}from"./app-D7zH3Nl5.js";const r=a({props:{user:{type:Object,default:{}},whereToShow:{type:String,default:"table"},vislble:{default:!1}}}),d={key:0},l={key:0},p={style:{display:"flex",alignItems:"center",borderRadius:"10px",maxWidth:"300px",width:"100%"}},c={class:"profile-image"},u=["src","alt"],m={class:"profile-info"},_={style:{marginTop:"0px",marginBottom:"0px",paddingTop:"0px",paddingBottom:"0px",fontSize:"14px"}},h={key:1},f={class:"profile-widget"},g={class:"profile-image"},v=["src","alt"],y={class:"profile-info"},b={class:"name"},w={class:"designation"},k={key:1};function B(e,S,$,T,j,D){return e.user?(t(),o("div",d,[e.whereToShow!="table"?(t(),o("div",l,[s("div",p,[s("div",c,[s("img",{style:{bordeRadius:"50%",width:"20px",height:"20px",objectFit:"cover"},src:e.user.profile_image_url,alt:e.user.name},null,8,u)]),s("div",m,[s("span",_,i(e.user.name),1)])])])):(t(),o("div",h,[s("div",f,[s("div",g,[s("img",{src:e.user.profile_image_url,alt:e.user.name},null,8,v)]),s("div",y,[s("span",b,i(e.user.name),1),s("p",w,i(e.user.designation&&e.user.designation.name?e.user.designation.name:"")+" "+i(e.user.location&&e.user.location.name?e.user.designation&&e.user.designation.name?` - ${e.user.location.name}`:e.user.location.name:""),1)])])]))])):(t(),o("div",k,"-"))}const U=n(r,[["render",B]]);export{U};
