import{i}from"./emotion-use-insertion-effect-with-fallbacks.browser.esm-2ce7a1bc.js";import{j as m,a as o}from"./Tooltip-5ec3092e.js";import{h as n,O as l,z as u}from"./index-76588cc8.js";const{Button:c}=await i("@mui/material"),S=({workflowMode:d,callbackAceptar:r})=>{const{control:e,handleSubmit:t,formState:a}=n({mode:"onChange",defaultValues:{cuit:""}});return m("form",{onSubmit:t(s=>{r(s)},()=>{u.error("Complete los campos obligatorios"),console.error(a.errors)}),style:{display:"grid",rowGap:"10px"},children:[o(l,{label:"Número de Documento / CUIT",control:e,name:"cuit",type:"number",required:!0,maxValue:1e14}),o(c,{size:"small",variant:"contained",color:"secondary",type:"submit",sx:{width:200,margin:"0 auto",":hover":{}},children:"Aceptar"})]})};export{S as default};
