import{h as n,o as l,j as o,O as i,K as m,W as u}from"./index-7722cded.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};
