import{_ as h}from"./tslib.es6-CxX45GIN-BGVaTf34.js";import{h as r,F as y}from"./index-B6uGkrgD.js";import{a as f,i as k,d as B}from"./FormFieldStateWrapper-BZKfIiSI-z8H1tm5r.js";import{c as q}from"./clsx-COFh-Vc8-D7cYsJM5.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--${f(s)}`]:k(s,o)},m=Object.assign(Object.assign({class:q("kol-input",b,d),required:a,disabled:t,readonly:i,type:"text",list:l?`${n.id}-list`:void 0},B({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-CAM62iia-epLb7Zdb.js.map
