import{j as t,o as c,fA as _,fB as p,aH as m,fC as u}from"./index-CNnTZTc7.js";const C="_container_a0u0w_88",T="_errorText_a0u0w_92",b="_label_a0u0w_97",f="_textField_a0u0w_101",e={container:C,errorText:T,label:b,textField:f},h=({autoFocus:r,defaultValue:a,disablePattern:s=!1,error:o,id:l,labelText:n,register:i,required:x=!0,className:d=""})=>t.jsx("div",{className:`${e.container} ${d}`,children:t.jsx(c,{autoFocus:r,defaultValue:a,error:o,errorMessage:_,errorMessagePattern:p,errorTextClassName:e.errorText,InputProps:{maxLength:5},fieldClassName:e.textField,id:l,labelClassName:e.label,labelText:n,pattern:s&&m,placeholder:u,register:i,required:x,type:"text"})});export{h as Z}; //# sourceMappingURL=index-DGhinOqI.js.map