import{_ as f,d as O,a1 as k,a6 as h,a2 as y,e as n,h as $,w as t,i as a,t as l,g as r,b as c,o as s}from"./app-D7zH3Nl5.js";import{C as g}from"./CarOutlined-C7zs3FYv.js";import{C as b}from"./CalendarOutlined-m89BWwmS.js";import{C as v}from"./index-DzAtlijK.js";import{T as E}from"./index-ClJ_H-9Y.js";const N=O({props:["status"],components:{ClockCircleOutlined:v,CheckCircleOutlined:y,ExclamationCircleOutlined:h,CloseCircleOutlined:k,CalendarOutlined:b,CarOutlined:g},setup(e,{emit:d}){return{}}});function T(e,d,V,w,A,B){const u=c("CheckCircleOutlined"),o=E,C=c("CarOutlined"),p=c("CloseCircleOutlined"),i=c("CalendarOutlined"),m=c("ExclamationCircleOutlined"),_=c("ClockCircleOutlined");return e.status=="present"?(s(),n(o,{key:0,color:"success"},{icon:t(()=>[r(u)]),default:t(()=>[a(" "+l(e.$t("attendance.present")),1)]),_:1})):e.status=="on_leave"?(s(),n(o,{key:1,color:"error"},{icon:t(()=>[r(C)]),default:t(()=>[a(" "+l(e.$t("attendance.on_leave")),1)]),_:1})):e.status=="absent"?(s(),n(o,{key:2,color:"error"},{icon:t(()=>[r(p)]),default:t(()=>[a(" "+l(e.$t("attendance.absent")),1)]),_:1})):e.status=="holiday"?(s(),n(o,{key:3,color:"processing"},{icon:t(()=>[r(i)]),default:t(()=>[a(" "+l(e.$t("attendance.holiday")),1)]),_:1})):e.status=="half_holiday"?(s(),n(o,{key:4,color:"red"},{icon:t(()=>[r(i)]),default:t(()=>[a(" "+l(e.$t("attendance.half_holiday")),1)]),_:1})):e.status=="not_marked"?(s(),n(o,{key:5,color:"default"},{icon:t(()=>[r(m)]),default:t(()=>[a(" "+l(e.$t("attendance.not_marked")),1)]),_:1})):e.status=="half_day"?(s(),n(o,{key:6,color:"orange"},{icon:t(()=>[r(_)]),default:t(()=>[a(" "+l(e.$t("attendance.half_day")),1)]),_:1})):$("",!0)}const F=f(N,[["render",T]]);export{F as A};
