import{b as o,j as r,T as l,s as x,A as j,I as m,L as u,c as T}from"./index-n-59FgrC.js";const p=({value:t,onChange:s,loading:a,...c})=>{const{t:i}=o();return r.jsx(l,{placeholder:i("common.action.searchTask"),variant:"filled",leftSection:t&&a?r.jsx(u,{size:16}):r.jsx(T,{size:16}),className:x.root,value:t,onChange:e=>s==null?void 0:s(e.currentTarget.value),rightSection:t&&r.jsx(j,{variant:"subtle",color:"gray",radius:"md","aria-label":"Clear",onClick:()=>s==null?void 0:s(""),children:r.jsx(m,{size:16,color:"gray"})}),...c})};export{p as T};
