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