import{h as n,o as l,j as o,O as i,M as m,Y as u}from"./index-e47c07e2.js";const h=({workflowMode:c,callbackAceptar:r})=>{const{control:e,handleSubmit:t,formState:a}=n({mode:"onChange",defaultValues:{cuit:""}});return l("form",{onSubmit:t(s=>{r(s)},()=>{u.error("Complete los campos obligatorios"),console.error(a.errors)}),style:{display:"grid",rowGap:"10px"},children:[o(i,{label:"Número de Documento / CUIT",control:e,name:"cuit",type:"number",required:!0,maxValue:1e14}),o(m,{size:"small",variant:"contained",color:"secondary",type:"submit",sx:{width:200,margin:"0 auto",":hover":{}},children:"Aceptar"})]})};export{h as default};
