import{functionType as e,objectType as t,someType as n,stringType as r}from"../../../_util/type.mjs";import i from"../../../input/index.mjs";import{createVNode as a,defineComponent as o}from"vue";import{SearchOutlined as s}from"@antsoo-lib/icons";var c=o({compatConfig:{MODE:3},name:`FilterSearch`,inheritAttrs:!1,props:{value:r(),onChange:e(),filterSearch:n([Boolean,Function]),tablePrefixCls:r(),locale:t()},setup(e){return()=>{let{value:t,onChange:n,filterSearch:r,tablePrefixCls:o,locale:c}=e;return r?a(`div`,{class:`${o}-filter-dropdown-search`},[a(i,{placeholder:c.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,class:`${o}-filter-dropdown-search-input`},{prefix:()=>a(s,null,null)})]):null}}});export{c as default};