import{i}from"./emotion-use-insertion-effect-with-fallbacks.browser.esm-6809063d.js";import{j as m,a as o}from"./Tooltip-ae8d7992.js";import{h as n,O as l,z as u}from"./index-dfa17bed.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};
