import{d as n,f as l,j as o,O as m,m as i,_ as u}from"./index-4e7882bc.js";const f=({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(m,{label:"Número de Documento / CUIT",control:e,name:"cuit",type:"number",required:!0,maxValue:1e14}),o(i,{size:"small",variant:"contained",color:"secondary",type:"submit",sx:{width:200,margin:"0 auto",":hover":{}},children:"Aceptar"})]})};export{f as default};
