import{cJ as f,k as o,cK as c,cL as e}from"./app-D7zH3Nl5.js";const _="hrm_is_self_clocking",S="hrm_show_clock_in_button",h="hrm_show_clock_out_button",r="hrm_clock_in_date_time",O="hrm_clock_in_date_time",g=f("hrm",()=>{const l=o(c(_,!1)),a=o(c(S,!1)),n=o(c(h,!1)),u=o(c(r,void 0)),s=o(c(O,void 0)),i=t=>{l.value=t,e(_,t)},d=t=>{a.value=t?1:0,e(_,a.value)},k=t=>{n.value=t?1:0,e(h,n.value)},m=t=>{u.value=t,e(r,t)},C=t=>{s.value=t,e(O,t)};return{isSelfClocking:l,showClockInButton:a,showClockOutButton:n,clockInDateTime:u,clockOutDateTime:s,updateSelfClocking:i,updateShowClockInButton:d,updateShowClockOutButton:k,updateClockInDateTime:m,updateClockOutDateTime:C,updateSelfClockingAction:()=>{axiosAdmin.get("/hrm/today-attendance-details").then(t=>{i(t.data.self_clocking),d(t.data.show_clock_in_button),k(t.data.show_clock_out_button),m(t.data.clock_in_date_time),C(t.data.clock_out_date_time)})}}});export{g as u};
