import{l as o,j as r,T as l,n as x,q as j,I as m,L as u,v as T}from"./index-DTC0Ed21.js";const n=({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{n as T};
