import{_ as h}from"./tslib.es6-CxX45GIN-BGVaTf34.js";import{h as r,F as y}from"./index-CekivK6a.js";import{c as f}from"./clsx-eK3rPvPS-B-dksMZM.js";import{a as k,i as B,d as q}from"./FormFieldStateWrapper-Cf_RJjk4-q7yAB1xU.js";const F=e=>{const{class:d,msg:s,required:a,disabled:t,touched:o,readonly:i,ariaDescribedBy:u,hideLabel:c,label:p,suggestions:l,value:g}=e,n=h(e,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),b={"kol-input--disabled":!!t,"kol-input--required":!!a,"kol-input--touched":!!o,"kol-input--readonly":!!i,[`kol-input--${k(s)}`]:B(s,o)},m=Object.assign(Object.assign({class:f("kol-input",b,d),required:a,disabled:t,readonly:i,type:"text",list:l?`${n.id}-list`:void 0},q({ariaDescribedBy:u,hideLabel:c,label:p})),n);return r(y,null,r("input",Object.assign({},m,{value:g})),l)};export{F as I};
//# sourceMappingURL=Input-1fuGBx3I-C1t2--at.js.map
