import{u as h,q as P,s as b,c as F,t as l,r as t,o as q,a as j,f as a,e as s,l as d,F as R,d as u}from"./app-44623493.js";const x=u("div",{class:"grid grid-cols-3 gap-4"},[u("div",{class:"col-span-3 sm:col-span-1"})],-1),y={name:"LeaveConfigGeneral"},L=Object.assign(y,{setup(B){const m=h(),e=P("$trans"),o="config/";b(o),F(()=>e("global.placeholder_info",{attribute:n.datePlaceholders}));const n=l({datePlaceholders:""}),r={type:"leave"},p=l({...r}),_=c=>{Object.assign(n,{datePlaceholders:c.datePlaceholders.map(i=>i.value).join(", ")})};return(c,i)=>{const f=t("PageHeader"),v=t("FormAction"),g=t("ParentTransition");return q(),j(R,null,[a(f,{title:s(e)(s(m).meta.label),navs:[{label:s(e)("leave.leave"),path:"Leave"}]},null,8,["title","navs"]),a(g,{appear:"",visibility:!0},{default:d(()=>[a(v,{"pre-requisites":{data:["datePlaceholders"]},onSetPreRequisites:_,"init-url":o,"data-fetch":"leave",action:"store","init-form":r,form:p,"stay-on":"",redirect:"Leave"},{default:d(()=>[x]),_:1},8,["form"])]),_:1})],64)}}});export{L as default};
