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