let e=require("vue"),t=require("@antsoo-lib/icons");function n(n,r={}){let{loading:i,multiple:a,prefixCls:o,hasFeedback:s,feedbackIcon:c,showArrow:l}=n,u=n.suffixIcon||r.suffixIcon&&r.suffixIcon(),d=n.clearIcon||r.clearIcon&&r.clearIcon(),f=n.menuItemSelectedIcon||r.menuItemSelectedIcon&&r.menuItemSelectedIcon(),p=n.removeIcon||r.removeIcon&&r.removeIcon(),m=d??(0,e.createVNode)(t.CloseCircleFilled,null,null),h=t=>(0,e.createVNode)(e.Fragment,null,[l!==!1&&t,s&&c]),g=null;if(u!==void 0)g=h(u);else if(i)g=h((0,e.createVNode)(t.LoadingOutlined,{spin:!0},null));else{let n=`${o}-suffix`;g=({open:r,showSearch:i})=>h(r&&i?(0,e.createVNode)(t.SearchOutlined,{class:n},null):(0,e.createVNode)(t.DownOutlined,{class:n},null))}let _=null;_=f===void 0?a?(0,e.createVNode)(t.CheckOutlined,null,null):null:f;let v=null;return v=p===void 0?(0,e.createVNode)(t.CloseOutlined,null,null):p,{clearIcon:m,suffixIcon:g,itemIcon:_,removeIcon:v}}exports.default=n;