import{s as c,t as k,r as d,o as V,k as y,l as f,f as r,d as i,e as n}from"./app-44623493.js";const U={class:"grid grid-cols-3 gap-6"},w={class:"col-span-3 sm:col-span-2"},v={class:"col-span-3 sm:col-span-2"},C={class:"col-span-3 sm:col-span-2"},$={class:"col-span-3 sm:col-span-2"},_={class:"col-span-3 sm:col-span-2"},B={class:"col-span-3 sm:col-span-2"},F={name:"ConfigSocialNetworkForm"},E=Object.assign(F,{setup(N){const u="config/",l=c(u),p={facebook:"",twitter:"",google:"",linkedin:"",youtube:"",github:"",type:"social_network"},t=k({...p});return(a,o)=>{const g=d("CardHeader"),s=d("BaseInput"),m=d("FormAction"),b=d("ConfigPage");return V(),y(b,null,{default:f(()=>[r(m,{"no-card":"","init-url":u,"data-fetch":"social_network","init-form":p,form:t,action:"store","stay-on":"",redirect:"Config"},{default:f(()=>[r(g,{first:"",title:a.$trans("config.social.social_config"),description:a.$trans("config.social.social_info")},null,8,["title","description"]),i("div",U,[i("div",w,[r(s,{type:"text","leading-icon":"fab fa-facebook",modelValue:t.facebook,"onUpdate:modelValue":o[0]||(o[0]=e=>t.facebook=e),name:"facebook",label:a.$trans("config.social.props.facebook"),error:n(l).facebook,"onUpdate:error":o[1]||(o[1]=e=>n(l).facebook=e),autofocus:""},null,8,["modelValue","label","error"])]),i("div",v,[r(s,{type:"text","leading-icon":"fab fa-twitter",modelValue:t.twitter,"onUpdate:modelValue":o[2]||(o[2]=e=>t.twitter=e),name:"twitter",label:a.$trans("config.social.props.twitter"),error:n(l).twitter,"onUpdate:error":o[3]||(o[3]=e=>n(l).twitter=e)},null,8,["modelValue","label","error"])]),i("div",C,[r(s,{type:"text","leading-icon":"fab fa-google",modelValue:t.google,"onUpdate:modelValue":o[4]||(o[4]=e=>t.google=e),name:"google",label:a.$trans("config.social.props.google"),error:n(l).google,"onUpdate:error":o[5]||(o[5]=e=>n(l).google=e)},null,8,["modelValue","label","error"])]),i("div",$,[r(s,{type:"text","leading-icon":"fab fa-linkedin",modelValue:t.linkedin,"onUpdate:modelValue":o[6]||(o[6]=e=>t.linkedin=e),name:"linkedin",label:a.$trans("config.social.props.linkedin"),error:n(l).linkedin,"onUpdate:error":o[7]||(o[7]=e=>n(l).linkedin=e)},null,8,["modelValue","label","error"])]),i("div",_,[r(s,{type:"text","leading-icon":"fab fa-youtube",modelValue:t.youtube,"onUpdate:modelValue":o[8]||(o[8]=e=>t.youtube=e),name:"youtube",label:a.$trans("config.social.props.youtube"),error:n(l).youtube,"onUpdate:error":o[9]||(o[9]=e=>n(l).youtube=e)},null,8,["modelValue","label","error"])]),i("div",B,[r(s,{type:"text","leading-icon":"fab fa-github",modelValue:t.github,"onUpdate:modelValue":o[10]||(o[10]=e=>t.github=e),name:"github",label:a.$trans("config.social.props.github"),error:n(l).github,"onUpdate:error":o[11]||(o[11]=e=>n(l).github=e)},null,8,["modelValue","label","error"])])])]),_:1},8,["form"])]),_:1})}}});export{E as default};
