import{j as a}from"./app-eaa32a4a.js";import{S as o}from"./auth-e5508dcf.js";import{D as e}from"./index-a5b8701f.js";function n(n){const{options:s,className:l,clearable:p,customClear:t,multiple:r,filterable:i,autoWidth:u,popupProps:m,name:c,value:h}=n,f=u??!0,C=m??{},j=i??!1,x=t??!1,g=c??"";return a.jsx(o,{className:l,value:h,clearable:p,filterable:j,autoWidth:f,popupProps:C,multiple:r,onChange:a=>{n.onChange&&n.onChange(a,g)},options:s,suffix:x?a.jsx("span",{onClick:()=>{n.onChange&&n.onChange("",g)},children:a.jsx(e,{})}):null})}export{n as C};
